What is Headline Sharing?

Headline Sharing allows users to share your headings when viewing your site. This feature was inspired by how GitHub does its headlines, with some updates for UX and accessibility.

When enabled, the plugin will scan your headings that have an ID attribute. If found, it'll show a small link icon next to the headline when it is focused or hovered over.

You're able to add up to 4 social networks to show when sharing a headline. The "Copy Link" feature must always be enabled for accessibility, as it is natural UX behavior.

The link icon is fully accessible and works with or without JavaScript.

Excluding Headings

You can exclude headlines or headlines in containers by adding a CSS class:

Adding IDs to Headlines

Headlines without IDs are skipped automatically, although there is an admin option to enable auto-ID generation. This plugin runs its content filters late to allow other plugins to add their own IDs, making this compatible with many Table of Contents plugins.

Setting the Social Networks

You can select up to four social networks to display next to headline sharing. As this feature is still experimental and we're still receiving user feedback, there isn't much in terms of customization.

circle-exclamation

Last updated

Was this helpful?