Support

Account

Forum Replies Created

  • 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?

  • This reply has been marked as private.
Viewing 2 posts - 1 through 2 (of 2 total)