• Hi,
    Is there any way to get WP to display the links within php code without being in a list (without the dots)?
    wp_list_cats works fine but I don’t want the dots to appear.
    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Take the bullets away by using ‘list-style:none;’ in your css
    http://faq.wordpress.net/view.php?p=36

    Thread Starter Emory Rowland

    (@emory)

    That’s helpful, thanks. I was hoping to be able to display the cats without actually being in a list.

    http://wiki.wordpress.org/wp_list_cats
    ‘<?php wp_list_cats(”, ”, ”, ”, ”, ‘0’); ?> ‘
    I think that’s it. I’m not at home, so I can’t check what I’ve used. But the wiki page should help you out. It lists a number of arguments that you can use to control how you categories are displayed. Hope that helps!

    <?php wp_list_cats('list=0'); ?>

    Well that certainly simplifies things, thanks for that tip!

    Thread Starter Emory Rowland

    (@emory)

    This works perfectly to remove the list!
    ‘<?php wp_list_cats(‘list=0′); ?>’
    Anyone know if there’s a way to get rid of the line breaks so the cats can go across the header horizontally?

    Thread Starter Emory Rowland

    (@emory)

    That works, thanks so much!

    css = // html,ul,li {list-style-type:none;} //
    job done.

    Does it work with the links too ? I mean, it worked fine on my cats and archives. But I use images as links to other sites and I want them to appear side by side. The bullets didn´t go away. Any help on how to do it ? I´m a php beginner :/
    Thanks.

    So, is there a way to use the “list=0” on other tags? Basically, I hate bullets and can’t seem to get rid of all of them with in the links and archives. Any suggestions?

    You guys might want to get used to list ’cause that’s, most of the time, the semantically correct way to display it.
    For THEPETE, I don’t see your li‘s enclosed by

      and
      tags. I don’t know what function you used to get the archives but you might want have this in your index.php

        the_function_to_get_archives();


      and then add the css code suggested on the above post.
      For CANELINHA, I don’t see the any bullets and hyperlinked images you talked about. I need you to pin-point to it

    Viewing 11 replies - 1 through 11 (of 11 total)

    The topic ‘Cat Links without List Tag?’ is closed to new replies.