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.
01/03/2017 at 8:16 am #405526
I have a page that shows family entries. If you open a family entry it shows the individual members of that family, including a link to that individual.
When using ‘exclude_category’ shortcode on that page, the link to the individual does not work (it says ‘no results found’).
When using ‘category’ or ‘category_in’ shortcodes the link to the individual works correctly.
I am using the exclude_category in order to be able to use the dropdown category selector with the right categories.
But I also would like to be able to click on an individual within a family.
Is there a possibility to use both?
Rolf01/03/2017 at 1:02 pm #405575
You should add the individuals to a category that is no in category 13, then the links should work. If you individuals are assigned category 13, the links will not work because you’ve manually forced them to too. Does that help?01/03/2017 at 2:22 pm #405580
With this in the shortcode the links will not work: exclude_category=”1,2,4,6,7″
These are categories used for individuals only.
With this in the shortcode the links work correctly: category=”9,10,11,12,13,14,15″
These are categories used for families only.
In both cases the output on the page is exactly the same (see image), only in the first one the links do not work properly.
Do you mean that if I don’t use category 13, the links should work also in the first one?
Attachments:You must be logged in to view attached files.01/04/2017 at 12:57 pm #405706
Is category 13 a child of one of the the excluded categories? If it is, then you would need to assign the individuals to a category which is not being excluded. Excluding a category also excludes all the children categories.
Does that help?01/05/2017 at 4:45 am #405777
Category 7 is a child of category 1. If I take that out it does not solve the problem.
But I think I understand the problem now:
If you show a list of families on a page and you exclude categories to which individuals are assigned, the following will happen: when you open a family it will show all individuals, even those which are excluded, but the link to that individual will not work.
It means that you can not use exclude_category and the enable_category_select=’TRUE’ together in this case. Because it will show individual categories in the selector, while the page contains a list of families.
What I would need is the possibility to exclude individual categories (1,2,4,6) in the selector on a page that lists families with categories 9,10,11,12,13,14,15.01/05/2017 at 10:46 am #405807
You can of lost me going from category 13 to category 7, but, yes, if you exclude a category, that includes all its childrens categories too so entries in those excluded categories will not be found.
I think the only option would be to use CSS to hide the items in the drop down you do not wish to be displayed. The problem is that if you add new categories, you’ll have to update the CSS.
I helped another quite awhile ago do the same, I can’t remember the CSS selectors required to hide them but I do remember they were quite challenging to come up with.
If you can share a link to you directory page with the options you want hidden, I’ll see if I can come up with the CSS to hide them.
You cannot reply to this support topic. Please open your own support topic.