An open API service indexing awesome lists of open source software.

https://github.com/tarosky/taro-lead-next

Add a simple block to lead to next page.
https://github.com/tarosky/taro-lead-next

wordpress wordpress-plugin wordpress-plugin-published

Last synced: 3 months ago
JSON representation

Add a simple block to lead to next page.

Awesome Lists containing this project

README

          

# Taro Lead Next

Tags: series, posts, news
Contributors: tarosky, Takahashi_Fumiki, tswallie
Tested up to: 6.8
Stable Tag: nightly
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Add simple block to invoke click to next page.

## Description

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

### Customization

### Style

HTML structure is like this.

```


```

In block editor, `a.taro-lead-next-line` will be `

` 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?";
} );
```

## Installation

### From Plugin Repository

Click install and activate it.

### From GitHub

See [releases](https://github.com/tarosky/taro-lead-next/releases).

## FAQ

### Where can I get supported?

Please create new ticket on support forum.

### How can I contribute?

Create a new [issue](https://github.com/tarosky/taro-lead-next/issues) or send [pull requests](https://github.com/tarosky/taro-lead-next/pulls).

## Changelog

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