Get the Official WPSaviour App Now!

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 GuideBlogShowcase

7 Best Shopify Alternatives in 2020 (Cheaper and More Powerful)

Beginner’s GuideBest WordPress PluginsBlog

14 Best AI Chatbots Software for Your Website (Comparison)

Beginner’s GuideBlogTips

Magento vs WooCommerce – Which one is Better? (Comparison)

Beginner’s GuideBlogTips

12 Best Calculator Plugins for Your WordPress Site

Sign up for our Newsletter and
stay informed

Leave a Reply

Your email address will not be published.

Fear Of Missing Out?

Sign up with your email address to receive WordPress tips and updates
SUBSCRIBE NOW
Terms and Conditions apply
close-link
Click Me