Archived topic
add time to read in meta date
2 replies · Started by Giacomo on June 28, 2017
Viewing posts 1–3 of 3
Where can I add the do_shortcode('[rt_reading_rtime]') to show the "time of reading" in the meta, near the date of the post and the autor? What file can I change and in how?
Thanks
Hi there,
This hook should work: https://docs.generatepress.com/article/generate_after_entry_header/
Let me know.
Probably better to filter the date output:
add_filter( 'generate_post_date_output', 'tu_time_of_reading_to_date' );
function tu_time_of_reading_to_date( $output ) {
return $output . do_shortcode( '[rt_reading_time]' );
}
This archived topic is closed to new replies.