avastava
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Calc Read Time] Issue with “previous/next post” sectionThe 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.
Forum: Plugins
In reply to: [Calc Read Time] Issue with “previous/next post” sectionIt works fine in 4.7 with the twenty seventeen theme

May I know which theme you tested it on?Forum: Plugins
In reply to: [Calc Read Time] Issue with “previous/next post” sectionDear @poelzi thank you for your input. Please provide your WordPress version number.
Viewing 3 replies - 1 through 3 (of 3 total)