Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 0.7.6.3, category_in
- This topic has 7 replies, 4 voices, and was last updated 9 years, 12 months ago by Steven Zahm.
04/04/2013 at 7:47 am #255960rosalieParticipant
I have connections pro cmap running here – http://www.flutetutor.com.au/tuition-directory/find-a-teacher/
the shortcode I am using is: [connections page_limit=25 width=900 connections order_by='State|SORT_ACS,state|SORT_ACS,city' show_empty_categories='false' show_category_count='true' str_cell_phone='Phone' str_personal_email='Email' str_title='Qualifications' enable_map='false' str_home_addr='Location' addr_format='%label% %city%, %state%, %country% %line1%'connections category='2,3,4,5,6,7,8,9,10,11,12' enable_category_by_root_parent=true]
My dilema is that I want to use connections to show lists in 2 places which share location categories but which are separated based on a role category… that is, if they are listed as being in the category role/flute teacher then they should appear on the above page but if they are listed as being in the category role/accompanist then they should appear on a similar page which is to be our accompanist directory (http://www.flutetutor.com.au/find-an-accompanist/ )…
I hope this makes sense? I tried achieving this by using lists (loading teachers as individuals and accompanists as organizations) however I really need to list everyone as an individual as the organisation layout isn’t appropriate…
Rosalie04/04/2013 at 2:12 pm #255985
Try adding the category_in shortcode option to your shortcode. So if teachers are category 20, you would add: category_in=20 and if accompanists are in category 30, you would add: category_in=30
I think that should do it. Let me know.04/04/2013 at 6:53 pm #256010RosalieGuest
Yes! It worked perfectly – thank you!04/04/2013 at 7:34 pm #256017
Good to know! I had to really think about the solution and even look at the code to see it it might work.
If you have a moment, could you leave a review?
http://wordpress.org/support/view/plugin-reviews/connections04/04/2013 at 7:37 pm #256019RosalieGuest
As always you are briliant – will definitely leave a glowing review. If you need an example at all – here are the two places on my site with this working beautifully:
Cheers06/07/2013 at 8:43 am #261928bobbyauParticipant
I think this is what i’ve been trying to achieve and after trying many variations of categoryXXXX shortcode entries i’m not really getting anywhere.
I’ve got a page titled coffee roasters and under this I currently have only one state/territory (blog – id4 South Australia) which i’ve done here Now i wish to add more states (which will be blog posts) under the coffee roasters page but it needs to show everything (panels and category dropdown) relevant to the roasters in that state.
In my categories I have:
– South Australia id4
– Victoria id15
2 Star rating id11
3 star rating id12
I currently use this in my first post
[connections category='2,3,4,5,6,7,8,10,11,12,13,14' str_home_addr="Location" str_home_phone="Phone" addr_format="%label% %line1% %line2% %city%, %state% %zipcode% %country%" str_work_email="Email" str_bio_hide="Close Notes" str_bio_show="Show Notes" str_bio_head="" map_frame_height=300 page_limit=20 str_personal_email="Email"]
Is this possible?
I hope i have explained myself properly. Thanks.
06/09/2013 at 12:58 am #262140bobbyauParticipant
- This reply was modified 9 years, 12 months ago by bobbyau.
No worries i’m just going to combine all Australian states into one post.
Thanks.06/09/2013 at 8:24 am #262169
I’m a little confused by what you mean by post … but what it think you’re seeking to do is explained in this FAQ.
You cannot reply to this support topic. Please open your own support topic.