Archived topic
why it's like this?
5 replies · Started by Shami on December 11, 2022
please take a look at the image of my archive.
Why the "read more" buttons are looking different for different posts?
I used a custom snippet earlier to show the button.
this snippet is for adding "read more" despite using custom excerpt in the blog archive section:
add_filter( 'wp_trim_excerpt', 'tu_excerpt_metabox_more' );
function tu_excerpt_metabox_more( $excerpt ) {
$output = $excerpt;
if ( has_excerpt() ) {
$output = sprintf( '%1$s <p class="read-more-container"> Start Reading </p>',
$excerpt,
get_permalink()
);
}
return $output;
}
Note: I also cleared all my cache, the problem still remains.
Hi Shami,
For reference, can you provide the link to where we can see this issue?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
sure
I see. Can you check what Read More Label you have set in Appearance > Customize > Layout > Blog?
Reference: https://docs.generatepress.com/article/blog-overview/
Oh I see, I totally forgot about it. 😅 Thanks for reminding me.
You're welcome, Shami! :)