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 TicketTagged: custom taxonomies, non-hierarchical, taxonomies
-
AuthorPosts
-
March 15, 2017 at 11:31 am #367429
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!
March 15, 2017 at 3:38 pm #367508Hi 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!
March 16, 2017 at 2:51 pm #367756Not 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
March 17, 2017 at 10:22 am #367946Another 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!
March 17, 2017 at 11:18 am #367961Hi 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
March 20, 2017 at 3:22 pm #368629Hi 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!
March 20, 2017 at 4:47 pm #368644Hi 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
March 20, 2017 at 5:20 pm #368655Stiofan,
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?
ThanksMarch 20, 2017 at 6:02 pm #368679Hi 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
March 20, 2017 at 7:00 pm #368700Thanks Stiofan!
In fact, I was thinking about it and thought a solution that could work.
Please, close this thread.
Fabio
March 20, 2017 at 7:17 pm #368711Great! 🙂
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket