Thanks sir,
I have a wordpress video site and want to short by views and likes.
In elastcicsearch content indexing likes and views appears as Custom Fields.How i can use these variables to short result?
Where i need to paste your code:
How do I implement sorting?
is your code starting with
<?php
and end with
?>