WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing WordPress MenuBar from Hybrid Theme (3 posts)

  1. MamaGeekMinis
    Member
    Posted 2 years ago #

    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?

  2. dragonsjaw
    Member
    Posted 2 years ago #

    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)

  3. MamaGeekMinis
    Member
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic