Breaking up content into smaller-sized pages to be viewed individually
0
votes
1answer
886 views
Show Previous/Next Posts navigation only inside the same category
Is it possible to force previous/next navigation to browse through the posts (back and forth) that are only inside the same category (and to exclude other categories)?
0
votes
3answers
543 views
Generating rel=prev and rel=next only on wordpress categories
I was trying to remove the rel=prev and rel=next tags from my website as my SEO gut suggested. I found those functions which perfectly do the magic:
remove_action('wp_head', 'start_post_rel_link', ...
0
votes
1answer
56 views
Pagination is not working correctly there is this wierd looping
I am working with a developer who recently updated my site to 3.3.1 My site is http://www.pagesandprint.com
When I open the site and then select Shop from the menu drill down to a category page like ...
2
votes
3answers
442 views
Pagination on custom query
I'm using the following code with query_posts to put together a custom search:
$args = array(
'post_type' => 'species',
'meta_query' => $meta_query,
'tax_query' => $tax_query
);
...
2
votes
1answer
242 views
How can I paginate image attachments in a post?
I have a post with attached images and I was able to display the images but I'm can't seem to find a way to paginate the results. I am using get_children but now I'm wondering if my method of ...
1
vote
1answer
2k views
Multiple WP_Query loops with Pagination
There are a few other questions about this (and WP_Query pagination seems to be a huge question for a lot of people) so I'm trying to narrow down exactly how to make it function.
I'm able to create a ...
-1
votes
2answers
862 views
category.php + pagenavi + custom post types + /page/2 = 404 errors
I'm seriously going to go crazy if I dont figure this out. I have tried a million different things from googling,a nd I've been staring at this same problem for days now.
Pagination for a custom ...
1
vote
1answer
834 views
pagination not working for category.php (custom post types in categories)
it works everywhere on my site but it isnt working in category.php. When i click page to it goes to... domain.com/category/cat-slug/page/2
by the way this is showing custom post types within certain ...
0
votes
0answers
371 views
How do i paginate a get_posts() request inside another page loop (Paginating childpages)
The heading says allot, so ill repeat it here "How do i paginate a get_posts() request inside another page loop?" I'm using a page to display child-pages and i need to paginate them.
Edit: Should i ...
2
votes
2answers
734 views
Non existing blog pages are not redirected to 404
I've got a page called Blog. In the Settings -> Reading I've set my Blog page as Posts page. In the menu when I click on the Blog link the posts are loaded correctly and pagination works, so far so ...
0
votes
1answer
129 views
Pagination not working
$paged for pagination is awlays returning 1, so no matter what page i click "1" is always highlighted and it always shows the same posts. i have tried a million different combinations of things to fix ...
2
votes
2answers
2k views
Show posts of category in a page
I would like to be able to display all the posts in a certain category on a page so that all posts are on that one page and there is no pagination.
If possible, I would also like to display a short ...
1
vote
1answer
2k views
Custom paging function
I use this code for my custom paging :
global $wpdb, $table_prefix, $current_user;
get_currentuserinfo();
$umail = $current_user->user_email;
$paged = $wpdb->get_results("SELECT * FROM ...
0
votes
1answer
458 views
Pagination throws 404 error on custom taxonomy archive pages
I have created a custom taxonomy for a custom post type called "portfolio" like so:
function jvs_portfolio_categories_init() {
register_taxonomy(
'project-category',
'portfolio',
...
0
votes
1answer
498 views
Ajax (jquery) wp_query pagination returns -1
I am currently developing an ajaxified theme for wordpress. I am listing the posts in a particular category, but the pagination returns -1 when clicked. Lets say I set showposts to 3 and a particular ...
1
vote
1answer
175 views
Admin Panel pagination link styles
Whenever I write plugins that use Admin Panels, I include some form of pagination using the paginate_links method and I have always been able to style them in a nice way using the suggestions on this ...
1
vote
1answer
842 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
2answers
1k views
Pagination Not Working (pages duplicating content)
My pagination pages echo out the same content on every page.
Page one is queried to show two posts, which it shows up correctly.
Page two shows the exact same two posts as page one does.
Here is my ...
0
votes
3answers
632 views
Single parent post lists child posts with pagination
I would like to build on this answer so I can incorporate pagination and a couple of other features.
We have over 1,600 entries in our Glossary so certain letters have far more than 20 (my max ...
1
vote
1answer
806 views
Static front page with recent posts pagination
Is it possible to include index pagination on a static front page?
I have a child theme of twenty eleven and I am attempting to have a home page where there is a slider for sticky posts followed by ...
2
votes
1answer
1k views
Why is “/page/2/” not working?
Finally got pagination to work with the below code, but now the pagination links to /videos/page/2/, which doesn't exist. How do I get page 2 to work?
<?php
$temp = $wp_query;
$wp_query= null;
...
0
votes
1answer
569 views
Pagination in author, category, archive and tags pages does not work
I have implemented a no-plugin pagination taken from here: http://www.kriesi.at/archives/how-to-build-a-wordpress-post-pagination-without-plugin
It's works perfecto un normal loop but when I try to ...
0
votes
1answer
178 views
Why won't pagination work?
I am using a page template with code to display all blog posts:
<?php /* Template Name: Blog */ ?>
<?php get_header(); ?>
<div id="main">
<?php
// ACF Page number variable
...
1
vote
2answers
406 views
tag.php pagination and query_posts()
Having some issues on the tag.php page.
Right now it just give me a "nothing to show" If I have no query it shows posts, but I want to change the number of posts per page.
Changing the reading ...
4
votes
1answer
337 views
WordPress search: pretty URLs (permalinks), custom post types and pagination
I have three separate search boxes on my website: species CPT search, glossary CPT search and a general search which I'd like to search post and species post types.
My questions are threefold,
...
1
vote
1answer
275 views
How to set up pagination [closed]
This sounds simple enough but I'm finding it impossible to implement. This is my website, you can see that on the homepage there are post excerpts but I am only showing 15 posts out of about 25 by ...
0
votes
7answers
2k views
Paginate Custom Post Type Page
I created a page for my custom post types. The code can be viewed on Snippi: http://snippi.com/s/e8852rx
I'm trying to insert paginate_links, but for whatever reason it's simply not showing up. ...
0
votes
2answers
248 views
Different layout on second page
My homepage has 1 featured post, followed by 4 posts stacked 2 on 2, like this:
The featured post is only shown on the first page so the second page shows the older posts stacked 2 by 2 as above.
...
3
votes
2answers
176 views
Pagination for sub-pages
I have a top level page with a lot of subpages.
When a user visits the top level page they currently see the titles/thumbnails/excerpts of all of the subpages.
How can I paginate the display of the ...
0
votes
3answers
295 views
Hide featured post on second page
I have a index.php with a featured post and a number of other posts and the standard wp_pagenavi at the bottom.
I'm using the 2 loops from the wordpress codex like this:
<?php $my_query = new ...
1
vote
1answer
222 views
PHP code to use on next & previouspage links
I'm having an issue with wp_link_pages tag. I want to list the number of pages of each post with 'next' and 'previous' links that are two image arrows.
To better understand the problem I'm having, ...
6
votes
1answer
174 views
post pagination names, not numbers
currently, using <!--nextpage--> on a post pulls just numbers. What I would like is to be able to name each page break, and then call the name instead of just a number. Something like:
...
1
vote
1answer
404 views
posts_per_page & pagination conflict
I have a custom query to display my custom post type. posts_per_page set to '5'. In admin post per page set to '10' (settings => Reading => Blog pages show at most 10 posts)
My template lists 5 posts ...
0
votes
1answer
132 views
You can add paging in results? [closed]
The plugin is very good, but I think it is missing one feature: add paging results: Example: I have 30 posts but I want to display 10 posts per page, then automatically be added paging to two other ...
0
votes
2answers
2k views
Post Pagination Showing Same Posts Every Page
So I have this blog that filters by category Then by city. Somewhere while creating the filtration I broke the pagination which seemed to work fine earlier. It doesn't work on my homepage where it ...
2
votes
1answer
744 views
Frontpage pagination issue with paginate_links() function
I'm using following snippet to output pagination:
// get the current page
if ( get_query_var('paged') ) {
$current_page = get_query_var('paged');
} else if ( get_query_var('page') ) {
...
1
vote
1answer
119 views
Force category-slug.php to show page, even if it doesn't exist
I have a custom query in category-slug.php, which works fine unless the category doesn't have that number of pages itself.
If the category only has 5 pages of posts, but the query I put in has 7, ...
4
votes
1answer
49 views
How can I see all of a post's comments on a single page as a reader, if pagination is enabled?
Is there an URL I can access, or an argument that can be passed, to disable pagination on the reader's side?
The blog uses standard Wordpress comment pagination, i.e., ...
0
votes
1answer
902 views
How do I paginate a list of categories?
I recently added thumbnails for my categories, which has had the side effect of making the page they are listed on unbearably long. Because of that, I am hoping to paginate the list of categories.
...
0
votes
1answer
129 views
Wordpress pagination with wp_query_columns
I'm using the code from here to split my loop up in to columns. The columns work. I have 7 posts in the databese and showposts set to 6. I cannot get nextpage link to show? I have a $paged variable in ...
4
votes
1answer
189 views
Query causing load because of SQL_CALC_FOUND_ROWS post counting?
I found this query causing some load in the server, my hosting provdier asked me to look on it.
SELECT SQL_CALC_FOUND_ROWS wp_posts
I think this select no. rows found in wp_posts table.. but i ...
1
vote
2answers
1k views
Next and Previous buttons for navigation
I purchased the Nuke theme and added a custom page template using the code from page.php as a framework. The only code I added was a loop to pull 5 posts from category ID 12. I would like to add ...
0
votes
1answer
405 views
Can I paginate this get_attachment query?
Yeah, basically I want to be able to show 15 images attached to a certain page and have pagination when the page has more than 15 images.
I'm not very well versed on this kind of query so I'm a bit ...
2
votes
2answers
552 views
Broken pagination
Well I'm here again with almost the same problem as I had in this post three weeks ago, but let me explain what has happened since then:
I was originally using one loop to display the most recent ...
0
votes
1answer
373 views
Blog pagination WITHOUT using max_num_pages
WP 3.2.1
I'm in a bit of a bind. I have to create some pagination for the blog, but I believe I'm running into the bug described here, and I don't have authorization to fiddle with the server's ...
0
votes
1answer
477 views
Page with Multiple Loops Breaking Pagination
I made a customized index.php so that I have multiple loops on the same page so that the content can be displayed differently. I got this to work, however the pagination is broken. Despite several ...
0
votes
2answers
844 views
Making a Killer wp_link_pages
I am trying to achieve a similar look to the image below, a working example can be found here: http://www.menshealth.com/celebrity-fitness/mark-wahlberg-fighter-workout
The needed code must do the ...
1
vote
1answer
613 views
How to add pagination to my code?
I just want to ask how can I add pagination here in this code:
<?php if ( get_option('webly_display_media') == 'on' ){ ?>
<div id="recent-projects">
...
1
vote
2answers
339 views
Pagination on 2nd loop
OK, I am creating a business listing site that is using a custom taxonomy for the listing "type". I need to display two loops on the taxonomy archive page, one for "sponsored" listings and one for ...
2
votes
2answers
278 views
How WordPress converts URL to $query_string
My home.php shows a list of (N) posts and << Previous & Next >> links. When clicked, I want to fetch previous/next list of (N) posts using Ajax. This is: I do NOT want to load the entire ...
