• I installed Advanced Custom Fields plugin.
    I’d like to put a code like <?php the_field(‘testtext’); ?> for single page.
    Which file do I need to add that code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Blockify

    (@blockify)

    Hi @jitsuko, thank you for getting in touch.

    At this stage there’s no built in way to display custom field data with block themes. Please see https://www.ads-software.com/support/topic/how-to-display-custom-fields-in-wp-6-1-fse-pages/

    From this discussion it sounds like there is a Custom Fields block provided by ACF which will allow you to display data in pages, without needing to edit any PHP templates. I have not been able to test this version of the plugin so I’m unable to confirm if it works. If not, there may be other free plugins available on www.ads-software.com that allow you to display custom field data in blocks.

    If this doesn’t resolve the issue, please feel free to get in touch again and I will provide some PHP code which lets you display custom field data in blocks with shortcodes (how it’s done in the pro version)

    Thread Starter jitsuko

    (@jitsuko)

    Thank you so much for your quick response.
    I tried to do in your recommended article, but unfortunately didn’t work.
    So, I changed the plugin and have successed.
    https://ja.www.ads-software.com/plugins/custom-field-template/
    Thank you for your advise! That was so helpful.
    Anyway, I love Blockify. It’s ausome theme!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use ACF ?’ is closed to new replies.