Forums

<?php wp_list_authors('style=none'); ?> makes author list disappear (4 posts)

  1. yarnboy
    Member
    Posted 3 weeks ago #

    My title pretty much says it all. I'm basically trying to have a list of authors in my sidebar without any list styling. This issue was posted in Alpha/Beta earlier, but it doesn't appear to have been resolved, or has arisen again in 2.8.4. I'm currently using Simon Wheatley's Author Listing plugin, with modifications, to do the job that I'm trying to do with <?php wp_list_authors('style=none'); ?>.

    Anyone?

  2. jonimueller
    Member
    Posted 3 weeks ago #

    If you don't want list styling, just edit your stylesheet to indicate

    list-style: none;

    That should just return a list like this:

    Text1
    Text2
    Text2
  3. yarnboy
    Member
    Posted 3 weeks ago #

    Thanks junimueller. That does work. The WordPress documentation states that I should be able to set the style variable in the wp_list_authors function as I did above. To my mind, that's a cleaner approach than adding extra styles to my stylesheet . . . and it's actually supposed to work. As such, it constitutes a bug in the current build.

  4. jonimueller
    Member
    Posted 3 weeks ago #

    That's not how I understood the documentation. If you set style=none, this just means it won't be presented as an unordered list. Period. I could be wrong. It's happened before. :)

Reply

You must log in to post.

About this Topic