Sorting
-
How to add meta values in wordpress pages for sorting. As per FAQ we have seen that by using below short code we can use sorting.
[wcp-carousel id=”1609″ order=”DESC” orderby=”meta_value” meta_key=”purchased_date”]
But we are trying to do the below.
-> Post type is pages
-> Added few pages in select postsNow we want to know what is a meta_key. Where exactly is the purchased_date ? Since we have added post_type as pages. Where do we need to add this purchased_date ? what does the meta_key refer to in pages ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sorting’ is closed to new replies.