• Resolved diywebmastery

    (@diywebmastery)


    Hi – I’ve created some custom post types that do not require anything to be typed into the WordPress editor – the user can supply content for each CPT instead via several Advanced Custom Fields in each case.

    I set the CPT UI Supports settings to only include “title” and “excerpt”. This means the screen isn’t then cluttered with the WordPress main editor. But the excerpt box only shows up if I also add support for the editor.

    Is there any way to get an excerpt box to show so that we can have excerpts without having to also display the editor? Thank you.

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

    (@tw2113)

    The BenchPresser

    Can you share your post types settings via CPTUI menu > Tools and the blob of content on the right hand side? I’m not managing to recreate this issue. I’m able to have just title/excerpt, especially with classic editor.

    Thread Starter diywebmastery

    (@diywebmastery)

    Hi Michael

    Thank you. Here is a screenshot of what I can see when I have only title and excerpt selected. There is no excerpt box. It wasn’t hiding in screen options either.

    https://drive.google.com/file/d/1UZgBnvU5YGyidwRAS_zX__3urDj-N0o3/view?usp=share_link

    Here is blob of information you asked for. I have two CPTs; both only require title and excerpt. Maybe I missed some other setting??

    Liz

    {"testimonial":{"name":"testimonial","label":"Testimonials","singular_label":"Testimonial","description":"Unsolicited customer testimonials","public":"true","publicly_queryable":"true","show_ui":"true","show_in_nav_menus":"false","delete_with_user":"false","show_in_rest":"true","rest_base":"","rest_controller_class":"","rest_namespace":"","has_archive":"true","has_archive_string":"testimonials","exclude_from_search":"false","capability_type":"post","hierarchical":"false","can_export":"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-star-empty","register_meta_box_cb":null,"supports":["title","excerpt"],"taxonomies":[],"labels":{"menu_name":"Testimonials","all_items":"All Testimonials","add_new":"Add new","add_new_item":"Add new Testimonial","edit_item":"Edit Testimonial","new_item":"New Testimonial","view_item":"View Testimonial","view_items":"View Testimonials","search_items":"Search Testimonials","not_found":"No Testimonials found","not_found_in_trash":"No Testimonials found in bin","parent":"Parent Testimonial:","featured_image":"Featured image for this Testimonial","set_featured_image":"Set featured image for this Testimonial","remove_featured_image":"Remove featured image for this Testimonial","use_featured_image":"Use as featured image for this Testimonial","archives":"Testimonial archives","insert_into_item":"Insert into Testimonial","uploaded_to_this_item":"Upload to this Testimonial","filter_items_list":"Filter Testimonials list","items_list_navigation":"Testimonials list navigation","items_list":"Testimonials list","attributes":"Testimonials attributes","name_admin_bar":"Testimonial","item_published":"Testimonial published","item_published_privately":"Testimonial published privately.","item_reverted_to_draft":"Testimonial reverted to draft.","item_scheduled":"Testimonial scheduled","item_updated":"Testimonial updated.","parent_item_colon":"Parent Testimonial:"},"custom_supports":"","enter_title_here":"Add Testimonial"},"customer-question":{"name":"customer-question","label":"Customer Questions","singular_label":"Customer Question","description":"Questions that PET Plus customer submit","public":"true","publicly_queryable":"true","show_ui":"true","show_in_nav_menus":"false","delete_with_user":"false","show_in_rest":"true","rest_base":"","rest_controller_class":"","rest_namespace":"","has_archive":"true","has_archive_string":"customer-questions","exclude_from_search":"false","capability_type":"post","hierarchical":"false","can_export":"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-users","register_meta_box_cb":null,"supports":["title","excerpt"],"taxonomies":["question_tag"],"labels":{"menu_name":"Customer Questions","all_items":"All Customer Questions","add_new":"Add new","add_new_item":"Add new Customer Question","edit_item":"Edit Customer Question","new_item":"New Customer Question","view_item":"View Customer Question","view_items":"View Customer Questions","search_items":"Search Customer Questions","not_found":"No Customer Questions found","not_found_in_trash":"No Customer Questions found in bin","parent":"Parent Customer Question:","featured_image":"Featured image for this Customer Question","set_featured_image":"Set featured image for this Customer Question","remove_featured_image":"Remove featured image for this Customer Question","use_featured_image":"Use as featured image for this Customer Question","archives":"Customer Question archives","insert_into_item":"Insert into Customer Question","uploaded_to_this_item":"Upload to this Customer Question","filter_items_list":"Filter Customer Questions list","items_list_navigation":"Customer Questions list navigation","items_list":"Customer Questions list","attributes":"Customer Questions attributes","name_admin_bar":"Customer Question","item_published":"Customer Question published","item_published_privately":"Customer Question published privately.","item_reverted_to_draft":"Customer Question reverted to draft.","item_scheduled":"Customer Question scheduled","item_updated":"Customer Question updated.","parent_item_colon":"Parent Customer Question:"},"custom_supports":"","enter_title_here":"Add Customer Question"}}

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Here’s what I’m seeing for both “add new” screens

    Screen Shot

    Screen Shot

    Is it possible there’s some ACF settings that are preventing the display of excerpt?

    Thread Starter diywebmastery

    (@diywebmastery)

    Thanks for looking at this Michael. I have tried switching everything off but nothing makes the excerpt box turn up. I think it must be to do with the theme? Inasmuch as I don’t have one as I am using Oxygen Builder. I will be switching to something else soon so hopefully, it will start behaving correctly then.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Worth checking through the theme, but it’s not a guaranteed source of the issue. I’m wondering if maybe the post type in question was originally registered there or at least somewhere else, and that code still exists and it doesn’t have excerpt support in that spot.

    The logic here being that you can register the same content types in multiple locations without any sort of errors being experienced, and the one that gets run last, is the version used.

    Thread Starter diywebmastery

    (@diywebmastery)

    I could try creating the post type again from scratch … I will be more mindful next time I do this. It was created here ….

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Excerpt Without Editor’ is closed to new replies.