• Resolved vince2006

    (@vince2006)


    I am trying to call wp_list_pages in my footer and I would like to list the pages without a bullet and the list should be horizontil as in:
    Page 1 | Page 2 | Page 3 | Page 4 |
    listing all of the pages to the width of the footer and then continuing with the pages that weren’t listed in the first line, to be listed on the second and third if needed.

    I got this from another forum and it is VERY close to what I need but for some reason after the first set of pages are shown (about 12 pages) then the remaining pages show up UNDER the footer instead of inside. Keep in mind that my footer is 250px high so there is more than enough room for the additional pages so I am thinking the code itself is at fault.

    
    	<?php
    $pages = wp_list_pages('sort_column=menu_order&exclude=93,192,193&title_li=&echo=0');
    $pages = str_replace(array('<li class="page_item">', '</li>'), '', $pages);
    echo $pages;
    ?>
    

    Anyone have a fix for this?

    Thanks,

    Vince

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_list_pages horizontilly in footer’ is closed to new replies.