• Resolved a.a.martines

    (@aamartines)


    Before the WP 5.5 update, I created a CPT that only supports Title. After updating to 5.5, I wanted to add support for Featured Image.

    I checked the Featured Image box under Supports for the CPT, but the option to choose a featured image didn’t show up when I tried to create a new post. I checked Screen Options to confirm that it just wasn’t there.

    I switched from using the Classic Editor to the Block Editor and it showed up. If I switch back to the Classic Editor, it disappears again.

    Ideally, I’d like to be able to use the Classic Editor with my CPT. Are you able to replicate this issue or is it happening only on my site?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not managing to replicate at least at the moment with a very quick post type. If you want, I’m more than happy to do a quick import of your CPTUI settings into my local install and see if something stands out there.

    Just go to the Tools menu in our CPTUI section and on the right will be a “Export Post Types settings” heading that you can use to grab the settings. Paste that over to me and I’ll see what I can come up with.

    Thread Starter a.a.martines

    (@aamartines)

    Much appreciated, Michael! Thanks! It’s the “Prayer Requests” post type that’s giving me trouble:

    {“link”:{“name”:”link”,”label”:”Podcasts”,”singular_label”:”Podcast”,”description”:””,”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”:”false”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”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-format-audio”,”supports”:[“title”],”taxonomies”:[],”labels”:{“menu_name”:””,”all_items”:””,”add_new”:””,”add_new_item”:””,”edit_item”:””,”new_item”:””,”view_item”:””,”view_items”:””,”search_items”:””,”not_found”:””,”not_found_in_trash”:””,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””,”item_published”:””,”item_published_privately”:””,”item_reverted_to_draft”:””,”item_scheduled”:””,”item_updated”:””},”custom_supports”:””},”prayer_request”:{“name”:”prayer_request”,”label”:”Prayer Requests”,”singular_label”:”Prayer Request”,”description”:””,”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”:”prayer-requests”,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”rewrite”:”true”,”rewrite_slug”:”prayer-request”,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:””,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:”dashicons-admin-site”,”supports”:[“title”,”editor”,”thumbnail”],”taxonomies”:[],”labels”:{“menu_name”:””,”all_items”:””,”add_new”:””,”add_new_item”:””,”edit_item”:””,”new_item”:””,”view_item”:””,”view_items”:””,”search_items”:””,”not_found”:””,”not_found_in_trash”:””,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””,”item_published”:””,”item_published_privately”:””,”item_reverted_to_draft”:””,”item_scheduled”:””,”item_updated”:””},”custom_supports”:””}}

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    So I imported, changed nothing, and this is what I’m seeing below. If the screenshot is really small, it should also be clickable to a larger version

    https://cloudup.com/clUVUUmA6E0

    Thread Starter a.a.martines

    (@aamartines)

    Hmm ok. Definitely a problem or conflict on my end. I’ll troubleshoot futher. Thanks for your help!

    • This reply was modified 4 years, 2 months ago by a.a.martines.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Let me know what you find out, I’m a bit curious at this point.

    Perhaps a lead, or at least the best lead I can think of, would be https://developer.wordpress.org/reference/functions/add_theme_support/#post-thumbnails

    My local install is using TwentyNineteen so the post thumbnails support would be declared by default. The theme you’re on may not have it.

    Thread Starter a.a.martines

    (@aamartines)

    I’m just on a basic Astra child theme, but we have about a billion plugins, so I’m guessing one of them is the problem. I’ll keep you posted!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    hey @aamartines just wanted to check and see if you found any headway with this.

    Thread Starter a.a.martines

    (@aamartines)

    No luck, unfortunately! I switched off all plugins except the Classic Editor and CPT UI and switched to the Twenty Twenty theme, and the issue persists for my existing “Prayer Requests” CPT. However, when I create a new CPT and toggle supports on and off, it seems to behave as expected.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Interesting. Wish I had a better answer still, but it sounds like you have something potentially workable enough for the moment?

    Thread Starter a.a.martines

    (@aamartines)

    Yup! Fortunately, this is just a development site and the CPT didn’t have any real entries, so I just deleted it and re-created it, which fixed the issue.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sounds good. Gonna mark this as resolved for the time being as well then.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Supports not showing up in Class Editor’ is closed to new replies.