该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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个区块.

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