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

    (@hcabrera)

    Hi Carol!

    1 – I would like to show only thumbnails, without the post titles;

    If you’re using the widget version of the plugin, you need to do this:

    1. On the Widgets sections, find WordPress Popular Posts and enable the Custom HTML markup option.
    2. Change the Custom HTML markup field to <li>{thumb}</li> (or <li>{thumb} {stats}</li> if you want to show the statistics) and hit the Save button to apply changes.

    If you’re using either the [wpp] shortcode or the wpp_get_mostpopular() template tag, you need to use the post_html parameter. For example:

    [wpp post_html='<li>{thumb}</li>']

    <?php
    if ( function_exists('wpp_get_mostpopular') ) {
        wpp_get_mostpopular("post_html='<li>{thumb}</li>'");
    }
    ?>

    2 – How to make the thumbnails to be side by side?

    Take a look at this. You might need to make some adjustments to the CSS to make it fit your theme, though.

    Hope that helps!

    Thread Starter Carol

    (@carolbottacin)

    Hi Hector,

    Thank you for your reply.

    I could remove the title, but I couldn’t make the thumbnails to be side by side. I made the css adjustments suggested by you here – https://wordpress.org/support/topic/grid-thumbnails-1?replies=2
    but it’s not working.

    Any other suggestion?

    Thanks!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hard to say without looking at your site 😛 Please post your blog’s URL so I can go take a look.

    Thread Starter Carol

    (@carolbottacin)

    Thank you for your reply.

    Here is my website’s URL – http://artcrush.com.br/

    Plugin Author Hector Cabrera

    (@hcabrera)

    It seems that you have disabled WPP’s stylesheet, so if you were making changes to the wpp.css file as I suggested here these won’t be applied to your site. You should either enable WPP’s stylesheet (wp-admin > Settings > WordPress Popular Posts > Tools) or copy these CSS styles to your theme’s stylesheet.

    Thread Starter Carol

    (@carolbottacin)

    Thank you very much for your help!
    Problem solved 🙂

    Best,

    Carol

    Plugin Author Hector Cabrera

    (@hcabrera)

    If you enabled the wpp.css stylesheet, make sure you copy it into to your theme’s folder so your changes survive future updates.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Show only thumbnails side by side’ is closed to new replies.