Issue with file paths after porting metabox from main theme to child theme
I found the answer my self, the issue had to do with a line requesting the content of the metabox (as expected). The line: ‘template’ => get_template_directory() . ‘/lib/metaboxes/custom_textbox.php’, should have been changed to: ‘template’ => get_stylesheet_directory() . ‘/lib/metaboxes/custom_textbox.php’, According (to the WordPress Codex) will get the path for the main theme. If you want … Read more