This topic has 5 replies, 2 voices, and was last updated 8 years by Laura.

  • Author
  • #145527
     Cafonauta
    Participant

    Hi all,

    I saw I can filter content in several ways: date, categories tags, etc…

    Is there some way to sort content (mostly posts) by popularity? For being popular I mean most viewed.

    I would like having an element showing the X most popular posts. It would be nice being able to set a timeframe also. E.g. “most read articles of the week./month”

    I understood that likes and similar are not stored in the db hence are volatile info. Is there something you can use for page/post views?

     

    Thank you in advance

     

    #145622
     Laura
    Moderator

    Hello, you could try using https://es.wordpress.org/plugins/wordpress-popular-posts/ 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #145630
     Cafonauta
    Participant

    Thanks I will try it.
    Given that I do not use sidebar I will use the shortcode.
    Just one question: will the widget/element get your theme style?
    Sorry for the silly question but I’m a WP newbie.

    Thank you in advance.

    #145803
     Laura
    Moderator

    Hello, it should, if the plugin uses its custom style i can help you integrate it 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #146039
     Cafonauta
    Participant

    Sadly, I noted that if I add the shortcode into a page manually (I have no sidebar so I’m forced to do so)

    [wpp header="I più letti del mese" range="monthly" limit=5 post_type="post" cat="-news" order_by="views" thumbnail_width=70 thumbnail_height=70 post_html="<li>{thumb"} {title} {stats}</li>]

    The shortcode does not appear into VC editor. Even worse if I save the page via the visual composer editor, my shortcode is being erased! How I can leave my shortcode into the page?

    I added manually the WPP shortcode:

    [wpp header="I più letti del mese" range="monthly" limit=5 post_type="post" cat="-news" order_by="views" thumbnail_width=70 thumbnail_height=70 post_html="<li>{thumb"} {title} {stats}</li>]

    #146149
     Laura
    Moderator

    Hello, use a text element or html element then add the shortcode there 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?