plugin-icon

Taro Lead Next

投稿者: TAROSKY INC.·
次ページへのクリックを促すシンプルなブロックを追加します。
バージョン
1.2.1
有効インストール数
10
最終更新日時
Jul 6, 2026
Taro Lead Next

このプラグインはページ区切りされた投稿において次ページへのクリックを促すためのシンプルなブロックを追加します。

カスタマイズ

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.

スタイル

HTML 構造は以下の通りです。

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

ブロックエディターでは a.taro-lead-next-line タグが <div> タグに置き換わります。

デフォルトのスタイルシートは tsln-lead-blockとして init フックの優先度 20 で登録されます。 完全にカスタマイズするためには、スタイルを同じ名前で登録してください。より早く登録されたスタイルはプラグインのスタイルに優先します。

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

ヘッダー

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?"; } );
無料有料プラン
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 7.0.1
このプラグインをダウンロードして、 サイトに使用できます。