WP Split Single Page
Helpers to split single page with each array of custom field on WordPress.
by SECT INTERACTIVE AGENCY · github.com/sectsect/wp-split-single-page · website
★ 1stars
12composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sectsect/wp-split-single-page/archive/refs/heads/master.zipAlso on Packagist as sectsect/wp-split-single-page:
composer require sectsect/wp-split-single-pageFrom the readme
WP Split Single Page
\- For Each Array of custom field -
Supply some functions and Pagination for split single page for each array of custom field without on your template.
Installation
1. Clone this Repo into your wp-content/plugins directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
That's it:okhand:
Notes
- Supports ispreview() Page. See Usage Example.
- Supports Wordpress Plugin Public Post Preview
- Supports Wordpress Plugin CF Preview Fix for Cloudfront
:memo: You need to manually add the following two parameters to the URL output by CF Preview Fix.
functions
| Function | Description |
| ------ | ----------- |
| issinglepaged($num) | Detect the specific splitted page number. ( Return: boolean ) |
| singlepaginate($args) | Get the Pagination. ( Based on paginatelinks() Codex ) |
| prevsinglepagedlink($pagecount, $paged, $label, $type) | Get the Previous Split Single Page link |
| nextsinglepagedlink($pagecount, $paged, $label, $type) | Get the Next Split Single Page link |
| addrelprevnextpaginatedposts($pagecount) | Get rel="prev" and rel="next" linksSee Indicating paginated content to Google |
singlepaginate($args)
Default Arguments
TI
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.4.0 | Jan 26, 2019 |
| v1.3.0 | Nov 4, 2018 |
| v1.2.8 | Apr 26, 2018 |
| v1.2.7 | Apr 26, 2018 |
| v1.2.6 | Apr 26, 2018 |
| v1.2.5 | Apr 26, 2018 |
| v1.2.4 | Apr 26, 2018 |
| v1.2.3 | Apr 26, 2018 |
| v1.2.2 | Apr 26, 2018 |
| v1.2.1 | Apr 26, 2018 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.