Viewing 1 replies (of 1 total)
  • This is how I hooked it into my archive template, I am using a Genesis theme in the example below – if you are not, then add the code to your template in the right spot without the action and function.

    add_action( 'genesis_entry_footer','sa_add_author' );
    function sa_add_author() {
    global $post;
    $cite = get_post_meta( $post->ID, '_cite', true );
    // AUTHOR INFO
    
    	echo '<hr class="longform_hr">';
    	echo "<div class=\"testimonial_rotator_author_info cf-tr\">\n";
    	echo wpautop($cite);
    	echo "</div>\n";
    
    }
    • This reply was modified 7 years, 10 months ago by neilgee.
    • This reply was modified 7 years, 10 months ago by neilgee.
Viewing 1 replies (of 1 total)
  • The topic ‘author info on archive page’ is closed to new replies.