jkdsouljah
Member
Posted 1 year ago #
Hi! I half got an answer to my problem here...
http://wordpress.org/support/topic/plugin-connections-non-alphabetic-order
....but not quite. I need to put management team members at the top, like a sticky, followed by the rest of the staff in that department, which can be in alphabetical order.
I modified the suggestion in the thread above, as follows:
[connections category=2 connections_list id='1,2' order_by='id|SPECIFIED']
which works, except that it only lists id's 1 & 2 and excludes the rest of the list. I only want to make id's 1 & 2 stick to the top of the list in that order. Does that make sense? Is there a way to do that?
Many thanks
http://wordpress.org/extend/plugins/connections/
jkdsouljah
Member
Posted 1 year ago #
I tried to work around this by listing only the members I want at the top in a specific category, and then adding an additional shortcode for the remainder of the category.
E.g.
[connections category=2 connections_list id='1,2' order_by='id|SPECIFIED']
[connections category=2]
This almost works except I don't know how to exclude the id's 1 & 2 from the second list, if it can even be done. Negative ID values didn't seem to work.
Any help is appreciated!
jkdsouljah
Member
Posted 1 year ago #
Not the most elegant solution, but I created two subcategories for each category, one for the ones I want sticking to the top, one for the "rest". And then simply put the shortcode in as
[connections category=1]
[connections category=2]
If anyone has a more elegant solution, would love to learn about it.