place cannot use subcategory independently

This topic contains 9 replies, has 4 voices, and was last updated by  Alex Rollin 5 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #437677

    Firdaus Mah
    Expired Member
    Post count: 96

    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: projects

    the 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.

    #437682

    Guust
    Moderator
    Post count: 29970

    You 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.
    Thanks

    #437722

    Firdaus Mah
    Expired Member
    Post count: 96

    I 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.

    #437731

    Guust
    Moderator
    Post count: 29970

    You 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

    #437735

    Firdaus Mah
    Expired Member
    Post count: 96
    This reply has been marked as private.
    #437737

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    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

    #437742

    Firdaus Mah
    Expired Member
    Post count: 96

    oh 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.

    #437744

    Guust
    Moderator
    Post count: 29970

    Please 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.

    #437880

    Firdaus Mah
    Expired Member
    Post count: 96
    This reply has been marked as private.
    #437900

    Alex Rollin
    Moderator
    Post count: 27815

    Very good! Glad you found a method that works for you.

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket