WordPress.org

Forums

WTI Like Post
Order by like count (7 posts)

  1. achamsaz
    Member
    Posted 1 year ago #

    I have recently purchased the PRO version, but can't get the blog posts show on a page according to their number of likes. I have added the shortcode [most_liked_posts limit="10" time="all"] on my page but the posts do not show by like counts. Am I missing something?

    http://wordpress.org/plugins/wti-like-post/

  2. webtechideas
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. achamsaz
    Member
    Posted 1 year ago #

    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: http://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.

  4. webtechideas
    Member
    Plugin Author

    Posted 1 year ago #

    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

  5. achamsaz
    Member
    Posted 1 year ago #

    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"?

  6. achamsaz
    Member
    Posted 1 year ago #

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

    Thanks,

  7. webtechideas
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WTI Like Post
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags