soderlind/wp-loupe

Custom post types not available

Zodiac1978 opened this issue · 3 comments

I see this settings page and I am wondering if anything is broken on my site or with the plugin:

Bildschirmfoto 2024-05-27 um 21 27 53

This is complete fresh install in "Local" with only WP Loupe active.

I expect that the custom post types are public, are yours?

// Get custom post types.
$args = [
'public' => true,
'_builtin' => false,
];
$post_types = get_post_types( $args, 'names', 'and' );

Like I already wrote, this is a fresh install, with no custom post type besides the default page and post.

And I couldn't see that anything has changed. How do I know that WP Loupe is working?

Ok. I'll have a look