Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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!

    #578977

    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

    #578997

    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,

    • This reply was modified 1 year, 9 months ago by  bowmandesign.
    #579121

    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;
    }

    #579124

    PS
    To hide the footer site wide, that exists in the ENFOLD admin under footer.

    #579421

    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,

    #580097

    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

    #583860

    We can close this one.

    #584468

    Hi,

    Ok, thanks for letting us know.

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Hide header and footer on Category and Author pages’ is closed to new replies.