I found a theme that I really like: http://pluto.pinsupreme.com/masonry-compact-facebook As you can see every post has Facebook likes displayed in the exerpt. I would like to know if it would be possible to sort them by the amount of Likes they have? Thanks!


You can either sort them with jQuery on the front-end, or pull the like count into the back-end and store on the post_meta. Then sort by meta value in your loop.




   "id": "http://{URL}",
   "shares": intgr/(number)

Other types of share counts.

Not the answer you're looking for? Browse other questions tagged or ask your own question.