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

    (@tw2113)

    The BenchPresser

    Only limit would be the amount of data that the options table value column can store, and 4 post types wouldn’t reach that at all.

    What post type are you trying to register for the 4th one?

    Hello,

    same problem here. The first 3 are working fine. The 4th I cannot activate in the sidebar-menu (WordPress dashboard).

    Configuration is like in the other post types, take a look:

    name: tipp
    label: Tipps
    singular_label: Tipp
    description:
    public: true
    show_ui: true
    show_in_nav_menus: true
    show_in_rest: false
    rest_base:
    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: 10
    show_in_menu: true
    show_in_menu_string:
    menu_icon:
    custom_supports:

    Any idea?

    Regards

    Thread Starter Johan Stam

    (@johan-stam)

    I think the problem was that the post type was already registered and had stored data in the database. After deleting the post type I couldn’t add a new one with the same name.
    So I created a new one with a slightly different name and now it works fine.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    e-z, my hunch is the menu position value. I wager it’s colliding with a different one and thus is not appearing in the menu because of that.

    Johan, that should have just “re-registered” and picked up that data, not prevent it from registering as a whole. Unless that was part of the confusion. It was picking up the old data and that wasn’t intentional on your part.

    Hello Michael,

    the position value is normally empty. I tried out this “10” only for example reasons. Both versions aren’t working.

    Regards
    e-z

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not sure on your part then e-z. I have like 7 or 8 at the moment in my dev install, but I won’t necessarily have the same plugins and theme either.

    Michael,

    I found the problem. I’m using the PRO version of the plugin “User Role Manager”. There the new CPT weren’t activated automatically for role “admin”. I fixed it and now it works.

    Thanks for inspiration!
    Regards

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sounds good. Thanks for the update and solution to what you were seeing, e-z, in case someone else experiences the same.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Maximum Post Types?’ is closed to new replies.