Support » Plugin: WP Last Modified Info » Template Tags Options + Generatepress + replace function

  • Resolved mexl

    (@mexl)


    Hi,
    first of all thank you for the great plugin! When using the template tags option and support for generatepress the last modified date is correctly replaced.
    However, it will show the author who did the modification but not the original author.
    Is there a way to show the last modified date plus the original author?
    Thank you,
    M

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • mexl

    (@mexl)

    Hi,
    I solved it by creating a php hook.

    	<?php 
    	global $post;
    	$author_id = $post->post_author;
    	?>
    	<h5><?php printf( get_the_author_meta( 'display_name') );?></h5>

    thanks,
    M

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.