Support

Account

Home Forums General Issues Looking for ACF custom post type template file

Solving

Looking for ACF custom post type template file

  • Hi, I am looking for the PHP template file for a custom post type created with ACF, but cannot find it. Anyone know where I should look?

  • When you create a new custom post type, you don’t automatically get a new template created for it, you can however create your own and upload it in to your theme.

    For your archive template, you can create archive-{post_type}.php and for the single post template you can create single-{post-type}.php

    Hope this helps.

  • If you don’t create a custom template yourself then WP defaults to the default templates, archive.php and single.php, these are usually used for showing blog posts.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.