• Resolved pavelvain

    (@pavelvain)


    Hey,

    Need some help setting the RT on the excerpt but breaking a row after the read time, I can see only one <p> element on home page and br isnt working even if I add it via plugin editor.

    Any ideas?

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

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

    (@yingling017)

    The excerpt typically strips HTML tags so you won’t be able to add any HTML to make a break in there directly.

    The best way to add the reading time on a line by itself would be to edit the template file for your theme to call the rt_reading_time shortcode using the do_shortcode function.

    That would look something like this: <?php echo do_shortcode('[rt_reading_time label="Reading Time:" postfix="minutes"]'); ?>

    And would need to be placed before the <div class="post-excerpt"> tag in your theme.

    Thread Starter pavelvain

    (@pavelvain)

    Thanks, done.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Breaking the line in excerpt (cozmo-child)’ is closed to new replies.