Insert new taxonomies on CPT's add listing form

This topic contains 10 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #367429

    Fabio Bianchi
    Buyer
    Post count: 29

    Hello,

    I need to use more than one taxonomy for my CPT. How can I customize the “add listing form” with my new taxonomies?

    Second question: why I just can use a hierarchical taxonomy (category) on “add listing form”? Can I change that using hooks or something similar? How?

    My site it’s a vinyl records stores, and I let the owners choose the maximum of 5 music genres for each store, and I think a non-hierarchical taxonomy with all the genres suits best for this case.

    Thanks!

    #367508

    Kor
    Moderator
    Post count: 16516

    Hi Fabio,

    Sorry, I’mn not sure if I’m getting this. Do you mean you can’t select multiple categories as shown in this screenshot? http://prntscr.com/ekaxn0 . If not, could you elaborate a little bit more? Perhaps some screenshots?

    Thanks!

    #367756

    Fabio Bianchi
    Buyer
    Post count: 29

    Not what I meant.

    So let’s go by parts.

    Firstly, I have a taxonomy with a bunch of different terms. This taxonomy is set as non-hierarchical (like tags).
    But in my “Add listing” form, I just can select the hierarchical taxonomy (like category).

    Why I can’t have a non-hierarchical taxonomy?

    Thanks

    #367946

    Fabio Bianchi
    Buyer
    Post count: 29

    Another question

    How can I assign more taxonomies to one CPT and also on the Advanced Search?

    I want to offer the visitor the option to filter his search by more than one parameter(taxonomy).

    Thanks!

    #367961

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Fabio,

    If you want non-hierarchical categories, then just don’t add and child cats…

    We have our own custom field system so there is no need to use multiple taxonomies, you can go to GD>Place Settings and add any kind of custom field you want, you can then tell it so show that in different parts of the advanced search. Please see here: https://wpgeodirectory.com/docs/category/addons/search-filters/

    Thanks,

    Stiofan

    #368629

    Fabio Bianchi
    Buyer
    Post count: 29

    Hi Stiofan,

    as you said in the last reply, GD has “it’s own custom field system so there is no need to use multiple taxonomies”, that’s ok, but I can’t use custom fields to set parameters prior the search.
    Can you say why the GD plugin doesn’t support? Because I create a taxonomy but I can’t associate with the search add-on.
    Can I have more than one taxonomy even with custom code? Can you show me a way on how to do it?

    Another question, but still related to the categories:

    I have two CPTs that will share the exact same category terms and their respective slugs. Have I to replicate the terms to both CPTs? I’m worried about SEO on duplicate slugs for different CPTS.

    Thanks for your help!

    #368644

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Fabio,

    #1 I really don’t know what you mean, or what you are trying to do, if you can explain it in more detail i am sure our search can do it 🙂

    #2 There is no way to share these they should be recreated.

    Thanks,

    Stiofan

    #368655

    Fabio Bianchi
    Buyer
    Post count: 29

    Stiofan,

    the thing is like it: I think that GD offers a lot of limitations in terms of categorizing and later filter the listings.

    Like I said on the other topic, I don’t understand why GD is locked to the point of put a limit to the admin create new and different websites based on directories.

    So I’m trying to create another taxonomy to associate with my CPTs and use to create pages based on the terms of this new taxonomy.

    Because if I use just custom fields, I have to create a lot of them, turning the interface and the user experience unpleasant.

    Can you help me?
    Thanks

    #368679

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Fabio,

    GD has the most extensive custom fields and filtering options i have seen, you are just not trying it, it is far better then more taxonomies, you should forget that and use custom fields.

    Please explain what you need and i will explain how to 🙂

    Stiofan

    #368700

    Fabio Bianchi
    Buyer
    Post count: 29

    Thanks Stiofan!

    In fact, I was thinking about it and thought a solution that could work.

    Please, close this thread.

    Fabio

    #368711

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Great! 🙂

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount