Using single shortcode plugin, you can hide specified content from excerpt of post. The content enclosed with [single] tag is output only if single page is displayed. It’s useful for hiding the following items from excerpt.
Installed this plugin, you can use the following shortcodes.
Enclose content with [single] tag.
[single] ... [/single]
[single]
...
[/single]
You can use [excerpt] tag as necessary.
[excerpt] ... [/excerpt]
[excerpt]
...
[/excerpt]
If you write the following code,
paragraph1
[single]
Index
[/single]
paragraph2
the excerpt is displayed as follows. (Index is NOT output)
paragraph1
paragraph2
And single page is displayed as follows. (Index is output)
paragraph1
Index
paragraph2