• Hello,

    I wanted to move the location of the read time so it’s beside the author name inside the posts.

    Would you be able to tell me where I would place do_shortcode to do so?

    Thanks

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

    (@yingling017)

    Hi there,

    That’s going to depend on your theme really and how the code for the author name is handled. For example if your theme used code like this for outputting the author:

    <div class="entry-meta">
        <span class="author-name">Author Name</span>
    </div>

    You’d want to call your reading time shortcode next to the <span> like:

    <div class="entry-meta">
        <span class="author-name">Author Name</span><?php echo do_shortcode( '[rt_reading_time label="Reading Time" postfix="minutes" postfix_singular="minute"]' ); ?>
    </div>

    Hopefully that helps get you started.

Viewing 1 replies (of 1 total)
  • The topic ‘change location in template’ is closed to new replies.