• Resolved istok

    (@istok)


    I have now shortcode:
    [wpp post_type=’post’ limit=5 range=’daily’ order_by=’views’

    But ask me how to avoid views count
    I also would like to have thumbnails

    The page I need help with: [log in to see the link]

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

    (@hcabrera)

    Hey @istok,

    The WordPress Popular Posts plugin provides the following ways to insert a popular posts list on your site:

    1. The [wpp] shortcode, as you already know.
    2. The WordPress popular Posts block, which in essence works exactly like a widget.
    3. The wpp_get_mostpopular() template tag.
    4. If you’re using Elementor on your site you can use the WordPress Popular Posts widget for Elementor.

    If you can use blocks on your site I recommend using the second option, the WordPress Popular Posts block, as it’s way easier to use than the shortcode.

    To answer your questions, you can use the stats_views parameter with a value of 0 to remove the views count from your list. For example:

    [wpp post_type="post" limit=5 range="daily" order_by="views" stats_views=0]

    And to display thumbnails you need to provide the desired width and height of the thumbnails via thumbnail_width and thumbnail_height. For example, let’s say that you want thumbnails that are 100 pixels wide and 100 pixels tall:

    [wpp post_type="post" limit=5 range="daily" order_by="views" stats_views=0 thumbnail_width=100 thumbnail_height=100]

    For more details please see the Parameters documentation page.

    If you have any other comments / questions please let me know.

    Plugin Author Hector Cabrera

    (@hcabrera)

    By the way, when I first checked your website I got automatically redirected to this URL:

    https://www.effectiveratecpm.com/hrx2j0rb?key=80ad3c0bf9a8a2c0d64078170d885c2f

    I don’t know whether that’s normal or not for you (seeing that that domain was created on February this year makes me think that you may have some malware on your site) but thought I should let you know @istok

    Plugin Author Hector Cabrera

    (@hcabrera)

    As a matter of fact, Sucuri (a well-known anti-malware service) seems to agree that your site is infected with malware too: https://sitecheck.sucuri.net/results/https/rainbowsongs.org

    You should look into this as soon as possible @istok

    Thread Starter istok

    (@istok)

    I know unfortunately site is infected an I am desperately looking for cause with scanners

    Thanks for code

    P.S.

    This service recommended is to expensive for me

    Plugin Author Hector Cabrera

    (@hcabrera)

    Thanks for code

    Don’t mention it, glad I could help!

    I know unfortunately site is infected an I am desperately looking for cause with scanners

    Try following the instructions from this FAQ from the official documentation: FAQ My site was hacked.

    I highly recommend getting in touch with the people who built / manage your website though, or at least consider hiring someone to help you out with all this.

    This service recommended is to expensive for me

    I wasn’t recommending that service per se, I just shared what their online malware scanner reported.

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

The topic ‘Hard without widget’ is closed to new replies.