描述
This plugin add a simple block to call user attention to click next page of paginated posts.
Customization
Style
HTML structure is like this.
Next Page
Click next page and find the result!
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?";
} );Blocks
This plugin provides 1 block.
- Lead to Next
常見問題
-
Where can I get supported?
-
Please create new ticket on support forum.
-
How can I contribute?
-
Create a new issue or send pull requests.
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
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.