"Community Partnership" CPT not showing up

Support Meta Box AIO "Community Partnership" CPT not showing upResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #45328
    SridharSridhar
    Participant

    Facing a strange problem. I am using Meta Box 5.9.7 and Meta Box AIO 1.26.2.

    Created this CPT:

    screenshot

    But it is not appearing in the left side admin menu anywhere.

    This problem is not present with other CPTs.

    Any idea?

    #45329
    SridharSridhar
    Participant

    Image:

    screenshot

    #45330
    SridharSridhar
    Participant

    Got it.

    There's a limit of 20 characters for CPT slug.

    Meta Box silently fails when it should show an error and not create the CPT if the number of characters exceed 20.

    #45331
    Juan AntonioJuan Antonio
    Participant

    This is because of the slug lenght, it should be 20 chars max

    "Make sure your custom post type identifier does not exceed 20 characters as the post_type column in the database is currently a VARCHAR field of that length."
    https://developer.wordpress.org/plugins/post-types/registering-custom-post-types/#:~:text=Make%20sure%20your%20custom%20post,being%20used%20by%20WordPress%20core.

    #45339
    PeterPeter
    Moderator

    Thanks, Juan. You are correct. It's the standard feature of WordPress, not Meta Box. There is a hint next to the slug, about the characters exceeding, screenshot https://imgur.com/NuavWwD

    I will inform the development team to add an error message when the characters exceed 20.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.