Hmm, forget about this one…
I understand this plugin uses the first part of the body content, instead of the custom excerpt?
Plugin Author
WPKube
(@wpkube)
Hi Marc,
Yes, the post content is used to generate the excerpt.
Custom excerpts are for that specific purpose so if a custom excerpt is being used the plugin will let the full custom excerpt show up ( depending on whether the “Generate excerpts even if a post has a custom excerpt attached” option is checked or not ).
I’m assuming you only want a way to show a “read more” button/link, not to make adjustments to the actual excerpt, correct?
Hi, thnx for reaching out!
My idea was to use:
– an extensive excerpt in the body text, as intro for the full blog post
– a short custom excerpt, for the blog page grid, and in Google Search results (SEO)
With your plugin I wanted to use the full/complete short custom excerpt at the blog page grid, with just a read more link, and if possible shown as <strong></strong>
text (just like the extensive excerpt in the blog post).
But since the plugin makes use of the excerpt in the body text (the part before the ‘more’ tag I guess), I just misunderstood how it works ๐
No worries mate!
Btw I allready solved it by adding this code in my child’s function.php file:
function themeprefix_excerpt_read_more_link( $output ) {
global $post;
return $output . ' <a href="' . get_permalink( $post->ID ) . '" class="more-link" title="Read More">Lees verder ยป</a>';
}
add_filter( 'the_excerpt', 'themeprefix_excerpt_read_more_link' );
Plugin Author
WPKube
(@wpkube)
Hi Marc,
Happy to hear you found a solution.
Have a great day.