• Resolved Riaan Fourie

    (@heitadaar)


    Hi Support

    I would like the reading time to appear after the author name and date.

    Please can you help with code and description on where and how to implement?

    I have found this code on another post <?php echo do_shortcode(‘[rt_reading_time label=”Reading Time:” postfix=”minutes”]’); ?>

    Not sure if it works or where to implement.

    Thanks in advance
    Riaan.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jason Yingling

    (@yingling017)

    That’s the correct code. Though you can add additional properties to the reading time shortcode based on your needs.

    Implementation is entirely dependent on your theme and where and how it outputs the author name and date in the template files.

    Thread Starter Riaan Fourie

    (@heitadaar)

    Hi Jason

    Thanks for your reply.

    Please can you advise on the exact code ?

    I am using Avada theme and the Code Snippets plug-in

    I get errors on that code when i paste it in as is.

    Not sure if i need code before or after.

    Thanks so much.

    Riaan.

    Plugin Author Jason Yingling

    (@yingling017)

    Code Snippets won’t likely work for your case. I’m not super familiar with the plugin but I think it essentially allows you to add stand alone PHP functions that would be run. You need to call the do_shortcode in a specific part of your theme.

    I don’t have access to the Avada theme and can’t provide support for their theme implementation. If their theme allows you to filter the output of the author name you could potentially use Code Snippets but it would require a custom function to be written to do so.

    Thread Starter Riaan Fourie

    (@heitadaar)

    Thank you Jason, that is completely clear, least i have some direction now.
    I will contact the theme developers and discuss with them.

    I appreciate your time to reply.

    Regards
    Riaan.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add reading time after author and date’ is closed to new replies.