WordPress.org

Ready to get started?Download WordPress

Forums

Alexandria
[resolved] [closed] Remove header from all pages except home? (17 posts)

  1. Lumee2
    Member
    Posted 1 year ago #

    Hi, How do I remove the header from all my pages EXCEPT for the home page?

  2. IsomAdvanced
    Member
    Posted 1 year ago #

    Just remove the following code from the theme page (i.e. single.php, page.php, etc) that you want it removed from:
    <?php get_template_part( 'slider' ); ?>

    It should be near the top of the page.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It is not a good idea to "just remove" code from templates - as those changes will be lost when the theme is updated.

    @Lumee2 - if you're still looking to do this, you'll need to start by making a Child Theme - http://codex.wordpress.org/Child_Themes

    also, please post a link to your site.

  4. tskk
    Member
    Theme Author

    Posted 1 year ago #

    I will have an update with on/off switch for inner pages in few days.

  5. Javierlota
    Member
    Posted 1 year ago #

    It would be good. I'm waiting for that update. It's an excellent theme.

    Greetings!

  6. J2727
    Member
    Posted 1 year ago #

    I also am looking forward to this update. Thank you so much. This is a wonderful theme.

  7. tskk
    Member
    Theme Author

    Posted 1 year ago #

    Ok its available now, you can turn it on/off in home/page/post/archive templates.

  8. J2727
    Member
    Posted 1 year ago #

    Thank you show much!

  9. Javierlota
    Member
    Posted 1 year ago #

    That's great! Thanks!

  10. J2727
    Member
    Posted 1 year ago #

    I am embarrassed to say, But I can not find the on and off switch you are speaking about???

  11. tskk
    Member
    Theme Author

    Posted 1 year ago #

    click on "Header/slider settings" tab in theme options page. Below the 2 thumbs, you will see a section called "Slider settings"

  12. bobbozzo
    Member
    Posted 1 year ago #

    Hi,
    There seems to still be a problem in 1.0.6.

    I have the Reading settings to point to static pages; 'home' for the front page, and 'news' for the posts page.

    If I have the theme set only to "Show slider on homepage", the slider still shows on the news page.

    Also, the "I will use Custom Header" doesn't seem to work reliably. I had it working, but then set it back to the slider, and now setting it back to custom loses the header on the page(s).

    WP is 3.5.2, btw.

    thanks!

  13. tskk
    Member
    Theme Author

    Posted 1 year ago #

    Fixed the issue with header showing up on blog page, update should be available soon.

    custom header obeys the header settings, if you have turned header/slider off in pages, neither header or custom header will show.

  14. tskk
    Member
    Theme Author

    Posted 1 year ago #

    Update is available now with a fix.

  15. bobbozzo
    Member
    Posted 1 year ago #

    Thanks; it works as expected now!

  16. jonokto
    Member
    Posted 6 months ago #

    Hi, I have the opposite problem.

    I switched off the custom header from my home page. But it still shows up, as a blue strip running underneath the menu bar.

    Is there a code I need to remove or something?

  17. esmi
    Forum Moderator
    Posted 6 months ago #

    @jonokto: If you require assistance then, as per the Forum Welcome, please post your own topic. This topic references an old version of WordPress.

    Closing.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags