I am trying to create a Custom post type template.
Sticking a single-MyCustomPostType.php in the child theme does not work, because you use template parts to build the post page.
I need to insert my own PHP code onto the Custom post type primary content area.
How can I do this?
I tried this, but it had no effect:
remove_action( 'astra_entry_content_single', 'astra_entry_content_single' );
- The topic ‘Custom post type template’ is closed to new replies.