-
AuthorPosts
-
February 6, 2016 at 4:13 am #578941
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!
February 6, 2016 at 9:58 am #578977Hey 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,
BasilisFebruary 6, 2016 at 1:38 pm #578997Great,
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,
-
This reply was modified 9 years, 9 months ago by
bowmandesign.
February 7, 2016 at 5:18 am #579121I 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;
}February 7, 2016 at 6:09 am #579124PS
To hide the footer site wide, that exists in the ENFOLD admin under footer.February 8, 2016 at 8:05 am #579421I 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,
February 9, 2016 at 5:07 am #580097Hi,
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,
RikardFebruary 16, 2016 at 3:03 am #583860We can close this one.
February 17, 2016 at 5:43 am #584468 -
This reply was modified 9 years, 9 months ago by
-
AuthorPosts
- The topic ‘Hide header and footer on Category and Author pages’ is closed to new replies.
