- This topic has 13 replies, 3 voices, and was last updated 2 years, 7 months ago by
David.
-
AuthorPosts
-
January 11, 2023 at 8:40 pm #2492262
Ajay
i want to show my cpt custom categories into a dropdown list
January 11, 2023 at 9:05 pm #2492283Fernando Customer Support
Hi Ajay,
You can use a WordPress Category List Block. Reference: https://wordpress.com/support/wordpress-editor/blocks/categories-list-block/
It has a “Display as dropdown” option.
January 11, 2023 at 9:12 pm #2492289Ajay
But a want to show it in my Custom taxonomy which is create by CPT
January 11, 2023 at 9:14 pm #2492290Fernando Customer Support
You can add it through a Block Element – Hook. Reference: https://docs.generatepress.com/article/block-element-hook/
January 11, 2023 at 9:18 pm #2492293Ajay
I am unable to make a Dropdown for custom taxonomy. i can make it only in the default wp category.Could you provide all the steps which I should work on
January 11, 2023 at 10:13 pm #2492323Fernando Customer Support
1. In Appearance > Elements, create a new Block Element. Reference: https://docs.generatepress.com/article/block-element-hook/
2. Set the hook to your preferred location. Tryafter_header
for instance. You can refer to this as well for some other Hooks: https://docs.generatepress.com/article/hooks-visual-guide/
3. Set the Display rule location.
4. Add a WP Category List Block.
5. In the Block Settings of this Block, enable the “Display as dropdown” option.January 11, 2023 at 10:50 pm #2492353Ajay
i don’t mean that i want to dropdown my Custom taxonomy which is created by CPT plugin I have named that Services. It is not the default category of WP. The category has the option for dropdown but the option for Custom post type taxonomy is not.
January 11, 2023 at 11:03 pm #2492366Fernando Customer Support
I see. Sorry for the misunderstanding.
You’ll need a custom solution for this. I found this plugin which may work: https://wordpress.org/plugins/list-custom-taxonomy-widget/
You can also try the suggestion here: https://wordpress.stackexchange.com/questions/313453/display-custom-taxonomy-as-dropdown-list#:~:text=Below%20is%20the%20easiest%20solution%20I%20use%20for%20displaying%20custom%20taxonomy%20as%20the%20dropdown%20instead%20of%20checkboxes.
It may also be good to ask for suggestions in our Facebook Page: https://www.facebook.com/groups/1113359788719597
January 11, 2023 at 11:49 pm #2492411Ajay
I have installed the plugin but it is visible in the Widget section while designing the homepage and other layouts it is not visible. how to solve that? look in the private box
January 12, 2023 at 12:50 am #2492444Fernando Customer Support
GP shouldn’t be causing this, and there’s no code in GP that should prevent it from showing. It would be best to reach out to the support of this plugin regarding this issue.
January 12, 2023 at 1:46 am #2492503Ajay
Is there any solution to create a dropdown list of custom taxonomy?
January 12, 2023 at 7:22 am #2492808David
StaffCustomer SupportHi there,
this plugin allows you to create shortcodes to do that:
https://wordpress.org/plugins/wp-category-dropdown/
found a support topic on its forum for a similar request:
https://wordpress.org/support/topic/dropdown-for-specific-taxonomy/
January 13, 2023 at 12:47 am #2493861Ajay
not working properly
January 13, 2023 at 4:08 am #2494054David
StaffCustomer SupportYou need to either speak to the plugin author, or you need to give us more information on what is not working … properly.
-
AuthorPosts
- You must be logged in to reply to this topic.