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

    (@hcabrera)

    Hi there!

    Please elaborate a bit more. If you’re using either the [wpp] shortcode or the wpp_get_mostpopular() template tag, post your code here so I can check it out.

    Thread Starter steverit

    (@steverit)

    Hi Hector, I have fixed this issue, however, can you please tell me how to make the thumbnail sizes bigger?

    Thanks,

    Steve

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hey Steve,

    To set the size of the images, use the thumbnail_width and thumbnail_height parameters (check wp-admin > Settings > WordPress Popular Posts > Parameters for more details.)

    Thread Starter steverit

    (@steverit)

    Hi Hector.
    I found the parameters. So where should I paste the thumbnail_width and thumbnail_height parameter to?

    Cheers,

    Plugin Author Hector Cabrera

    (@hcabrera)

    It seems you guys are using the widget, so just go to Widgets > Plugins and set your desired image size using the widget’s options.

    Thread Starter steverit

    (@steverit)

    Yes, I realiesd last night that all the setting were under the widget options. However, is there a way to add spacing between thumbnails?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Yep. Try the following:

    1. Go to Plugins > Editor and select WordPress Popular Posts from the dropdown.
    2. Click on wordpress-popular-posts/style/wpp.css to edit plugin’s stylesheet.
    3. Find:
      .wpp-list li {
        /* display: inline-block; */
        float: none;
        clear: left;
      }

      … and change it to:

      .wpp-list li {
        overflow:hidden;
        float: none;
        clear: both;
        margin-bottom: 5px;
      }
    4. Hit the Update file button to save changes.

    Note that editing plugin’s files directly isn’t recommended because any changes made to it will be lost after upgrading to a newer version. To avoid losing these changes, copy the wpp.css stylesheet (located at wp-content/plugins/wordpress-popular-posts/style/) into your theme’s directory.

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

The topic ‘Shortcode’ is closed to new replies.