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.
Premium Support
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.
Free Support
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.
- This topic has 6 replies, 2 voices, and was last updated 7 years, 9 months ago by
John Lutz.
-
AuthorPosts
-
11/12/2018 at 5:39 pm #476890
John Lutz
ParticipantSo I’ve had cmap for a while and really like it but I only needed it for a single purpose at the time (doctors), now I need to create a 2nd directory for a whole new category (dispensaries)
Everything seems to add itself to the original directory & I can’t seem where to find to create another one?
Thanks.
11/12/2018 at 6:41 pm #476895Steven Zahm
Keymaster@ John
Here’s a link to a FAQ which explains how to do this with cMap:
Hope this helps!
11/12/2018 at 7:57 pm #476903John Lutz
ParticipantOk so making some progress, yes thank you.
This is my shortcode:
[code][connections category='ohio-dispensaries' enable_category_by_root_parent=true][/code]
It does add a new section on this page:
https://www.ohiocannabis.com/dispensaries
But for some reason it requires me to use the drop down box to get anything to populate & I only have 2 categories that seem to be doubled up in the “Select Category” drop down box?
11/13/2018 at 9:38 am #476939Steven Zahm
Keymaster@ John
Please use the
categoryshortcode option as shown in the FAQ. Make sure both the dispensary categories are a child of a “Dispensaries” category and that you use the category ID of the “Dispensaries” category for thecategoryshortcode option value.Hope this helps!
11/19/2018 at 8:33 am #477311John Lutz
ParticipantHey thanks for the help Steve, I’ve read the FAQ a few times and have been playing around with the plugin and these additional categories, I’m just a little confused still.
If I use the code: [connections category='ohio-dispensaries' enable_category_by_root_parent=true]
I get double categories showing up in the dropdown box that I have to manually chose from. (which I will leave in place so you can visually see it on my website)
But if I use this code:
[connections category='dispensaries']
I get a normal, single list of the available categories, no doubles. But still have to manually chose a category from the dropdown list.
So why is that extra code doubling the categories in the drop down & What benefit does adding the “enable category by root parent” code actually do if the shorter code works?
Also, is there a way to set this new category & directory to have those connections already loaded up on the page? Right now you have to manually choose it from the drop down and if people aren’t familiar with it, they may not see it and therefore won’t be as useful.
The original directory with just the code [connections] works great and pre-loads all of my doctors profiles on the page, no manual category selection is needed.
http://www.ohiocannabis.com/doctors
How do I do that for this 2nd category/directory on the new page?
http://www.ohiocannabis.com/dispensaries
Thanks Steve!
11/19/2018 at 9:31 am #477315Steven Zahm
Keymaster@ John
You can not use the category slug with the category shortcode option. You must use the category ID as explained in the FAQ and the doc for the option itself. Here’s another example…
[connections category='4' enable_category_by_root_parent=true]Change
4to the actual category ID for the Ohio Dispensaries category.Hope this helps!
11/19/2018 at 9:39 am #477316John Lutz
ParticipantAhh ok, yes that was the problem and things seem to be working properly now.
I’ll let you know if I have any other issues, but I should be gtg now.
As always, really appreciate your super prompt help.
Thanks,
Johnny
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
