Title: Paragraph Level IDs
Author: robertsharp
Published: <strong>Ọ̀wàrà 6, 2013</strong>
Last modified: Ṣẹrẹ 6, 2015

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/paragraph-level-ids/assets/banner-772x250.jpg?rev=1052734)

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://s.w.org/plugins/geopattern-icon/paragraph-level-ids_cbcdc7.svg)

# Paragraph Level IDs

 Láti ọwọ́ [robertsharp](https://profiles.wordpress.org/robertsharp/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/paragraph-level-ids.1.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/paragraph-level-ids/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/paragraph-level-ids/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/paragraph-level-ids/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/paragraph-level-ids/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/paragraph-level-ids/)

## Àpèjúwe

The 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=”para1234-5Ìtumọ̀ Yorùbá: ″>**.

These additions allow anyone to link directly to that paragraph in the post. This
is especially useful for long tracts of text, academic writing, and legal documents.

### Road Map

In the future I hope to make the following improvements.

 * Streamline the code so it is at its most efficient and smallest file size.
 * Further customisation options for the id
 * A degree of backwards compatibility and localisation for other languages
 * An option so this feature is only applied to the post types specified.

I would welcome any advice, offers of support, bug-testing, forking the project 
and troubleshooting to help make these extra features possible.

### Acknowledgements

My friend @strangerpixel overhauled the 0.2 code for this 1.0 release.

The comment by **s_ha_dum** in [this Stack Exchange thread] (http://wordpress.stackexchange.
com/questions/74558/automate-paragraphs-in-a-post-page-to-have-a-unique-anchor-link)
and the comment by **Milo** in [this Stack Exchange thread] (http://wordpress.stackexchange.
com/questions/90066/numbering-sections-and-block-level-elements-in-wpautop-wordpress-
as-cms-for-l) got me started. The [Add To Post plugin (https://wordpress.org/plugins/
add-to-post/) was instructive in helping me build a simple settings form.

## Ìgbéwọlẹ̀

 1. Download the plug-in
 2. Unzip the files and upload rs-para-level-ids.php to the wp-content/plugins directory.
 3. Visit the plugins section of your WordPress Dashboard.
 4. Activate the plugin
 5. Nothing will be changed in your websiteÌtumọ̀ Yorùbá: ’s source code until you 
    visit the ‘Paragraph IDs’ options under the WordPress ‘Settings’ menu, and update
    the settings according to your taste.

## FAQ

  What kind of tags does the plugin operate on?

The plugin only makes additions to <p> tags that have no other attributes. If any
other part of the content or system gives a paragraph tag any kind of styling, name
or id, then this plugin will simply ignore it.

  How are the ids and anchors added?

The id attributes are all added dynamically as the page is generated. The plugin
works by counting the number of paragraphs and adding an id or name based on that.

  What happens when I change the content of my post?

If the content changes and the author reduces or adds to the number of paragraphs
in the text, the anchor or paragraph id will change accordingly.

This plugin therefore works best with archived content that is not likely to change.

  I think your plugin could be improved Ìtumọ̀ Yorùbá: – Would you like some help
with it?

Absolutely, IÌtumọ̀ Yorùbá: ’m at almost the limit of my coding skills here! [Get
in touch via my website] (http://www.robertsharp.co.uk/paragraph-level-ids/) or 
on Twitter, [@robertsharp59] (https://twitter.com/robertsharp59)

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Paragraph Level IDs” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ robertsharp ](https://profiles.wordpress.org/robertsharp/)
 *   [ sta1r ](https://profiles.wordpress.org/amucklow/)

[Túmọ̀ “Paragraph Level IDs” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/paragraph-level-ids)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/paragraph-level-ids/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/paragraph-level-ids/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/paragraph-level-ids/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/paragraph-level-ids/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0

 * Simplified the process. Now we offer only ids, not anchors.
 * Added an option to add # links immediately after each paragraph
 * Added an option to add highlight styling to each paragraph tag on hover
 * Many thanks to @strangerpixel for this fantastic update.

#### 0.2

 * Added a settings menu
 * Added the ability to add an ‘id’ to the paragraph tags, an anchor, or both
 * anchor/id customisation options.

#### 0.1

 * Proof of concept, no features

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 12 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 3.0.1 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **4.1.42**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/paragraph-level-ids/)
 * Àwọn àmì
 * [anchor](https://yor.wordpress.org/plugins/tags/anchor/)[id](https://yor.wordpress.org/plugins/tags/id/)
   [links](https://yor.wordpress.org/plugins/tags/links/)[paragraph](https://yor.wordpress.org/plugins/tags/paragraph/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/paragraph-level-ids/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/paragraph-level-ids/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/paragraph-level-ids/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/paragraph-level-ids/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/paragraph-level-ids/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/paragraph-level-ids/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/paragraph-level-ids/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/paragraph-level-ids/reviews/)

## Àwọn Olùkópa

 *   [ robertsharp ](https://profiles.wordpress.org/robertsharp/)
 *   [ sta1r ](https://profiles.wordpress.org/amucklow/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/paragraph-level-ids/)