Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Phil Kurth

    (@philkurth)

    Hi @matt2012,

    ACF doesn’t generate template code – it only generates field group arrays which define the field groups themselves.

    The ACF Theme Code plugin generates PHP for use in your templates. i.e; get_field(), the_field(), etc. It gives you the code you can drop into your templates and use in amongst your markup.

    ACF Theme Code Pro builds on top of this by generating the template code for ACF fields available in ACF Pro. It also supports ACF Blocks and will generate block registration code.

    Cheers,
    Phil

    Thread Starter Matt2012

    (@matt2012)

    So if I wanted to create a plugin called library for storing book CPTs I could use the ACF plugin to create the code needed for my plugin to let the user populate books in the admin dashboard. But your plugin would allow a theme developer to display those books in the frontend?

    Plugin Contributor Ben Pearson

    (@benpearson)

    Hi @matt2012.

    Assuming custom fields have been created with the ACF plugin and data has been added to the fields, the ACF Theme Code plugin will generate the PHP code required by a theme to display the field data on the front end.

    Please note this a developer tool for developers. Its primary purpose is to speed up the integration of ACF groups with a theme. It’s not a replacement for development knowledge.

    I hope this helps.

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

The topic ‘What does this plugin do different than ACT Code export?’ is closed to new replies.