ADD
Take this for an example: http://ny.digitally.dk/ordbog/open-source/
What I want is to get rid of the blog page header and the author section in bottom. I think this is achievable by turning the post type into a page and not a post – but how do I do that?
This is less about settings for CPTUI-based post types or “post”-like post type vs “page”-like post type, and much more about the templates/layouts being used from the template hierarchy with your active theme.
It’s very likely using the “archive.php” template file in some places, and “single.php” for the individual posts in the post type. If you’re using a child theme, you’re already in a great place. If you’re not and can, also a good place to be in. Regardless, what I would do is duplicate the “page.php” template file and rename it to “single-ordbog.php” so that the single entries would use that template file. You may also want to duplicate “archive.php” to “archive-ordbog.php” as well, so that you can have dedicated templates for the archive view.
For more information about the template hiearchy, check out this page:
https://developer.wordpress.org/themes/basics/template-hierarchy/
Hope this helps.
Thank you so much Michael. It works perfectly 🙂
Allmost.. It looks fine on the frontend, but now I can’t access it from the backend. When I tried to refresh it says that I don’t have permission, and it is now gone from the menu. What do I do?
If you were fiddling with the capability type field, I would make sure it’s set back to “post” and you should be up and running again.
Oh, that’s it. Thank you Michael.
Have a great day 😀