Site logo

Archived topic

How can i create dropdown list of categories

13 replies · Started by Ajay on January 11, 2023

Viewing posts 1–14 of 14

i want to show my cpt custom categories into a dropdown list

But a want to show it in my Custom taxonomy which is create by CPT

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

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. Try after_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.

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.

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

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

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.

Is there any solution to create a dropdown list of custom taxonomy?

not working properly

You need to either speak to the plugin author, or you need to give us more information on what is not working ... properly.

This archived topic is closed to new replies.