place cannot use subcategory independently
This topic contains 9 replies, has 4 voices, and was last updated by Alex Rollin 7 years, 3 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: subcategory issue
-
AuthorPosts
-
July 10, 2018 at 7:38 am #437677
One of the main reason I bought this is because I was told it will work with subcategory. Meaning I have maincategory listing, and for each listing item, i can have multiple item of a subcategory.
In my case, I have this structure
maincategory: property developer
subcategory: projectsthe rational for this is a property developer may have many projects (housing projects).
However, we are not able to add in the above manner.
Here is one entry which is a “projects” category but its also categorized as “property developer” category which is not correct.
http://harta.net/places/malaysia-1/prima-setapak/kuala-lumpur-1/property-developer-projects/100-residency-prima-setapak/ – this should only be under “projects” listing of under a certain property developer (not all)
I am attaching the screenshots on how we tried adding it now (which is incorrect) for places.
We setup “projects” which has parent “property developer”. You could see in the screenshot, a few steps to set the category projects.July 10, 2018 at 7:53 am #437682You cannot add a listing to a subcategory without the listing being in the parent category.
That is why a subcategory is called a SUB-category.
ThanksJuly 10, 2018 at 10:14 am #437722I had this comment from geodirectory when I first wrote in before buying:
with GeoDirectory and the custom post type add-on you can create as many listing type as you want, each with its categories and sub-categories.
https://wpgeodirectory.com/downloads/custom-post-types/Please let me know if this applies and solves this and how ? Thanks.
Its very important for me to achieve this, i believe some wordpress sites I’ved seen done this way whereby they have subcategories that dont overlap in this way.
July 10, 2018 at 10:43 am #437731You do not have overlapping subcategories. You have a SUB category and a parent category. If you do not want nested categories, change your subcategories to normal categories, and they no longer will overlap.
with GeoDirectory and the custom post type add-on you can create as many listing type as you want, each with its categories and sub-categories.
That comment is about Custom Post Types, it does not say you can have a listing in a subcategory without it being in a parent category.
Thanks
July 10, 2018 at 10:55 am #437735This reply has been marked as private.July 10, 2018 at 11:11 am #437737Hello,
WP Categories are hierarchical which means they inherit the parent properties, a child cat is also in the parent, maybe you want to use tags which are not hierarchical?
Or you could create a “property developer” CPT and then link to their projects (CPT)
There are a few ways to do it but they way you are trying to do it now is not right.Thanks,
Stiofan
July 10, 2018 at 11:18 am #437742oh that sounds like maybe a good idea using tags. Can you provide some guidance ? Or you mention CPT.
it doesnt need to be “category hierarchical in WP sense” but it is a certain hierarchy i want it to be associated. tags or CPT either way please provide guidance, thank you very much.
July 10, 2018 at 11:27 am #437744Please have a look at https://wpgeodirectory.com/docs/linking-custom-post-types/#usage
You can create two Custom Post Types, and then link projects optionally to a developer.July 11, 2018 at 9:17 am #437880This reply has been marked as private.July 11, 2018 at 11:23 am #437900Very good! Glad you found a method that works for you.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket