WordPress.org

Ready to get started?Download WordPress

Forums

Adding navigation menu to single post view in Twenty Eleven theme (4 posts)

  1. aloneinlasvegas
    Member
    Posted 1 year ago #

    I am working on a child theme within Twenty Eleven on a local install of WordPress. Currently my nav bar appears on all pages and in the index view of blog posts, but not when viewing a single post. I think the solution may be somewhere in the index.php and single.php files, but I have absolutely no knowledge of/experience with PHP. How would I go about doing this?

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    the nav bar code (horizontal nav) is in header.php;
    and if the horizontal nav does not show in single posts, thene your theme is seriously broken.

    the sidebar does not show in single posts - if you need it there, try to work with a plugin http://wordpress.org/extend/plugins/twenty-eleven-theme-extensions/

  3. aloneinlasvegas
    Member
    Posted 1 year ago #

    I've intentionally removed the horizontal nav and added a plugin which creates a vertical nav bar

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    added a plugin which creates a vertical nav bar

    ok - so your 'problem' is with the designed sidebar behaviour;

    follow this suggestion:
    - if you need a sidebar in single posts, try to work with a plugin http://wordpress.org/extend/plugins/twenty-eleven-theme-extensions/

Topic Closed

This topic has been closed to new replies.

About this Topic