Wordpress and Webdesign Forum go41 » WordPress Code Snippets

  1. Hello there,

    Is it possible to create a footer that functions in much the same way as the top nav bar, but just place it above the footer section of the page? I need more nav bar space!

    Cheers,

    Dr_Whom

    Posted 1 year ago #
  2. you could duplicate the pages list in footer.php by copy all ul /ul stuff from header.php to footer.php

    Put it below the line div id="front-popular" above div id="recentpost" like this:

    <div id="front-popular" class="clearfloat">
    <ul id="page-bar" class="left clearfloat">
    <li><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    <?php wp_list_pages('sort_column=menu_order&title_li='); ?>
    </ul>
    <div id="recentpost" class="clearfloat">

    now there 'should' show the same as on top and you might exclude or include some pages here or there.

    Actually a ul id should be only once per view, so it would be wise to rename ul id="page-bar" and set new styles (for the new id with values as before) in style.css

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Join us! or log in (lost password?):