Home › Forums › Backend Issues (wp-admin) › Using ACF with the Genesis Framework › Reply To: Using ACF with the Genesis Framework
I’ve set up a field group with two fields and am trying to get a field to show on single posts and am not having any success. Here’s what I have put together from posts on Studiopress forum:
add_action('genesis_after_post', 'custom_field_after_content');
function custom_field_after_content() {
if ( is_single() && genesis_get_custom_field('info_box_title') )
echo genesis_get_custom_field('info_box_title');
}
Is there anything wrong with this? Why am I not able to get even one field to show up at the end of the post content?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.