Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author webtechideas

    (@webtechideas)

    Few questions here.

    1. Can you please confirm whether the posts are not shown at all or shown but not by like counts?

    2. Are you referring to wordpress posts or any wordpress custom posts?

    3. Have you referred to the plugin manual already?

    Please share your site url so that I can have a look at the issue.

    Thread Starter achamsaz

    (@achamsaz)

    Thanks for getting back to me. The posts show, but are not ordered by like count. They appear exactly the me as they do on my homepage. Here is a link to the page that I created for trending posts and included the shortcode on: https://um.umaryland.edu/elm/trending/

    I have read through the pro manual and I thought the only thing I need to do was to add the relevant shortcode to a page where I want my posts to be reordered.

    Plugin Author webtechideas

    (@webtechideas)

    Your site does not load completely. Whatever I have observed, it seems that you have modified the shortcode functionality. Because with the above shortcode, it will show the result in a tabular manner not the way you have shown. Can you please confirm this? I would like to know the customization (if any) you have made.

    There is also a template file most-liked-posts.php inside the plugin folder/templates. It has the logic to sort the posts as per like count. Can you please check that as well? That template layout is different from yours so you will have to modify the layout.

    Thanks

    Thread Starter achamsaz

    (@achamsaz)

    Thanks, I was able to use the most-liked-posts.php template to show posts ordered by like count. What is the query variable that I can use to customize the time period?

    Are there any other variables we can use in addition to “posts_per_page”?

    Thread Starter achamsaz

    (@achamsaz)

    Hi, did you get a chance to look into this?

    Thanks,

    Plugin Author webtechideas

    (@webtechideas)

    Apology for the late response. With this approach, you can not customize the time period. It will show the counts right from day 1.

    You can use all other parameters those are available for query_posts function.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Order by like count’ is closed to new replies.