Question 1
I am leveraging your great ENFOLD feature to hide both the header and footer on a blog’s posts. I also need to hide the header and footer on the post category and author pages. I imagine I would need to setup a child theme and edit php templates? Or, is there a better more efficient way?
Question 2
Is there a fast way to change all posts in a blog to hide the Enfold header and footer, rather than going into each post, there is over 500? Maybe a MySQL command?
Thanks for all that you do!
Hey bowmandesign!
Thanks a lot for your great words for Enfold, we do appreciate that a lot
1. No, there is not a better way, that one is actually the best option to do it.
2. Yes, you can use a method like is_blog(); and load with condition the content, based on that.
You will need some php code to achive it, let us know when you have moved forward wit it and we will be more than happy to help you further.
Best regards,
Basilis
Great,
1 is underway
2 can you provide the full MySQL command and php method to change all blog post enfold settings to hide both the header and footer?
Also For #2, it would be great if I could set all new posts to hide the header and footer by default .
Thanks,
I ended up leveraging the following, it was easier.
.author #header {
display: none!important;
}
.blog #header {
display: none!important;
}
.single-post #header {
display: none!important;
}
.category #header {
display: none!important;
}
PS
To hide the footer site wide, that exists in the ENFOLD admin under footer.
I would be interested to know if there is a fast way to change 500+ posts to ‘Header is invisible and appears once the users scrolls down’
Thanks,
Hi,
Thanks for sharing your solution earlier, about your last question – I don’t think so but send us a link to your site and we’ll have a look at it.
Regards,
Rikard
We can close this one.