Support » Plugin: ACF Theme Code for Advanced Custom Fields » where do i place code

Viewing 1 replies (of 1 total)
  • Plugin Author Ben Pearson

    (@benpearson)

    Hi @glitzzz1

    My apologies for the delayed response. Did you figure it out?

    It depends on the Location Rules you have set for your ACF Field Group. For example, if your Location Rules are set to show the field group when the Post Type is equal to Post, then you would probably put the code generated by the Theme Code plugin in your theme’s single.php template or maybe inside a template part included in the single.php template.

    Here is some information on the WordPress template hierarchy that maybe useful: https://developer.wordpress.org/themes/basics/template-hierarchy/

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘where do i place code’ is closed to new replies.