Opened 16 years ago
Closed 9 years ago
#9911 closed enhancement (fixed)
Add new filter to control content splitting into multiple pages
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 2.7.1 |
Component: | Posts, Post Types | Keywords: | has-patch needs-refresh |
Focuses: | template | Cc: |
Description ¶
Currently the only way to create multi-page post is to use <!--nextpage-->
tag. I suggest to add new filter which will allow plugins to control this functionality. In attached files you can find path which adds such filter, and example plugin (it converts each paragraph to separate page).
Commits (1)
- [35285] Query: Introduce the
content_pagination
filter, which makes it possible to manipulate how post content is split into "pages" inWP_Query::setup_postdata()
.… by @DrewAPicture 9 years ago
Pull Requests
- Loading…
Change History (21)
#8
@
14 years ago
- Keywords dev-feedback added
Any chance to get it commited in near future? Maybe not 3.3, but 3.4?
#9
@ Lead Developer
11 years ago
- Component changed from Template to Posts, Post Types
- Focuses template added
This ticket was mentioned in Slack in #core by chriscct7. View the logs.
9 years ago
#13
@ Core Committer
9 years ago
@chriscct7 Is content_paginate
in 9911.patch supposed to be an action or a filter? If it's actually a filter, we need to change the summary in the hook doc to match the type.
#14
@
9 years ago
- Keywords needs-refresh added; needs-testing dev-feedback removed
Filter, will update in a few
Note: See
TracTickets for help on using
tickets.
path for wp-includes/query.php