The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
367 views

Limiting number of visible links displayed with wp_link_pages

I need to extend the wp_link_page function to only show a max of 5 links at a time. What is the best approach to limit the number of links? In the end i'd like it to look like this: Previous 1 2 3 4 ...
0
votes
1answer
731 views

Only nextpagelink on wp_link_pages

Does someone have a solution to display only the nextpagelink with wp_link_pages in single posts? I've tried different solutions, but none of it worked. As I reach the last page - wp_link_pages ...
1
vote
0answers
121 views

Add query string to wp_link_pages links

I am attempting to add a query string to the output 'Next' and 'Previous' links that are produced from a modified wp_link_pages. In my functions.php I have: add_filter('wp_link_pages_args','...
1
vote
0answers
303 views

Adding wp_link_pages to a theme that seems to lack?

I'm using wp-bootstrap as basis to build out a custom site. The wp_link_pages function doesn't seem to work and I'm thinking maybe it's just missing from the theme. I've got a code in a page and the ...
1
vote
0answers
117 views

Adding range to wp_link_pages();

I have some very long posts, some have more than 50 pages() and when using wp_link_pages it give me 50 internal post links, clearly this isn't usable. How can I add a range to the wp_link_pages ...
0
votes
0answers
28 views

Styling wp_link_pages after using <!--nextpage--> tag

I want wp_link_pages to return the the link to next and previous pages in a post, and then style those into buttons as shown here: This is the function I'm using: function custom_link_pages($args =...
0
votes
0answers
35 views

How to modify wp_link_pages() to get “Page: 1 of 4 >>”

I'm using wp_link_pages() in single.php . For now I'm getting output like Pages: 1 2 3 > But I want to make it like Page: 1 of 4 > for the first page and < Page: 2 of 4 > for other pages....
0
votes
0answers
61 views

class for the current page in wp_link_pages with next previous and number links

i want to wrap the current page number in tag, currently everything is working fine my output display like this ( prev 1 2 3 4 next ), now i need to add a cuurent class to active page, my code is as ...
0
votes
0answers
26 views

Custom redirect pages with out URL in content post

Please help me, For example, my web link is abc.com and I have an article, and in article 2 link is abc.com/att/file.zip (this is the blog link attachments) and a joint the other loads is xyz.com/...