The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › Page in child theme not working
I have duplicated 3 pages in wordpress and moved them to the child theme. Two work, one doesn’t.
Any idea why this would be? They are all in the same location.
Could be a lot of things, really. We’ll need a little more information, template names, types, URLs, etc.
….and post links to your site. :)
These are 2 sections on the home page.
This one works.
$zerif_ourteam_show = get_theme_mod('zerif_ourteam_show');
if( isset($zerif_ourteam_show) && $zerif_ourteam_show != 1 ):
include get_template_directory() . "/sections/our_team.php";
This one doesn’t.
$rb_aboutyou_show = get_theme_mod('rb_aboutyou_show');
if( isset($rb_aboutyou_show) && $rb_aboutyou_show != 1 ):
include get_stylesheet_directory() . "/sections/about_you.php";