這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Taro Lead Next

外掛說明

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

Customization

Style

HTML scructure is like this.

<div className="taro-lead-next">
    <a href="%link%" class="taro-lead-next-link" rel="next">
        <!-- Title will be omitted if empty. -->
        <p className="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”. We have a plan to make it customizable from Theme Customizer, but you can change it by filter hook for the present.

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

適用於區塊編輯器

這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Taro Lead Next
  • Lead to Next

安裝方式

From Plugin Repository

Click install and activate it.

From Github

See releases.

常見問題集

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

  • Add script translation.

1.0.0

  • First release.