If your using the filter method, the only way to undo each filter is to update all the filter params.
Does that make sense?
Thread Starter
sia77
(@sia77)
Not sure, if it does.
Here is what I have done:
It undoes the filtering, but post are not showing in the same order as the original list (When the page is loaded the first time).
On the back-end, I’m sorting by what we call the post_weight, and then by date. So the way, I understand it if I still want to end up with the same order after undoing the filtering, I would need a way of indicating the sorting criteria, and values, am I correct on this?
Thread Starter
sia77
(@sia77)
I just realized it won’t let me post code, trying again.
data-repeater=”default” data-category=”” data-post-type=”” data-posts-per-page=”8″ data-scroll=”true” data-button-label=”View More”
Yes, please look at the filtering example on my website.
Update every parameter you want to change.
Thread Starter
sia77
(@sia77)
data-order=”ASC” data-orderby=”meta_value_num” data-post-type=”post, article, event, resource, service, team_member”
So I did as above, and it works beautifully, but here is a question:
It appears that even though I’m sorting by “meta_value_num”, it also sorts by date in DEC order. If I’m correct about that, then I would like to know how is that possible. Please let me know.
Thanks,
Sia77