WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WordPress Popular Posts] no thumbnails if not using widget

[Resolved] [Plugin: WordPress Popular Posts] no thumbnails if not using widget

  • Hi,
    I just started using your plugin in a website I’m building and I have a problem…

    The theme I’m making

    isn’t widget-aware, meaning that it has no sidebars that you are able to change.

    so when I use
    <?php get_mostpopular(“range=weekly&limit=7”); ?> the plugin shows only text and NO images (the feat image is active in functions.php).
    Is this the problem and if YES how I can fix it?

    Thanks a lot for your work and the support 🙂

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hector Cabrera
    Participant

    @hcabrera

    Hi gtx,

    To enable thumbnails, you need to specify width and height using the parameters thumbnail_width and thumbnail_height. For example:

    <?php if (function_exists('get_mostpopular')) get_mostpopular("range=weekly&limit=7&thumbnail_width=50&thumbnail_height=50"); ?>

    thank you very much Héctor! You’re a good guy! Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WordPress Popular Posts] no thumbnails if not using widget’ is closed to new replies.