Shortcode showing in excerpt

Maybe you can point me in the right direction. On my post pages, I use a social media widget shortcode. It shows up in the excerpt. I know it may not be simple but, there is information about filtering it in functions.php. Nothing I’ve tried works. Any ideas short of major coding that you know of?

Hello there,

To restrict visibility of an element to only shows up on single post or page, you can use this extra shortcode.

Once you installed and enabled the plugin, you may use the below shortcode for your case.

   [if is_single] [your_shortcode_goes_here] [/if]

I hope this reply helps.

Stay safe.
Have an excellent day :slight_smile:

Regards,
Kharis
aThemes Support

Works awesome. Thanks as always!

1 Like

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis
aThemes Support