adding read more to posts in categories.

Posted in: Newspaper
Post count: 107

I”s like to add “read more” to posts in categories instead of the “…” 3 dots that appear now, can I safely add following to the functions.php without breaking the theme or is there a other solution?

// Changing excerpt more
function new_excerpt_more($more) {
global $post;
return ‘… ID) . ‘”>’ . ‘Read More »’ . ‘‘;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);

Post count: 35449

Hi,

The Read More Button can be set on flex block 1 -> Read More Button and this will be display on each post in part, this button is not available on blocks/flex blocks –
-. https://i.imgur.com/G7xHrWb.png -> https://i.imgur.com/dKv7prm.png -> https://forum.tagdiv.com/flex-block-settings-guide/
also using a pro demo or cloud templates you can edit the whole with tagDiv Composer.

Thank you for your understanding!

Post count: 107

I needed to have that button in a postloop but now I see that option to add a button is there as well! Thx for the tip!

Post count: 35449

Hi, I’m glad that I was able to help you!
If you have other questions, let us know!
Have a nice day!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.