Plugin nebyl testován na 3 nejnovějších verzích WordPressu. Nemusí už být tedy podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může být nestabilní.

LH Paragraph Ids


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_paragraph_id-23463-3″>.

There is also an optional feature to add a link to the paragraph at the end of the post, like 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).


Install using WordPress:

  1. Log in and go to Plugins and click on Add New.
  2. Search for LH Paragraph Ids and hit the Install Now link in the results. WordPress will install it.
  3. From the Plugin Management page in WordPress, activate the Lh Paragraph Ids plugin.
  4. That is it , the plugin has no settings (it just works), but has filters to modify its behaviour, see faq.

Časté dotazy

How do I enable automatic paragraph links?

By default, automtic paragraph links are turned off, they can be turned on by a filter like this:

add_filter(‚lh_paragraph_ids_link_enabled‘, function(){
//Do something with the content
return true;


Pro tento plugin nejsou žádné recenze.


LH Paragraph Ids je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.


Přehled změn

0.01 July 29, 2014
Initial release.

0.02 April 29, 2015
Only filter content on front end

1.00 July 13, 2015
Object oriented code

2.00 August 10, 2019
Removed settings, improved and simplified