projects
/
WP-Themes
/
uptravel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afbed22
)
Fix previous commit - add '-template' to template string
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 15 Feb 2019 22:27:09 +0000
(17:27 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 15 Feb 2019 22:27:09 +0000
(17:27 -0500)
sections/interior-page.php
patch
|
blob
|
history
diff --git
a/sections/interior-page.php
b/sections/interior-page.php
index
cce743a
..
6e76253
100644
(file)
--- a/
sections/interior-page.php
+++ b/
sections/interior-page.php
@@
-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');?>">