HI,
I have a question, there is a way for create custom post without a page in frontend? I need a list of post only as data, I didn’t want to have a detail page for this kind os post (the same for taxonomy)
many thanks
Francesco
However a default frontpage will still exist for the custom-post (the single.php template), I think that you can remove the access of it by setting the ‘publicly_queryable’ parameter to false in the register function : https://codex.www.ads-software.com/Function_Reference/register_post_type#public
]]>FWIW though, not creating a template will not help. WP will find something to use for public posts of any type. If not single.php, it’ll try singular.php, and failing that, index.php. All themes are required to have index.php, so a public post will always be displayed on request somehow.
]]>