WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] [Plugin: WordPress Popular Posts] Items nest in widget when Comments=0 (2 posts)

  1. lev236
    Member
    Posted 3 years ago #

    Hi there,

    I'm having an issue with the thumbnail-enabled popular posts list showing up nested. (Each item is slightly indented to the right under the item above it). I'm experiencing the problem both when using the widget version of WordPress Popular Posts and when using PHP code in a template or widget. I'd like all the list items to be left aligned.

    Here's the php I was using:
    <?php if (function_exists("get_mostpopular")) get_mostpopular("range=daily&order_by=views&stats_comments=0&limit=10&title_length=18&thumbnail_selection=usergenerated&thumbnail_width=25&thumbnail_height=25&&pages=0&wpp_start='

      '&wpp_end='

    '&post_start='

  2. '&post_end='
  3. ' "); ?>

    When Comments=1, it renders fine, but when comments=0, it nests.

    I tried different title lengths. No dice.

    I thought it might be a styling issue, so I tried updating wpp.css with "display:block;", (only because I read about it on another help thread -- I don't really know css very well).

    But since it displays fine when Comments=1, I think something else is going on.

    Any other suggestions?

    Using version Version 2.1.4 of WPP and Version 3.0 of WordPress.
    Thanks in advance.

  • lev236
    Member
    Posted 3 years ago #

    Never mind. Turns out it's just a CSS issue with the template I'm using.

  • Topic Closed

    This topic has been closed to new replies.

    About this Plugin

    About this Topic

    Tags