Questions tagged [nextpage]

The tag has no usage guidance.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
65 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( "/(\&...
1
vote
0answers
419 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 ...
0
votes
0answers
38 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
0answers
45 views

wp_link_pages how to attach a link to last <!--nextpage-->

I want to add a custom link to a last <!--nextpage-->. For example this is the page: Slide 1 <!--nextpage--> Slide 2 <!--nextpage--> Slide 3 <!--nextpage--> <- I want the *...
0
votes
1answer
45 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/...
0
votes
0answers
28 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 ) { ...
0
votes
0answers
204 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 ...
0
votes
0answers
144 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
1answer
230 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 ...
0
votes
1answer
93 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-...