WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Related Posts in Sidebar Problem

[Resolved] Related Posts in Sidebar Problem

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’re missing the opening & closing <li> in your list.

    You have:

    <li id="related-posts" class="widget widget_related_posts"><h2 class="widgettitle">Similar Items</h2>

    <ul><a href="#" rel="bookmark" title="Permanent Link: Sauerkraut">Sauerkraut</a><a href="#" rel="bookmark" title="Permanent Link: Fettuccine all’amalfitana">Fettuccine all’amalfitana</a></ul></li>

    This is the code I use:

    <?php related_posts(5, 10, '<li>', '</li>', '', '', false, false); ?>

    See how the opening and closing <li> are stated in the Related Post code.

    FN: Links deliberately edited

    I’m still not sure how to edit the script from the plugin to make this work…I assumed it would work out of the box but it seems not to.
    Can anyone illustrate how I need to change the code to do this?

    Did you get this fixed? I checked it in Firefox and IE6 – I don’t see this issue in either browser. (View source shows all LI tags *are* closed…)

    If not, what are you viewing it through?

    Hi,
    Didn’t get it fixed.
    Viewing with Firefox (home) and IE6 (work).

    I swear, I do not see this issue.

    I went to the index page of your site, and the only thing I saw that was even remotely *close* to being an issue was the “Welcome to RealEpicurian.com” was on two lines instead of one.

    But all of your list items look fine…I honestly don’t see the issue. (This is the second post today where I don’t see the problem, so maybe it’s just me?)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Related Posts in Sidebar Problem’ is closed to new replies.