LH Paragraph Ids

0

LH Paragraph Level IDs plugin adds an ‘id’ attribute to each paragraph tag in a blog post, giving the author and readers additional functionality. So for example, <p> becomes

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

LH Paragraph Level IDs plugin adds an ‘id’ attribute to each paragraph tag in a blog post, giving the author and readers additional functionality.

So for example, <p> becomes <p id="lh_element_id-p-23463-3">.

Note if an id for an element already exists, it is kept. Also note this is done dynamically so ar no time is the content stored in the database changed.

There is also an optional feature to add a link to the paragraph symbol at the end of the post, like this. ¶ See faq for enabling this.

These additions allow anyone to link directly to that paragraph in the post. This is useful for long tracts of text and is also useful for rdf and semantics (in that these technologies often require identification of parts of a page).

Requires wp_body_open

Note this plugin requires wordpress 5.2 and for your theme to support the wp_body_open hook (most good themes do).

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.