Support

Account

Home Forums ACF PRO Custom Post Type Page Template

Solving

Custom Post Type Page Template

  • Hello,
    Since wordpress 4.7 we can create templates for cpt with

    /*
     * Template Name: Template Logo
     * Template Post Type: reference
     */
    

    When i create field for this template in Location rules i choose template page but my template for cpt reference does not appear

    sorry for my english …

    Thanks

  • I found one solution in forum with a link
    https://github.com/joelstransky/Advanced-Custom-Fields-Post-Templates

  • What version of ACF are you using. ACF 5.5.0 is supposed to include support for custom post type templates.

  • Hello sorry I had not seen the post template in ACF 5.5.0

    Thanks

  • Hey ACF, is this supposed to be working by now? My template with a Template Post Type doesn’t show up in the position rules dropdown in ACF 5.8.6.

  • Nevermind, I just found that the Custom Template is listed as Post Template, not Page Template in the Dropdown.

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

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.