Taro Lead Next

설명

This plugin add a simple block to call user attention to click next page of paginated posts.

Customization

Block Settings

No coding required for basic customization. Select the block in the editor and open the sidebar (Inspector Controls) to change:

  • Title: The heading text shown above the lead text. Leave empty to omit it.
  • Text Alignment: Left / Center / Right / Default.

The lead text itself is edited directly and inline, just like a paragraph block.

Style

HTML structure is like this.

<div class="taro-lead-next">
    <a href="%link%" class="taro-lead-next-link" rel="next">
        <!-- Title will be omitted if empty. -->
        <p class="taro-lead-next-title">
            Next Page
        </p>
        <p class="taro-lead-next-body">
            Click next page and find the result!
        </p>
    </a>
</div>

In block editor, a.taro-lead-next-line will be <div> tag.

Default stylesheet is registered as tsln-lead-block in init hook at the priority 20.
For full customization, register your style as a same name. The style registered faster priors to plugin’s style.

add_action( 'init', function() {
    wp_register_style( 'tsln-lead-block', 'your-theme/original.css', [], '1.0.0' );
}, 10 );

Header

Default header title is “Next Page”. You can change it per block from the sidebar (see “Block Settings” above). To change the site-wide default instead, use this filter hook:

add_filter( 'tsln_next_page_default_title', function( $title ) {
    return "What's Next?";
} );

스크린샷

블록

이 플러그인은 1개의 블록을 제공합니다.

  • Lead to Next

설치

From Plugin Repository

Click install and activate it.

From GitHub

See releases.

FAQ

Where can I get supported?

Please create new ticket on support forum.

How can I contribute?

Create a new issue or send pull requests.

후기

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

기여자 & 개발자

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

기여자

“Taro Lead Next”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Taro Lead Next”(을)를 번역하세요.

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

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

변경이력

1.2.1

  • Document existing block sidebar settings (Title / Text Alignment) instead of implying PHP is required.
  • Update plugin tags for better search relevance (drop unrelated “news”, add “pagination”, “next-page”, “block”).
  • Fix broken HTML rendering in the Description page’s code samples.

1.2.0

  • Bump minimum requirements: WordPress 6.6, PHP 7.4
  • Renew build system.

1.1.0

  • Drop support under WordPress 6.1
  • Fix warning on block editor.

1.0.4

  • Add script translation.

1.0.0

  • First release.