- This topic has 11 replies, 3 voices, and was last updated 3 months ago by Ying.
May 11, 2022 at 5:47 am #2216233Krisztina
I’ve created a header and a footer template with Elementor Pro. I’ve created a layout element and disabled the site header, mobile header, primary navigation and footer. Than created a hook element for the header and footer as well. I’ve executed it according to the guide linked below (GP pro, Elementor pro).
My problem is that the header and footer is not showing on the Woo Webshop page and in the product catalogs. Everything else including the single product pages looks fine. Could you please advise what could have gone wrong? Please check e.g. the ‘about’ versus the ‘webshop’ tab on our site below.
Thank you for your guidance in advance,
KrisztinaMay 11, 2022 at 6:18 am #2216262DavidStaffCustomer SupportMay 11, 2022 at 6:24 am #2216269Krisztina
Thanks for your quick reply! It is set to ‘entire site’ for both.May 11, 2022 at 6:29 am #2216272DavidStaffCustomer SupportMay 11, 2022 at 6:33 am #2216276Krisztina
wp_footer for the footer and wp_head for the header. Nothing is excluded and only the execute shortcode in checked under the setings tab (only the shortcode of the elementor template is inserted where the code should be added, nothing else).May 11, 2022 at 6:49 am #2216293DavidStaffCustomer SupportMay 11, 2022 at 7:00 am #2216303Krisztina
I’ve tried all the options before I opened a topic. Now I’ve changed it back to ‘generate_footer’ and ‘generate_header’. Cleared cache. Checked it. The problem looks still the same for me. Everything looks fine except for the webshop page and product catalog as I see.
I thought that it is a good idea to use the templates with hooks but probably not. Should I aproach it in a different way?May 11, 2022 at 7:08 am #2216309DavidStaffCustomer SupportMay 11, 2022 at 7:37 am #2216330Krisztina
I thought it would be a genious idea 😀 But unfortunately it is not working. Although, I realized there should be some kind of confilct. As I set the Display Rules > Location: to product archive (only-meaning that removing the entire site option) the template is not visible anywhere. But! the copyright tagline is still visible only on the product catalog page and on the webshop page. So I thought I should remove the otherwise useless copyright sentence under the Customize > Layout > Footer tab. But when I removed the custom sentence I have added some time ago and I set the number of footer widgets to 0, the following line apears only on the 2 above mentioned pages: ‘© 2022 Vándor Studio • Built with GeneratePress’. If you visit the site now you will probably see that. Now I activated the hook again for the entire site, but the ‘built with generatepress’ is still there in the footer.
Is it possible that there is a basic header and footer only for these 2 pages we are talking about, which is in conflict with the hook?May 11, 2022 at 10:12 am #2216727YingStaffCustomer Support
Woocommerce pages should be using the same header and footer as other pages if its templates are not altered.
Any chance you can disable all plugins except GP premium, Elementor, Woocommerce to test?
If you are using a child theme, can you switch to the parent theme as well?
Let us know!May 11, 2022 at 2:23 pm #2216959Krisztina
Thank you for your support! In the end it seems I found it. Thank you for the tip! When I disabled the Code Snippets plugin it seems the Woo pages are fine. But I went further, inspected the snippets and found that when a code is active which is sorting out of stock products to the end of the list, it is causing the problem. When I disable it the page looks fine 🙂 Hurray 🙂May 11, 2022 at 2:29 pm #2216967YingStaffCustomer Support
Awesome! Glad you figured it out 🙂
- You must be logged in to reply to this topic.