• Resolved minesh2311

    (@minesh2311)


    Hi i have created a CPT and taxonomy, how do i get this to show under widgets and display on a page with check boxes. Should i use another plugin to get this done? I have set hierarchical: true

    • This topic was modified 5 years, 8 months ago by minesh2311.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Setting the taxonomy to be hierarchical should be getting the job done, regardless of classic vs block editor.

    Can you screenshot what you’re seeing on the side with the taxonomy term metabox?

    Also in case you have multiples, did you make sure to set the correct taxonomy that way?

    Thread Starter minesh2311

    (@minesh2311)

    Hi Michael, thanks for the speedy response.

    Below is the link to the page i want to display it on, for some reason my screen shot wont paste. Is there a way I can send you login details if it helps. I need to add the CPT to the widgets but i cannot get it to display using the normal category widget

    https://avroyshlain.wpdevelopment.co.za/brands/auto-draft/

    Settings for post:
    name: brands
    label: Brands
    singular_label: Brand
    description: All brands by Avroy Shlain
    public: true
    publicly_queryable: true
    show_ui: true
    show_in_nav_menus: true
    delete_with_user: false
    show_in_rest: true
    rest_base: “”
    rest_controller_class: “”
    has_archive: true
    has_archive_string: “”
    exclude_from_search: false
    capability_type: post
    hierarchical: true
    rewrite: true
    rewrite_slug: “”
    rewrite_withfront: true
    query_var: true
    query_var_slug: “”
    menu_position: “”
    show_in_menu: true
    show_in_menu_string: “”
    menu_icon: dashicons-admin-multisite
    custom_supports: “”

    Settings for Taxonomy
    name: brand_category
    label: Brand Categories
    singular_label: Brand Category
    description: “”
    public: true
    publicly_queryable: true
    hierarchical: true
    show_ui: true
    show_in_menu: true
    show_in_nav_menus: true
    query_var: true
    query_var_slug: “”
    rewrite: true
    rewrite_slug: “”
    rewrite_withfront: true
    rewrite_hierarchical: true
    show_admin_column: false
    show_in_rest: true
    show_in_quick_edit: “”
    rest_base: “”
    rest_controller_class: “”
    meta_box_cb: “”
    default_term: “”

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Ah you mean a literal widget from Appearance > Widgets, and not the taxonomy behaving like a category vs a tag when assigning the term. Or perhaps an Elegant Themes PageBuilder widget?

    I don’t personally know at the moment how to do so with the Pagebuilder widget if this is meant for an ET thing. Their support would be better for that. If it’s a standard WordPress widget, I believe there are filters to do things with.

    In both cases, it’s not something that CPTUI handles out of box.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Display CPT in widgets’ is closed to new replies.