Hello,
I have registered a custom post type on my site and I want to display them with the recent post types element in Cornerstone.
I did everything according to this helpful post:
So I have this code in my childtheme now (maehroboter being my custom post type):
function add_event_post_type( $types ) {
$types['maehroboter'] = 'maehroboter';
return $types;
}
add_filter( 'cs_recent_posts_post_types', 'add_event_post_type', 999 );
In Cornerstone I can now select my own custom post type:

However, as you can see from the screenshot, I am also trying to filter by category. My custom post types have categories, one of which has the ID 92. Unfortunately, nothing is displayed on my page. It only works when I leave this field empty. How do I make this work?