Tagged: x
-
AuthorPosts
-
July 29, 2016 at 3:22 pm #1109327
mvcarpenterParticipantMy blog page does not have the header showing and I am not sure why. http://creativep-o.com/newsblog/
Right now I have an under construction plugin on. This is the last step to finishing the site.
July 29, 2016 at 3:27 pm #1109337
mvcarpenterParticipantCorrection, the under construction page is no longer up
July 29, 2016 at 3:34 pm #1109360
mvcarpenterParticipantThis reply has been marked as private.July 29, 2016 at 4:59 pm #1109433
mvcarpenterParticipantI seem to have fixed it by removing
!is_home() &&from<?php if ( !is_home() && !is_front_page() ) : ?> <?php if ( is_page() && $disable_page_title == 'on' ) : ?>Seems a little backwards to me, I thought is_front_page was for the blog page and is_home was for the home page. Maybe I remember it a little wrong!
This is for the file
wp-content/themes/x-child/framework/views/renew/_landmark-header.phpJuly 29, 2016 at 8:07 pm #1109673
Rue NelModeratorHello There,
Thanks for writing in!
is_front_page()returns true if the user is on the page or page of posts that is set to the front page onSettings->Reading->Front page displaysSo if you set about us as the front page then this conditional will only be true if showing the about us page.
is_home()return true when on the posts list page, This is usually the page that shows the latest 10 posts.If the settings under Front page displays are left at default then the home page will return true for both
is_front_page()andis_home()For more information, please check the codex:
https://codex.wordpress.org/Function_Reference/is_front_page
https://codex.wordpress.org/Function_Reference/is_homeHope this explains it.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1109327 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
