Question about code to display pages (3 posts)

  1. AndyM3
    Posted 9 years ago #

    Hey guys,

    Is there any other way to dynamically display a list of pages other than using this code:

    "<?php wp_list_pages('title_li=<h3>Pages</h3>' ); ?>"

    Because when I use that it makes a really big nasty bullet off to the left which totally looks absurd on the theme.

    I tried getting rid of the _li part in the code thinking it wouldn't make it a listed type item, but it did.

    Any solutions?

  2. TonySt
    Posted 9 years ago #

    Add this in the CSS -

    ul { list-style-type: none; }

    That should get rid of the bullets. I am sure there is another way - it's in the codex somewhere.

  3. AndyM3
    Posted 9 years ago #

    Hi Tony,

    I added that code to the stylesheet but the bullet is still there. Anything else I could try? (I'd link to my blog but I don't want to publically link to it.)


Topic Closed

This topic has been closed to new replies.

About this Topic