Tagged Questions
0
votes
1answer
94 views
Using loop pagination on single.php
I want the main front-page loop to show in a section on both index.php AND single.php templates, with pagination.
Pagination works fine on the homepage, but not on single posts. This is the code ...
1
vote
0answers
54 views
How to make the link to the category for a post go to corresponding page number in archive?
For instance, I am at http://url.com/single-post and in the post there is a link to the category that navigates to http://url.com/category/page/3/ which is the corresponding archive page that contains ...
0
votes
1answer
61 views
Pagination issue with Single.php
I am having issues understanding the worlds most simplest concept when it comes to building a single.php file and using pagination.
The code bellow shows a wordpress loop, its contents and then ...
1
vote
0answers
83 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 ...
1
vote
1answer
844 views
Pagination for custom query on single.php
I'm building a site and the basic structure on most pages is as follows:
<!-- content query -->
<!-- recent posts preview query (paginated) -->
<!-- related posts preview query ...
0
votes
1answer
583 views
Possible to paginate on single.php?
I know this sounds illogical and maybe it is, but the client's asked for it so I'm looking into a solution if possible.
On a section of the site there's a link that leads to category-news.php, which ...
0
votes
1answer
87 views
Display “Post 2 of 4” on single post page?
I have a custom post type called Projects.
When viewing a single 'project' post I have next/prev buttons to navigate through them.
I also want to display text saying "Project 2 of 4" or ideally ...
1
vote
2answers
698 views
Pagination on single post page?
I've found many pagination tutorials/plugins that work on pages displaying a list of posts such as index.php
E.g. - ...
1
vote
1answer
317 views
how to know if the post has pagination (<!--nextpage-->) or not
i need a solid solution for checking if a post has pagination or not, regardless of the number of current page in the pagination, and even if the post is in the first page of the pagination.
the check ...