BlogThemes

Fixing the Read More Tag Problem in WordPress Static Pages

WordPress has two methods of displaying excerpts in a weblog. One is through the use of the_excerpt() tag in your themes, and the opposite technique is through the use of the extra tag. The extra tag means that you can specify the place the minimize off level is in a publish whereas writing a publish which makes it straightforward for the editor and will let you present teaser content material and such. Nonetheless the extra tag is used solely on the house web page which reveals the newest posts. It doesn’t work in Pages. Lately we encountered this difficulty and because of the WordPress boards we discovered the answer. If you wish to activate the learn extra tags in pages for displaying partial posts, use the next code contained in the loop:

1
2
3
4
5
6
7
<?php
international $extra;
$extra = 0;
?>
//The code have to be inserted forward of the decision to the content material
<?php the_content('Proceed Studying'); ?>

That’s it. If any of you theme designers ever get into this difficulty, then this must be a fast repair.

Download The WPSaviour App Now

Related posts
Beginner’s GuideBest WordPress PluginsBlog

9 Best Social Proof Plugins for WordPress & WooCommerce (2020)

Tips

Simplify Your Online Presence With WordPress: Themes, Plugins, Products and Services

Tips

How To Disable The WordPress User Admin Toolbar

Tips

Buying WordPress Themes The Smart Way

Leave a Reply

Your email address will not be published.

Pay in your preferred currency
Indian rupee
Euro