WordPress.org

Ready to get started?Download WordPress

Forums

Can I pop my nav bar into index.php blog (7 posts)

  1. astoller
    Member
    Posted 9 years ago #

    I've got a specially designed nav bar with about 6 links in it.
    Can I drop the htm lcode anywhere into the index.php
    (blog page) after any <php statement?

  2. Rik
    Member
    Posted 9 years ago #

    I did that on mine.

  3. solarpunk
    Member
    Posted 9 years ago #

    you can also make into php include. i have done this in the past but not for worpdress.

    SolarPunk

  4. rvblog
    Member
    Posted 9 years ago #

    If you put it in your index.php file it will not show up on your other pages.

    If you put the nav bar code in your header.php file it will be common to all pages that use your header.

  5. gnukerman
    Member
    Posted 9 years ago #

    I'm using:

    Plugin Name: Admin Bar Plugin
    Version: 0.5 epsilon
    Plugin URI: http://www.mattread.com/tweaks/wp-admin-bar/

    that is placed just under

    <body>
    <?php admin_bar(); ?>

    in your header/sidebar, etc.. depending on the theme you use.

    Not sure if this is the type of thing you are referring to, but it really makes things easy for you, as admin, and for your users. It gives users menu items depending on level assigned.

  6. dawg
    Member
    Posted 9 years ago #

    If you put it in your index.php file it will not show up on your other pages.

    If you put the nav bar code in your header.php file it will be common to all pages that use your header. Quote RVBLOG

    I have included it in my header.php and it is in all my pages except the comments page which does call for the header, I have even deleted the comment page but it still shows read more here

    http://wordpress.org/support/topic.php?id=23174

  7. rvblog
    Member
    Posted 9 years ago #

    I'm new to WP and using 1.5 - so I no little about previous versions if that is what you are using.

    In 1.5, I'm using the default template - it does not have a seperate comments page that I can see. (I don't use the comments popup file so I do know much about that feature). In the default theme that I am using, the single.php file (which includes the header.php file) calls the comments template and displays the comments on the page that it renders.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.