Finally I found it. I was sure WP_DEBUG in wp-config.php was set to true, but it wasn’t. So after changing this I got a message saying that 20 characters is maximum for a post type name.
[Sun Apr 08 18:29:44.083267 2018] [:error] [pid 5901] [client
127.0.0.1:45860] PHP Notice: register_post_type wurde fehlerhaft aufgerufen. Der Name eines Inhaltstyps
muss aus mindestens einem und maximal 20 Zeichen bestehen. Weitere
Informationen: Debugging in
WordPress (engl.) (Diese Meldung wurde in Version 4.2.0
hinzugef\xc3\xbcgt.) in /var/www/rpc/wp-includes/functions.php on line
4147, referer:
http://rpc.lkl/wp-admin/plugins.php?plugin_status=all&paged=1&s
I chose a shorter name, and now it shows up!
Related Posts:
- How to get custom post type post id from slug?
- How to remove custom post type archive
- How to make a WP_Query search with custom post types?
- Filtering a custom post type by custom taxonomy in archive template
- How to show Y number of custom posts after every X normal posts?
- Custom post types vs post formats : future-proofing – is one less “future proof” than another?
- create a mostly read only CPT
- Hide/Show only specific categories in wp-admin new-post.php
- Front end registration/login & publish/update 1 custom post
- How can I fix those issues generated by the Themecheck plugin
- Password-protect a custom rss feed
- Custom Post type sort order not working in the admin area
- Refine custom posts by author
- Post type archive page not working
- WordPress query by multiple Custom fields and order by date
- Unable to filter on field on edit.php page
- Help with hierarchical custom taxonomies and permalinks…almost there
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- How to get only one category of custom post type?
- Adding posts of custom type into the main feed
- Create separate template for shared custom taxonomy with shared terms
- Changing the header on post listing page in admin area
- Get random custom posts from a custom post type
- Adding new Post through Custom Post Type only offers me “Slug” as an option, how do I get more?
- Return Attachments from Custom Post Type
- How to get attached file in wordpress from custom post
- Bulk edit custom excerpt text in WordPress
- How to add new tab to admin list of posts and handle result list
- Archive Page Not Found on Custom Post Type
- Display custom post type taxonomy and month
- Connecting a taxonomy with a post type
- Customising rewrite rules for CPT single post URL to work as paged URL
- Pull Two Different Post Types into Different HTML Containers on the Same Page
- How to filter custom taxonomy categories on archive?
- Why my CPT does not appear on the dashboard menu when i activate the plugin?
- “add_post_type_support” with Custom Post Type & ACF
- Problem fields custom date, time, and checkbox
- Custom template won’t load for a custom post type (custom permalinks used)
- Include only recents custom posts in WP rss feed
- Custom Post Type Nav to Subpage
- How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
- Create template for taxonomy results limited by Custom Post Type
- 2 Templates 1 custom post type according url
- URLs for child terms
- changing meta value and meta key of price field
- Trash / Draft a WordPress custom post after custom date field expires
- Posting to a Custom Post Type from front end – user generated content
- Custom Meta Field – Remove comma from string with str_replace
- Query taxonomy of taxonomy of custom post type
- WPMU: Cross site custom post type
- Filter custom post types by a field value
- Cannot Create new Post within Custom Post Type
- custom post type and non-standard gallery
- Display a custom posts page for post type
- Is it possible to activate customfield ‘text description’ upon activating the customfield ‘checkbox’?
- Output terms for custom post types
- Replace dynamically content in a custom database table when a custom post is created
- Issue on Working with Metabox – Checkbox to enable Sale Items
- How do I amend form data before it is saved for a custom post type
- Custom Permalinks for Custom Post Types
- Prevent custom post type from showing up in custom menus
- Route subpage to Custom Post Type
- How to display custom taxonomy term meta on custom post type
- Default post_tag for custom post type
- Implement location at wordpress post via custom taxonomies?
- Show specific content on parent custom post type and all children
- My template won’t apply, theme still fallback to index.php
- Ajax Post Filter | Split Taxonomy Into minPrice & maxPrice
- How can I create new CustomPostType record using wp.api.collections?
- Custom endpoint filtering post by custom taxonomies
- Searching in multiple category + URL hierarchy in real estate WordPress site
- Custom post ID & display information related to this ID
- How can I add a URL link to my post type?
- WordPress Page hierarchy ( parent is singular of custom post types slug ) is returning not found
- WP_Query – How To Query Only Custom Posts With No Children of Their Own?
- Accessing download link from the loop with WP Download Manager Pro
- How to sort post category using its Description
- Add class attribute in Custom Post Type
- Custom WordPress theme not displaying posts from category
- Wanting to list all Post types under a common category
- Can’t see post status drop down for custom post type
- Prev / Next Post Same taxonomy Custom Post Type
- Dynamically add a unique number/identifier at the end of post titles
- Need to display author’s email id in the “Edit post” field in wp dashboard. How do I do this?
- update flamingo_inbound post type after insert
- wp_insert_post() creates duplicates with ‘post_status’ => ‘publish’
- Can I rename the description field in a custom post type?
- Create Inclusions and exclusions
- How to prevent post to repeat on my loop?
- Associate custom CPT with another CPT’s taxonomy and rewrite permalinks
- Custom user roles
- WordPress feed only shows first page of category
- Same permalink structure for all post types?
- Custom Info Box at end of posts?
- Adding custom post types to the default loop, yet only posts that has terms from the core taxonomies
- Modifying and Displaying URL’s in a Post Template using parse_url
- Post_per_page -1 returns only half the results
- Categories and page filtering with pre_get_posts
- Why is Posts page selected when showing single Custom Post Type?
- Register_post and add_menu & add_submenu conflict?