Opis
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?"; } );
Blokovi
Ovaj dodatak omogućava 2 bloka.
- Taro Lead Next
- Lead to Next
ČPP
-
Where can I get supported?
-
Please create new ticket on support forum.
-
How can I contribute?
-
Create a new issue or send pull requests.
Recenzije
Nema recenzija za ovaj dodatak.
Saradnici i programeri
“Taro Lead Next” is open source software. The following people have contributed to this plugin.
Doprinositelji“Taro Lead Next” je prijeveden na 1 dijalekt. Zahvala prevodiocima za njihov doprinos.
Prevedi “Taro Lead Next” na vaš jezik.
Zainteresirani za razvoj?
Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.
Zapis promijena
1.0.4
- Add script translation.
1.0.0
- First release.