How to have individual settings for each page ?

wordpress

#1

Hi all,
I am coding a wp theme to be published in themeforest, and I need to give the final user the possibility to choose settings for each page, for example, when he edits a page in the dashboard, he have the option to change the navbar color, that option applies only to the page he is editing, not to all pages. Optiontree doesn’t seem to give that kind of possibilities, how can I make this? would gladly appreciate any help.


#2

Use post meta


#3

Can you please explain ?


#4

use a framework such as https://github.com/WebDevStudios/CMB2 or build your own using a tutorial such as https://premium.wpmudev.org/blog/creating-meta-boxes/

Post meta allow you to add custom content boxes (like featured post feature etc) on pages / posts or custom post types which you can then use on the frontend or in theme files.


#5

Gareth_Gillman thank you, that is really helpful !