Fix previous commit - add '-template' to template string
authorLaury GvR <laury@gaslightmedia.com>
Fri, 15 Feb 2019 22:27:09 +0000 (17:27 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 15 Feb 2019 22:27:09 +0000 (17:27 -0500)
sections/interior-page.php

index cce743a..6e76253 100644 (file)
@@ -5,7 +5,7 @@
     $template = str_replace( ".php", "", get_page_template_slug( $post->ID ) );
     // All child pages of the counties page default to using the county-page template
     if ( $template == "" && is_in_tree( COUNTIES_PAGE_ID ) ) {
-        $template = "county-page";
+        $template = "county-page-template";
     }
 ?>
 <main class="page-inside <?php echo ($template ?: 'default-template');?>">