-
I’ve documented the EMD shortcode now
http://userproplugin.com/userpro/docs/#shortcode_emd
Here you go.
If you feel that any parameter/option is missing or want new doc asap for any specific shortcode, please let me know asap.
Hi Ahmed,
Is there a way to show the verified members at the top of the list? I mean with one line of shortcode. Because at the moment I know I can display only the verified members on top with one line of shortcode, but the problem is with the pagination…
I need to do something like this :
[userpro template=list list_per_page=20 list_verified=1]
Is it possible to add the option : list_verified=2 (list on top verified members and all other members below??)
And that could work with the EMD shortcode as well?
Thanks,
That’s so tricky because WordPress does not support something like that in its query yet 🙁 unfortunately. They have to be sorted in specific order e.g. latest first (Not like featured listing first, then normal listing) I understand your view
Why not assign a meta value to verified members then query that?
Couldn’t you just query all members by meta_value then sort in descending order?
You can sort posts by likes count for example, yes. But you can’t sort them by meta_value=1 (there’s no descending order in this case)
Even if every verified member had value=10 and non-verified had value=1? 😛
Ok thank you guys! I understand that there is no way to accomplish that yet with one line of shortcode…
With two line of shortcode? : one with verified=1 and another with verified=0
My problem is with the pagination with two line of shortcode 🙁
If anybody ran into that problem and have a solution feel free to share.
Cheers!
It can be done, I just didn’t find any way on the web or codex to do it.
Sorry kreacom, I didn’t understand your last question?
Hi Ahmed,
I just want to do this :
Verified members on top
[userpro template=memberlist memberlist_verified=1]Non Verified members after
[userpro template=memberlist memberlist_verified=0]But the problem is that memberlist_verified=0 is listing the verified members and the non-verified members…
Is there a way to accomplish that somehow?
The problem is that each row of shortcode as it’s own pagination, can you make it work with only one pagination for two lines of shortcodes?
Thanks,
You must be logged in to reply to this topic.