projects
/
WP-Themes
/
greatlakescfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81ad764
)
fixing page template conditional that was using && is_front_page
author
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 12 May 2017 15:13:36 +0000
(11:13 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 12 May 2017 15:13:36 +0000
(11:13 -0400)
changed && for || in the template checking on main-content so that the template
can be used in interior pages
parts/main-content.php
patch
|
blob
|
history
diff --git
a/parts/main-content.php
b/parts/main-content.php
index
c846197
..
d7251a2
100644
(file)
--- a/
parts/main-content.php
+++ b/
parts/main-content.php
@@
-1,4
+1,4
@@
-<?php if ( $index_template === false) { ?>
+<?php if (
is_front_page() ||
$index_template === false) { ?>
<div id="main-content" class="small-12 columns">
<?php if(have_posts()) : while(have_posts()): the_post();?>
<?php the_content();?>