Skip to content
Public Ticket #5841

Custom Field from ACF

Conversation thread

PenciDesign replied

Staff Reply

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

hopesfrenzy started the conversation

Conversation Start

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?

Want to join this conversation or access attachments? Sign in first.