Order Posts by Likes with elementor custom skin loop template

  1. Go to [WP ULike PRO > Configuration > Content Types > Posts] and try to enable "Enable Standard Meta Data" option.
  2. Go to [WP ULike PRO > Developer Tools > Optimization] and click on " Migrate Counter Metadata " button.
  3. Then put the following sample hook inside your child theme functions.php or use Code Snippets plugin.

Now you can use Elementor posts widget by putting `order_by_like_amount` inside query id. Check following document:
https://developers.elementor.com/custom-query-filter/

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us