Title: Issue with &#8220;previous/next post&#8221; section
Last modified: December 10, 2016

---

# Issue with “previous/next post” section

 *  Resolved [poelzi](https://wordpress.org/support/users/poelzi/)
 * (@poelzi)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/issue-with-previousnext-post-section/)
 * Thank you for the cool plugin!
 * The read time is working correct in the title of a post. Anyway I have an issue
   with the “previous/next post” section. The page looks like this:
 * PREVIOUS POST
    MY BLOG POST NAME**<span class=calc_read_time_shower_title_span”
   >4 min read</span>
 * The **bold** text should not occur. Any suggestion what’s going wrong?
 * Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [avastava](https://wordpress.org/support/users/avastava/)
 * (@avastava)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/issue-with-previousnext-post-section/#post-8542528)
 * Dear [@poelzi](https://wordpress.org/support/users/poelzi/) thank you for your
   input. Please provide your WordPress version number.
 *  Thread Starter [poelzi](https://wordpress.org/support/users/poelzi/)
 * (@poelzi)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/issue-with-previousnext-post-section/#post-8544104)
 * My WordPress version is 4.7 (it is also located in the “topic info”).
 *  Plugin Author [avastava](https://wordpress.org/support/users/avastava/)
 * (@avastava)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/issue-with-previousnext-post-section/#post-8545966)
 * It works fine in 4.7 with the **twenty seventeen** theme
    ⌊Showing read time 
   in twenty seventeen theme⌉ May I know which theme you tested it on?
 *  Thread Starter [poelzi](https://wordpress.org/support/users/poelzi/)
 * (@poelzi)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/issue-with-previousnext-post-section/#post-8546368)
 * I am working with the theme “[Chosen](https://www.competethemes.com/chosen/)“.
 * I will also check the twenty seventeen theme later…
 *  Plugin Author [avastava](https://wordpress.org/support/users/avastava/)
 * (@avastava)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/issue-with-previousnext-post-section/#post-8547963)
 * The problem is that the theme template escapes HTML in the previous/next titles.
 * For this plugin to work with this theme you should edit the theme code.
 * The file to edit is ./wp-content/themes/chosen/content/post-nav.php
 * You can also edit the post-nav.php page from the theme editor.
 * In the bottom of the page change this code
 *     ```
       <nav class="further-reading">
       	<div class="previous">
       		<span><?php echo esc_html( $previous_text ); ?></span>
       		<a href="<?php echo esc_url( $previous_link ); ?>"><?php echo esc_html( $previous_title ); ?></a>
       	</div>
       	<div class="next">
       		<span><?php echo esc_html( $next_text ); ?></span>
       		<a href="<?php echo esc_url( $next_link ); ?>"><?php echo esc_html( $next_title ); ?></a>
       	</div>
       </nav>
       ```
   
 * to
 *     ```
       <nav class="further-reading">
       	<div class="previous">
       		<span><?php echo esc_html( $previous_text ); ?></span>
       		<a href="<?php echo esc_url( $previous_link ); ?>"><?php echo  $previous_title ; ?></a>
       	</div>
       	<div class="next">
       		<span><?php echo esc_html( $next_text ); ?></span>
       		<a href="<?php echo esc_url( $next_link ); ?>"><?php echo  $next_title ; ?></a>
       	</div>
       </nav>
       ```
   
    -  This reply was modified 9 years, 6 months ago by [avastava](https://wordpress.org/support/users/avastava/).
 *  Thread Starter [poelzi](https://wordpress.org/support/users/poelzi/)
 * (@poelzi)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/issue-with-previousnext-post-section/#post-8549224)
 * [@avastava](https://wordpress.org/support/users/avastava/) it works. Thank you
   for your fast help!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Issue with “previous/next post” section’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/calc-read-time.svg)
 * [Calc Read Time](https://wordpress.org/plugins/calc-read-time/)
 * [Support Threads](https://wordpress.org/support/plugin/calc-read-time/)
 * [Active Topics](https://wordpress.org/support/plugin/calc-read-time/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calc-read-time/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calc-read-time/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [poelzi](https://wordpress.org/support/users/poelzi/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/issue-with-previousnext-post-section/#post-8549224)
 * Status: resolved