Ajax-load-more with meta query
-
Hey there,
I have a question regarding the meta query for ajax-load-more. I have a meta_key called ‘wti_likes’ which accumulate the total ‘likes’ for a post. However, if there is no likes for new posts, the database will not store a record for it as 0. Therefore, when I sort the posts – meta-key=”wti_likes” orderby=”meta_value_num”, it will only shows posts with ‘likes’, those without any likes will not be shown.
Is there any method to show the rest of the posts as 0 ‘likes’?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Ajax-load-more with meta query’ is closed to new replies.