Hi I’m trying to add some code to allow custom meta boxes on my wordpress site:
github: https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress
It states that I need to include the supplied init.php on the init wordpress hook, but I’m just wondering how to go about this?
Thank you!
the above code goes in theme’s functions.php file. You have to correct the path to
init.php
file. The example above assumes the path as[theme_directory]/metabox/init.php