Support » Themes and Templates » How to keep header/banner images on a static/home page only.

  • Hello.
    Is there a way to keep header/banner images on a static/home page only and remove it completely from the rest of the pages/posts in twenty ten?

    S.

Viewing 2 replies - 1 through 2 (of 2 total)
  • you possibly need to edit header.php:

    http://pastebin.com/yEr2rP5U

    Thread Starter sandra408

    (@sandra408)

    Hi.
    Thank you for your reply.
    I found solution by using Dynamic Headers plug-in and disabling headers in appearance–>header menu…

    However now I need to remove the “Header” sub-menu item from my Admin. Panel and code that I tried to use is not working…
    Here is what I used in functions.php:

    function remove_submenus() {
      global $submenu;
      unset($submenu['admin-header.php'][2]); // Removes 'Header'.
    }
    add_action('admin_menu', 'remove_submenus');

    Clearly I made a mistake somewhere… Any ideas??

    Thanks.

    [Please post code snippets between backticks or use the code button.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to keep header/banner images on a static/home page only.’ is closed to new replies.