• Hello,

    I am trying to move the position of the shortcode to show by the date posted. I went to the single post editor and added do_shortcode(‘[rt_reading_time]’) but it isn’t working and breaking the page. Here is a post you can see with the date above the featured image: https://megmatable.com/recipes/easter-brunch-monkey-bread/

    Read time is above the first paragraph.

    If you know the custom code I can add, I will just put it in using Code Snippets.

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

    (@yingling017)

    Hi there,

    do_shortcode() is a PHP function. It needs to be run at the server level so if you’re trying to use that it needs to happen in the PHP template. You also need to echo the function so a full php function may look like <?php echo do_shortcode('[rt_reading_time]'); ?>.

    I too want the read time to be in line with the meta data of the posts. Just makes more sense. Right now it falls under the featured image just above the body copy and kinda gets lost. Unfortunately, I do not know how to code (just a lowly designer). Could you consider this being a built in option in the near future?

    Plugin Author Jason Yingling

    (@yingling017)

    Hi @barrydollar

    The issue with creating an option to do that is there isn’t a standard way themes include meta data so what works for one may not work for another and so on. There’s not really any way for me to determine something it could be attached to that would work across the board with meta data. Sorry!

    Thanks for the explanation.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add this to editor file to change placement’ is closed to new replies.