Remove SSS code from excerpts on homepage
-
In our settings options, under “Standard Interface > Placement” we have only Homepage, Posts and Pages selected.
On our homepage, we show some excerpts from blog posts and CPT News Items (added programmatically via custom loops, and usng?
the_excerpt()
). Each and every one of those excerpts has a large block of code for the share icons added.That amounts to a lot of extra code that we don’t want. (We don’t want that to appear, so we currently have it hidden using CSS, but it would be great to be able to get that out of the code entirely.)
Is that added to ALL excerpts by the SSS plugin? It is not added to the excerpts on our blog roll page.
How can we get rid of it? Is there some kind of hook that we could use?
If not, as a work-around, could we de-select Homepage from the Placement settings, and add it to our homepage as a shortcode instead – would that remove the excerpt code from excerpts that appear on the homepage?
Any help greatly appreciated!!
- The topic ‘Remove SSS code from excerpts on homepage’ is closed to new replies.