WordPress.org

Support

Support » Themes and Templates » wp_list_bookmarks help

wp_list_bookmarks help

  • Hi everyone, I’ve just set up a new page template with the following:

    <style type=”text/css”>

    .content img {
    width: 170px;
    height: 120px;
    }

    .content li {list-style:none}

    </style>

    <div class-“content”>

    <?php wp_list_bookmarks(‘title_li=&show_images=1&exclude_category=2 ‘) ; ?>

    </div>

    It does display the blogroll correctly with images only, excluding the category I chose but none of the styling applies to it. I’d like to display the blogroll without the bullet points and have all the images uniformly sized.

    If there is a way to have it list them in more than one column too that would be fantastic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Michael

    @alchymyth

    Forum Moderator

    this could be a typing mistake – should be:

    <div class="content">

    also, the code is mising <ul> tags;

    ultimately, without seeing the problem live, there is nothing to suggest.

    possibly, try to work with a tool such as Firebug http://getfirebug.com/ to investigate the formatting.

    I had already fixed the typing mistake, sorry. The formatting does apply to the blogroll categories but the images still have bullets for some reason. How would

      help in this situation?

    Moderator Michael

    @alchymyth

    Forum Moderator

    btw: please mark any posted code using the code button – see http://codex.wordpress.org/Forum_Welcome#Posting_Code
    this keeps it better readable.

    the ul tag would turn this into valid html to start with.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_list_bookmarks help’ is closed to new replies.