- This topic has 1 reply, 2 voices, and was last updated 4 months, 2 weeks ago by .
I'm using Include/Exclude to include meta boxes on a frontend form, while making sure they don't show up on the form in the admin area (which already has the fields provided by a plugin). The meta boxes display properly based on the include parameters, but a few field types won't save unless I remove the Include/Exclude code.
Image select/upload, date and datetime all fail to save when using Include/Exclude code, even though they display properly.
The only Include/Exclude code I am using on the meta boxes is:
'include' => array( 'template' => array( 'template-single-form.php' ) ),
If I remove the Include/Exclude code, the fields save fine, but then I end up with those meta boxes showing up on the admin form, which I can't have since those fields already exist on the admin form.
Any ideas of how to get this to work? Thanks
- You must be logged in to reply to this topic.