이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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_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.

설치

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.

FAQ

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;
});

What happens if I deactiavte this plugin?

The plugin does not add anything to the content stored in the database, all attributes are added dynamically by the plugin. So you can safely deactivate the plugion if you no longer want the functionality it enables

Can you give me some examples of sites running this plugin?

The LocalHero project website and the Melbourne touch rugby association I founded both run on the same multisite that uses this plugin.

What is something does not work?

LH Paragraph Ids, and all LocalHero plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: https://wordpress.org/support/plugin/lh-paragraph-ids/. I look there regularly and resolve most queries.

What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“LH Paragraph Ids”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “LH Paragraph Ids”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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 07, 2022
Removed settings, improved and simplified