Hello everyone,
I’m currently displaying posts (Custom Post Type) in different kind of ways and one of the problems i’m having is displaying posts in a way in which it is sorted by the amount of upvotes. I made an upvote functionality with ChatGPT and it works fine. It adds +1 to my ACF field ‘upvotes’ or ‘downvotes’ when the user clicks on the button and in the back-end the product will display the amount of up- and downvotes respectfully.
The issue is that I can’t display the posts sorted by popularity. The only built-in options in Elementor for ordering are:
\- Date
\- Title
\- Menu order (?)
\- Last modified
\- Comment count
\- Random
I’m sure i’m not the only one with this idea and I was wondering if any of you found a way to properly display a top 10 of my Custom Post Type products.
Thank you.
[ad_2]