custom post type
-
Hi,
I need to register a new post type that will be handled by the post block. I know that the plugin didn’t offer this feature two years ago – I saw a thread about it, but maybe something has changed?
Is there anyone who can help me get this working? It’s a very important element for me, and I need the post block to handle my custom post type – otherwise, the whole site will go to waste….
function gutenverse_include_realizacje_post_type( $post_types ) {
if (!in_array('realizacje', $post_types)) {
$post_types[] = 'realizacje';
}
return $post_types;
}
add_filter( 'gutenverse_includes_post_types', 'gutenverse_include_realizacje_post_type' );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.