WordPress.org

Support

Support » Themes and Templates » Alexandria » [Resolved] Remove header from all pages except home?

[Resolved] Remove header from all pages except home?

Viewing 15 replies - 1 through 15 (of 16 total)
  • 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.

    WPyogi

    @wpyogi

    Forum Moderator

    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.

    Theme Author tskk

    @tskk

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

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

    Greetings!

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

    Theme Author tskk

    @tskk

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

    Thank you show much!

    That’s great! Thanks!

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

    Theme Author tskk

    @tskk

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

    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!

    Theme Author tskk

    @tskk

    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.

    Theme Author tskk

    @tskk

    Update is available now with a fix.

    Thanks; it works as expected now!

    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?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Resolved] Remove header from all pages except home?’ is closed to new replies.
Skip to toolbar