Unable to give correct path in wordpress
Use: get_template_directory() and or get_stylesheet_directory() E.g. in zumper/layouts/america.php <?php include get_template_directory() . ‘/inc/york.php’; //etc… Note: get_template_directory Retrieves the absolute path to the directory of the current theme. get_stylesheet_directory Retrieve stylesheet directory Path for the current theme/child theme. So if your theme is a child theme and or you want to provide the ability for a … Read more