• Resolved joemagrino

    (@joemagrino)


    I created a custom field using the Advanced Custom Fields (ACF) plugin. I need to add the ACF template code to the single post template so that it displays either inside the entry-content area or just below it, then above the Edit link (when logged in). I can’t find the file to edit which will allow me to insert my ACG code. Can someone tell me where to insert my code or if there’s some other way to do it?

    I’ve searched the following files, but Blocksy template files are not setup like the traditional template hierarchy in the WordPress Theme Handbook:

    /single.php
    /template-parts/single.php
    /inc/single/content-helpers.php

    • This topic was modified 3 years, 7 months ago by joemagrino.
Viewing 1 replies (of 1 total)
  • Hello @joemagrino

    We use many functions to call the content from the database, using WP’s queries. The big, expanded function is actually inside of content-helpers.php.

    If you look closely, you will find many HTML tags that separate the section of a single post inside the main blocksy_single_content function.

    Though, I would advise against modifying template files, unless you really know what you’re doing.

    Hope this helps you get started.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Display ACF in Single Post’ is closed to new replies.