0

I have a Custom Post Type called 'Associate' which was created with Reuse Builder Plugin.

When I go to the post page it displays the image, title, content and some other standard elements. I need to be able to customise this page, but I cannot see what template this is using.

Research suggests there should be a 'Template' dropdown on the custom post type page - but this does not show for me.

How can I find out (and edit) this template?

I am using Wordpress 4.8.

3
  • 1
    you can check for or create a cpt specific template in your theme. developer.wordpress.org/themes/basics/template-hierarchy/…
    – inarilo
    Aug 18, 2017 at 13:53
  • @inarilo Thanks, that page pointed me in the right direction. It seems to be falling back to single.php. Do you know if that can be edited from the admin panel anywhere or only directly on the file system?
    – crmpicco
    Aug 18, 2017 at 14:53
  • you can go to Appearance>Editor but i prefer doing it directly. I would also suggest creating a CPT specific template instead of editing single.php since that is used by other post types as well, or if you want to reuse code, using template parts and including them conditionally in single.php. Another downside to editing single.php however is that changes will get overwritten when the theme is updated unless you are using a child theme. buildwpyourself.com/get-template-part
    – inarilo
    Aug 18, 2017 at 16:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.