Display ACF Fields on the front-end

Question

I’m a bit lost here. I successfully displayed the Custom Fields on the front-end using this code:

<?php acf_form_head(); ?>

<div id="form-fields">

<?php

acf_form(array(
    'post_id'       => 'new_post',
    'post_title'    => true,
    'post_content'  => true,
));

?>

But this code only displays the fields of a regular post. I want to display some specific Fields that I have already created using the plugin and associated with a Custom Post.

Can someone please assist me through this

0
Flare Impact 2 months 0 Answers 11 views 0

Leave an answer