• I am using i-excel with wordpress 4.1.1

    The Read-more link on the blog page and the home page listing of recent blogs is missing from some of the excerpts.

    They are theme generated so I don’t know why sometimes “read more” shows and sometimes not. You can see on these 2 pages

    https://exceedsales.com/
    https://exceedsales.com/blog

    I would like “read more” to appear consistently – any idea how to fix?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @joanne

    The Read More link appears after certain condition is meet.
    If the content contains more words than specified word in excerpt then Read More link appears but if the content is less than specified words then Read More link will not appear.
    You need to check for sure that content in every post exceeds the specified words.
    The word specified can be changed to you own number through filter.

    Thank You!!

    Thread Starter Joanne

    (@bluejpro)

    Hi Sanjog

    Thank you for your comment.

    What can I do if I want the Read More link to appear no matter how long or short the excerpt? The excerpts are optimized for length and appearance in search results using the Yoast SEO tool.

    You are right to note that sometimes very succinct excerpts will not trigger the Read more link. But each article is hundreds of words long. So I want the Read More link to show all the time, regardless of snippet length.

    Is there some function I can use to fix?

    Thread Starter Joanne

    (@bluejpro)

    So, still trying to get ‘read more’ to show every time, regardless of excerpt length.

    Here is the code in i-excel functions.php that controls excerpt length:

    function iexcel_excerpt_length($length) {
    
    	return 32;
    
    }
    
    add_filter('excerpt_length', 'iexcel_excerpt_length');

    Here is the part that controls excerpt output. I don’t see a conditional statement that would control the appearance of the ‘read more’ link based on excerpt length, unless that’s triggered by WordPress itself. Any insights?

    function iexcel_excerpt_more($more) {
    
           global $post;
    
    	return '<a class="moretag" href="'. get_permalink($post->ID) . '">'. __( 'Read More...', 'i-excel' ). '</a>';
    
    }

    Hi @joanne

    Are you sure you are using the_excerpt(); to get the content??

    Thanks!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Read More links don't always show’ is closed to new replies.