scriptless-social-sharing icon indicating copy to clipboard operation
scriptless-social-sharing copied to clipboard

question

Open johnstonesnow opened this issue 2 years ago • 2 comments

.............

johnstonesnow avatar Apr 03 '23 17:04 johnstonesnow

The code on the page just generates links to share the content/page to the relevant social network. There's no JavaScript or anything to talk to the network; each is just a dumb link like any other link on the screen.

The h3 tag can be changed with this filter: https://github.com/robincornett/scriptless-social-sharing/blob/develop/includes/output/class-scriptlesssocialsharing-output.php#L375, so you could make it strong instead of h3 quite easily, yes.

robincornett avatar Apr 04 '23 12:04 robincornett

Here's an example snippet to add to your site: https://wordpress.org/support/topic/change-h3-to-p/#post-12102506

You can add the code to your theme's functions.php file (make a backup first), or use a plugin like WPCode to add snippets.

robincornett avatar Apr 04 '23 13:04 robincornett