Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Adding Custom Fields Meta Box to a page based on whether it's using a certain page template or not #9

Open
naifamoodi opened this issue Jun 30, 2013 · 0 comments

Comments

@naifamoodi
Copy link

This is a feature request but I would first like to start off by saying that I think your plugin is the best one out there! I had thoroughly reviewed all other such plugins before I settled with this one.

The feature request I have pertains to adding a custom fields meta box to Pages depending on whether a page uses a certain Page Template. I tried using the following by adding it to the theme's functions.php file:

http://pastebin.com/NixSzd83

This does render the form on a page with the selected page template however it doesn't save any of the fields.

I am guessing this is because the _save method of class kcSettings_post isn't aware of these fields as having been registered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant