• Resolved kemmieg

    (@kemmieg)


    I’ve created a custom post type and forgot to add supports author. I’ve already created a few posts and wanted to add author support, but when I edit the post type and put the check by Author, it doesn’t add it. Is there a function I can put in that will add the author field to the custom post type or do I have to re-create the post type to get this to work?

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

    (@tw2113)

    The BenchPresser

    Shouldn’t need to recreate anything, as far as I know.

    Just to check, you’ve gone back to edit your CPTUI post type settings for each one you want author metabox for, and made sure to check that checkbox.

    Next, you went to one of the edit screens for the post type, clicked on “Screen options” at the top, and made sure that the checkbox there was checked to show the metabox in the actual screen below?

    Basically potentially two spots here, one to get the support added, one to show the actual box.

    Thread Starter kemmieg

    (@kemmieg)

    Just to check, you’ve gone back to edit your CPTUI post type settings for each one you want author metabox for, and made sure to check that checkbox.

    Yes

    Next, you went to one of the edit screens for the post type, clicked on “Screen options” at the top, and made sure that the checkbox there was checked to show the metabox in the actual screen below?

    There is not checkbox under screen options that is the problem

    Basically potentially two spots here, one to get the support added, one to show the actual box.

    • This reply was modified 7 years, 2 months ago by kemmieg.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you visit the Tools tab, and copy/paste the blob of text in the right textarea for the “Post Types” tab?

    This will allow me to import all of your settings into my own install, and see if I can recreate the issue. Also please let me know which post types specifically aren’t working like expected.

    There shouldn’t be any extra need for functions/setup than those two checkboxes.

    Thread Starter kemmieg

    (@kemmieg)

    {“offers”:{“name”:”offers”,”label”:”Offers”,”singular_label”:”Offer”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”show_in_rest”:”false”,”rest_base”:””,”has_archive”:”true”,”has_archive_string”:”offers”,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”50″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:”http:\/\/mibb.wpengine.com\/wp-content\/uploads\/2017\/08\/offer_icon.png”,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”author”,”post-formats”],”taxonomies”:[],”labels”:{“menu_name”:”B&B Offers”,”all_items”:”All Offers”,”add_new”:”Add New”,”add_new_item”:”Add New Offer”,”edit_item”:”Edit Offer”,”new_item”:”New Offer”,”view_item”:”View Offer”,”view_items”:”View Offers”,”search_items”:”Search Offers”,”not_found”:”No Offers Found”,”not_found_in_trash”:”No Offers Found in Trash”,”parent”:”Parent Offer”,”featured_image”:”Featured Image for this Offer”,”set_featured_image”:”Set Featured Image for this Offer”,”remove_featured_image”:”Remove Featured Image”,”use_featured_image”:”Use Featured Image for this Offer”,”archives”:”Offer Archives”,”insert_into_item”:”Insert into Offer”,”uploaded_to_this_item”:”Upload to Offer”,”filter_items_list”:”Filter Offers List”,”items_list_navigation”:”Offers List Navigation”,”items_list”:”Offers List”,”attributes”:”Offer Attributes”,”parent_item_colon”:”Parent Offer”},”custom_supports”:””}

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Imported with no trouble, but am not presently able to recreate it.

    Both images are clickable to see larger versions.

    Screen options area:
    https://cloudup.com/c6QAgKgxEQi

    Author metabox:
    https://cloudup.com/cZsCLl0MeTT

    Possible that something else from your install is removing things? Do you have a different spot that is removing default metaboxes or metabox support that may be affecting this unintentionally?

    Thread Starter kemmieg

    (@kemmieg)

    Possible that something else from your install is removing things? Do you have a different spot that is removing default metaboxes or metabox support that may be affecting this unintentionally?

    Not that I can think of. None of the other posts or plugin post-types are having this issue so I don’t know where I would have done anything that would be affecting it.

    Thank you for taking a look at it. I’ll just have to keep searching to see if I can find what would be keeping this particular metabox to not show up.

    Thread Starter kemmieg

    (@kemmieg)

    It looks like if I create a new post type and give it author support when it’s set up that it works properly. I think I’m just going to have to recreate the post type and set up the author support when the post type is created.

    Thread Starter kemmieg

    (@kemmieg)

    I found the problem. It’s the Advanced Custom Fields plugin. I turned off support there.

    Thanks for your help.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    That makes sense. Glad you got that figured out.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Author Support’ is closed to new replies.