fbpx

testing the read more feature

Another option would be to have the theme automatically apply this “Read More” tag into all of your posts. This is a great option if your site already has a large number of posts that you’d rather not go through and manually apply the “Read More” tag to. Or, if you’d like the ease of simply not worrying about this extra step for all future posts.

One thing to note is that this method uses the WordPress”excerpt” function. This function will filter out any HTML code including images and hyperlinks inserted at the beginning of your post (not including the Featured Image), so your excerpt will only display static text, not pictures.

CHANGING THE AUTO-APPLY WORD COUNT TO LENGTHEN/SHORTEN POST EXCERPTS:

If you use the option to auto-apply the “Continue Reading” button to your posts, WordPress uses the “excerpt” function. WordPress determines where to place the “Continue Reading” button within your post based on how many words it counts through from the start of the post.

By default, Oleander’s excerpt will count through a particular number of words before placing the “Continue Reading” tag depending on which blog layout option you’re using:

  • FULL POSTS: 80 words before the “Continue Reading” button appears 
  • LIST POSTS: 29 words before the “Continue Reading” button appears 
  • GRID POSTS: 24 words before the “Continue Reading” button appears 

You can change the number of words by making a slight adjustment to the theme’s related layout file. See the instructions for each layout option below.

TO CHANGE THE EXCERPT WORD LENGTH FOR STANDARD POSTS

Navigate to Appearance > Editor > and open up the file titled “content.php
On Line 89, you will see this line of code:

”Read

Leave a Reply

Your email address will not be published. Required fields are marked *