Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1814169
Custom Field from ACF
Closed

Comments

  • hopesfrenzy started the conversation

    Hello, I think this is a simple fix, I just cannot seem where to put the code. I've set up ACF Custom Fields and have a few Fields (location, activity-group, activity-single).

    I want the fields to display after a blog post but before the Tags, such as where the icon with "Vacation with family" is written directly into the blog post. I want those instead to be custom fields.

    I've tried editing a number of files and putting the code into the blog posts themselves, and it's not seeming to work.

    <?php the_field('location'); ?>
    <?php the_field('activity-group'); ?>
    <?php the_field('activity-single'); ?>

    Any quick fix to put the code?

  •  2,699
    PenciDesign replied

    Hi,

    Please put it to soledad/template-parts/single-content-main.php put above on line 68 - above this code:

    <div class="post-tags">
       <?php the_tags( wp_kses( __( '', 'soledad' ), penci_allow_html() ), "", "" ); ?>
    </div>
    

    Best Regards,

    PenciDesign