Site logo

Archived topic

Hiding from excerpt

1 reply · Started by Krystian on February 3, 2020

Viewing posts 1–2 of 2

Hello,
Is there a way to hide a particular short paragraph from displaying in post excerpt? Assigning class to it and CSS maybe?

Hi there,

if you're excerpts are displaying HTML then yes a CSS Class ands style should work.

But HTML is not displayed in the default WP excerpt.
You can use this plugin or the Read More tag to display HTML excerpts:

https://wordpress.org/plugins/advanced-excerpt/

This archived topic is closed to new replies.