Is there a way to check what register_post_type support features/values are available?
Is there a way to check what register_post_type support features/values are available?
Is there a way to check what register_post_type support features/values are available?
Remove media button from the custom post type support editor
Custom Post Type supports author
It sounds like you’re wanting the page you are redirected to to display the CPT’s information in a certain way or format, in which case you’ll want to create a single page template for the custom post types you’ve created. You can use the single.php file as an example for the layout and customize it … Read more
How to add gallery support to a custom post type?
Post types showing tables…Can I do that?
Try naming it single-books.php. Normally when you register a post type it’s plural. Use the exact wording you registered the CPT with in your register_custom_postype. I like to use namespacing to avoid these issues all the same. SO register wpse_books as the post type and then your single would be single-wpse_books.php and archive would be … Read more
Well you can add … ‘supports’ => array(‘title’,’editor’, ‘thumbnail’, ‘custom-fields’), … You don’t need to create anything beforehand, you can define the two fields latitude and longitude when adding a new post.
“Projects” are a common Custom Post Type. How is yours generated? However it is done, if it is done properly, the labels will have language strings that can be translated for localization/internationalization with any number of plugins that offer this functionality.
Every archive is a posts archive, the main post archive being the homepage, if you want to move posts to a different URL, you can go to the readins settings and declare a page to be the posts page. Note that this page then acts as a placeholder purely for slug/URL purposes. You can’t change … Read more