- This topic has 30 replies, 3 voices, and was last updated 6 years, 8 months ago by Tom.
-
AuthorPosts
-
July 1, 2017 at 10:54 am #342536David
Page Header is still not appearing.
July 1, 2017 at 11:55 pm #342729TomLead DeveloperLead DeveloperAny chance you can send me temporary admin login details?
July 2, 2017 at 8:24 am #342858DavidCredential sent to email. Thanks!
July 2, 2017 at 11:11 am #342969TomLead DeveloperLead DeveloperHmm very strange, something is preventing the Page Header from being hooked in.
Sections and Page Header work together – this page is an example of that: https://generatepress.com/premium/
Any custom functions? Any hooks removed from templates? Specifically the generate_after_header hook?
Does this happen on just this one page? Have you tried on another page? Tried on a different website?
July 2, 2017 at 1:15 pm #343023DavidAny custom functions?
After Footer Widgets
[cwa id=’after-footer-widgets’]Any hooks removed from templates? No hooks removed.
Specifically the generate_after_header hook? None.
Does this happen on just this one page? This is happening site wide.
Have you tried on another page? I did create a test post and another page.
Tried on a different website? Not yet. I will try on a local server.
This is the snippet for the Page Header:
add_filter( 'generate_sections_sidebars','lh_generate_sections_sidebars' ); function lh_generate_sections_sidebars() { if ( is_front_page() ) { return false; } return true; }
July 2, 2017 at 3:54 pm #343080DavidI tested this on another install and I am getting the same result. Here is what I discovered when I turned off Use Section. The Page Header appears. I think this get us closer to the issue.
I tried this several times now and it is very consistent. Sliding “Use Section” on causes the Page Header to disappear.
Any recommendations?
Thanks!
July 3, 2017 at 9:57 pm #343780DavidChecking back any ideas as to what I need to do next. I have exhausted the list of items you provided. Thanks!
July 4, 2017 at 12:53 am #343830TomLead DeveloperLead DeveloperHere’s what I’m experiencing: https://www.screencast.com/t/0g7MZbGu5mpX
Having Sections shouldn’t have any say whether the page header content is displayed or not.
Are you following these same steps?
July 4, 2017 at 7:06 am #343991DavidHere’s a complete video of this issue. Current post as well as a new post.
https://drive.google.com/file/d/0B9BdOE7XUP9PbkxtdWtwUVBQZEE/view?usp=sharing
July 4, 2017 at 8:31 am #344025DavidAnother discovery on another test install.
Page Header Location
Above Content Area – (Page Header appears)
Inside Content Area – (Page Header doesn’t appear)Single Post Header Location
Above Content Area – (Page Header appears)
Inside Content Area – (Page Header doesn’t appear)July 4, 2017 at 9:14 am #344054TomLead DeveloperLead DeveloperAh yes, that makes sense. Sections takes over the content of the page and removes those hooks.
In GP 1.4 beta, there’s a filter we can use to check if Sections are active and move the page header above the content area.
In fact, I should probably add this to core – will do so for 1.4 beta I’m hoping to release today.
July 4, 2017 at 9:18 am #344055DavidThat is great. In this case I want the Page Header to appear Inside Content Area for Posts.
July 4, 2017 at 10:05 am #344072DavidLooking forward to the update. Thanks Tom.
July 4, 2017 at 10:09 am #344074TomLead DeveloperLead DeveloperJust made the change to the next beta release 🙂
July 4, 2017 at 10:36 am #344098DavidSweet. I can’t wait to put it into action. Btw, what is the filter? I would like to put it into use.
-
AuthorPosts
- You must be logged in to reply to this topic.