Questions tagged [nextpage]
The nextpage tag has no usage guidance.
42
questions
0
votes
0
answers
35
views
How is the Page Splitting implemented in the theme?
I am studying how the page splitting is implemented, after inserting in the post.
Currently in my theme, all split pages will show the content of the first page. So I think the issue comes from the ...
0
votes
0
answers
125
views
Using <!--nextpage--> within a shortcode
Here's one issue I am currently trying to solve and it concerns using <!--nextpage--> within a shortcode.
I'm developing a plugin using a shortcode (unfortunately I don't have any URL to share ...
0
votes
1
answer
203
views
How to create a page /1 using <!--nextpage-->?
I am doing this on a post:
Content 1
<!--nextpage-->
Content 2
<!--nextpage-->
Content 3
<!--nextpage-->
Content 4
<!--nextpage-->
Which divides the content of my post/page ...
2
votes
1
answer
109
views
How to insert text between the page numbers? [closed]
Inside my article I use the tag <!--nextpage-->. Now how to insert text between the page numbers. In HTML it should look like this:
<div class="postlink">
<p style="text-align: center;"...
1
vote
1
answer
450
views
Sort order of next/prev sibling page
I have a page with a couple of children pages. On the parent page I want all children page listed alphabetically by title, but I want the sorting to ignore articles like "The" or "A". I achieved this ...
1
vote
0
answers
70
views
How to use the filter?
How to use the filter, before WordPress converts <!--nextpage-->?
The following construction does not work:
add_filter ( "the_content", function( $content ) {
$content = preg_replace( "/(\&...
0
votes
1
answer
638
views
Display Both next previous and number in single page [duplicate]
In a single page, I split long post by nextpage and shows pagination number or next/previous option.But I want to display both number and next-previous option. Here is my single page screenshot one ...
0
votes
1
answer
55
views
Multipage Post URL correction
I freshly installed WordPress and checked for multipage post, which is separated by <!--nextpage-->.
I'm expecting first URL should be:
example.com/wordpress/this-is-test/1/
example.com/...
3
votes
1
answer
177
views
<!--nextpage--> and previews
I am trying to preview my blog post that has <!--nextpage--> but clicking on any of the other pages just brings back to the home page.
There was an old thread that never got resolved 4 years ...
-1
votes
1
answer
324
views
Single post pagination
I have used <!--nextpage--> tag to paginate longer individual posts, These longer single posts have structure as Title, Content, A, B, C, By using above said tag, I want to paginate A, B, C ...
1
vote
0
answers
482
views
Loading <!--nextpage--> post with Ajax
Here's the case I got: I've setup post pagination for my website and everything works well. Except one thing - on every new page request all the resources are loaded again. This makes the website ...
14
votes
2
answers
412
views
Appending content with <!--nextpage--> broken in 4.4
Update 2016-01-21
All current testing on my end is being done on fresh installs of 4.4.1 with the following settings:
Plain permalinks
Twentysixteen Theme
No plugins activated
If the post only has 1 ...
0
votes
0
answers
31
views
Need some Tweak my nextpage Function
How I can get the next post URL when I'm on the last page ?
e.g. I want go to the nextpost when i'm on the last page...
This code need some tweak...
Here is my Function:
function next_page( $i ) {
...
4
votes
1
answer
161
views
How to get only the URL of nextpage (without <a> tag)
Here is my Function
function next_pages( $args = '' ) {
$r = wp_parse_args( $args, $defaults );
extract( $r, EXTR_SKIP );
global $page, $numpages, $multipage, $more, $pagenow;
$output ...
0
votes
0
answers
319
views
inserting <--!pagebreak--> every 200 characters automatically
:)
I'm trying to split a post in pages at every 200 characters with <!--nextpage-->
I found this code on this page that actually looks pretty good (for my understanding alone - yes I'm a ...
1
vote
1
answer
2k
views
Programmatically inserting page breaks
Is there a way to add a page break in WordPress programmatically?
I'm trying to do this within a PHP loop that goes inside a post as a widget, it generates information that it gets from YELP through ...
0
votes
1
answer
64
views
Get a link to paged(<!--nextpage-->) part?
I want to get a link (like get_permalink($id) ) to it's specific page of a post (created by <!--nexpage--> tag)..
how to achieve this?
0
votes
2
answers
144
views
Test for if you're on 1st page of paginated post (with nextpage quicktag)
I'm developing a site that involves a lot of long posts I'd like to break up using the nextpage quicktag. On the first page there's a large splash photo in the header that I'd like to disappear on ...
0
votes
1
answer
35
views
Widget background images missing on second blog excerpt page
On my main blog page, there are category images on the left-hand side. When I click "next page" at the bottom of the excerpt list, and the second page of excerpts loads, the images are no longer ...
1
vote
1
answer
4k
views
<!--nextpage--> as a shortcode within the loop?
Anyone implemented this successfully? I want to include the <!--nextpage--> within a single post loop as a shortcode. I tried to echo it, the tag shows up but the post doesn't get divided into ...
1
vote
1
answer
1k
views
Please help me with <!--next page--> tag and php code [closed]
I'm writing a php code because I want to get a list of items from sql database and insert it in a post of my wordpress website.
Since the items could be too many for a single post, I would like to ...
1
vote
1
answer
168
views
Can I use images as anchor tags with <?php previous_post(); ?><?php next_post(); ?>
Rather than displaying the title of the next page, I would like to display a large arrow that can be clicked on. To do this I shall either be using image files, or the tag.
Can this be done?
0
votes
1
answer
2k
views
Get next and previous page of paginated post
A lot of a site I'm creating for a client is going to be posts with different pages for posts like "Top 10 " etc. This means I need to paginate the posts to create different pages. The best way I've ...
0
votes
2
answers
68
views
Give wp link pages it's own template
Here's the scenario, I'm working on a site with 100s of of paged posts using the wp_link_pages tag.
The issue I'm having is that they're things I want displayed on the main post that I don't want ...
1
vote
2
answers
2k
views
WordPress /page/2 not working
When clicking the next_posts_link it just shows the same posts as on page 1. It appears to work fine on the category pages and it is only affecting the homepage (home.php)
Thanks!
<?php $...
0
votes
0
answers
22
views
How do I automagically use <!--nextpage--> in custom page template? [duplicate]
I have searched a lot now and not found a real solution that helps me with this:
I am creating a custom page template for an archive page. This (static) page will show all my blog posts ordered by ...
0
votes
0
answers
162
views
How do I paginate posts page with $wpdb?
I am using this to get the posts:
(...) if ( empty( $categories_defined) ) {
$posts = get_posts($args);
} else {
global $wpdb;
$posts = $wpdb->get_results( $wpdb->prepare(
"SELECT * ...
0
votes
1
answer
749
views
"paged" in WP_Query returns 0 posts
If i don't supply a paged value (get the first page), it works. But when i try to get the next page by doing paged => 2 it doesn't find anything even though there are plenty of posts to get.
That'...
0
votes
1
answer
1k
views
Automatically adding a link to the next page link before '<!--nextpage-->' tag in posts?
I'm using the following snippet to automatically break a too long post into multiple pages
function filter_more_with_nextpage( $content ){
$content = str_replace( '<!--more-->', '<!--...
0
votes
1
answer
638
views
alternative to wp_link_pages() that only shows link to last page
I plan to have posts with multiple pages that would receive updates (added pages) over time.
what i want to do is to display the direct link to the last page of the post on the main index.
for ...
0
votes
1
answer
235
views
Trying to display next and previous set of posts on separate page (not parent page)
If anyone has any suggestions or know what I'm doing wrong would be a great help. I'm wanting 3 custom news posts per page and then links to the next list of news items and so on. I've tried next page ...
1
vote
1
answer
91
views
Show all parts in multipage post
You can do a multipage post by using the <!--nextpage--> inside the post. The question is:
How can I display the whole post (not paged) for this post.
0
votes
1
answer
1k
views
Next Page & Previous Page links - skipping a single page - how?
On my Wordpress webpage, I have several Pages. Now I want to display "Next Page" & "Previous Page" links. I know that there are several ways out there to do this, but they all fail because I want ...
4
votes
2
answers
8k
views
Shortcode to insert <!--nextpage-->
Since wordpress does not have a menu icon (aka "user friendly) way to add the command to a post or page, I'm trying to create a shortcode to do it.
However, as logic would have it, its not that easy....
-2
votes
1
answer
2k
views
Next Page Link shows same posts on custom template
I have a Page, with Custom Page Template to display 6 "Posts" with a specific category on that page.
I have tried:
<div class="navigation">
<div class="alignleft"><?php ...
0
votes
1
answer
352
views
Single article separated into multiple pages makes Facebook Like button detect as completely separated articles
I run a multiple author Wordpress platform where authors post articles where many of them are separated in several pages. The visitors can navigate the pages within the article by clicking on a Next ...
0
votes
1
answer
96
views
Modifying Page-Links <!--nextpage--> format
I'm developing a mobile theme and need to change the format of posts that are using the tag.
Can I add something to functions.php to change the format?
Ideally i'd like to make each page a list-...
1
vote
3
answers
548
views
Allow Users to Choose Pagination or Next/Previous (Combine)
I'm building a themes option panel and want users to be able to choose between Next/Previous links or pagination in my archives and homepage.
I need help combining the two functions below (pagination ...
1
vote
1
answer
166
views
Is it possible to skip certain specified pages when using < prev and next > links?
thanks for taking a minute to read my question. I've done some googling and I can't seem to find the answer to this question anywhere. Forgive me if it's somewhere here on stack exchange already.
I'...
0
votes
2
answers
2k
views
Make Current/Active Page Number a Link (WP_LINK_PAGES)
With the default wp_link_pages the current/active page number is not a link. I would like to find a code/hack which turns the current/active page into a link to the top of the page.
I am already ...
2
votes
1
answer
444
views
Previous & Next on Index Page broken
So the Next/Previuos on my index page is broken. It goes to page 2 but doesn't refresh the posts. It will work on my categories and it will work on my posts but it just won't work on the from page. ...
1
vote
1
answer
2k
views
Are shortcode functions applied while rendering the content, or are they executed and stored with the post content?
I'm not sure if I've asked the question properly, apologies for that! What I'm trying to do is, output a <!--nextpage--> tag via a shortcode. But it doesn't work, I guess because shortcodes are ...