WordPress.org

Support

Support » Themes and Templates » [Resolved] Removing WordPress MenuBar from Hybrid Theme

[Resolved] Removing WordPress MenuBar from Hybrid Theme

  • MamaGeekMinis
    Member

    @mamageekminis

    I downloaded the Hybrid theme, and modified header.php to remove these lines from the <head> section:

    <?php do_atomic( ‘head’ ); // @deprecated 0.9.0. Use ‘wp_head’. ?>
    <?php wp_head(); // wp_head ?>

    This removed the WordPress menubar from the top of the page, which is what I wanted.

    However, all of the links from the menubar now appear at the bottom of my blog: http://mamageekminis.com/blog/

    How do I get rid of them?

Viewing 2 replies - 1 through 2 (of 2 total)
  • dragonsjaw
    Participant

    @dragonsjaw

    I don’t know about Hybrid theme,
    or the changes you made to the header file.

    But I use :

    /* Disable the Admin Bar. */
    add_filter( 'show_admin_bar', '__return_false' );

    in my functions.php file
    (only used in twentyten // and child so far and it works just fine)

    MamaGeekMinis
    Member

    @mamageekminis

    I had to put back the two lines that I removed from the header.php, but once I did that, and added that to my functions.php file it worked beautilfully! Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Removing WordPress MenuBar from Hybrid Theme’ is closed to new replies.