0
votes
1answer
23 views

the paged param is allways 0

I am listing a custom post_type called ad using get_posts wich works fine, Problem that I have is that I am not able to read the paged param, wich I need in order to enable pagination, The thing is ...
0
votes
1answer
100 views

Merged two WP_Queries, posts per page and pagination not working

I merged two WP_Queries with the code below, it has pagination setup as well as posts per page in the final combined object but those settings aren't working. My page shows 24 posts, where is it ...
-1
votes
1answer
51 views

paged query leads to 404? [duplicate]

As soon as I click the "2" on my pagination links I get a 404-error. The url correctly changes to http://mysite.com/?paged=2 <?php /** * The loop that displays the posts. */ ?> <ul ...
0
votes
1answer
70 views

'paged' in wp_query doesn't work

I try to add a code to my wordpress blog show previous posts(in a previous page). I try this code but it don't work: <?php $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1; $args = ...
0
votes
0answers
84 views

next_posts_link not working with custom query

I am trying to create a pagination system through my posts. Here my code: <?php $paged = (intval(get_query_var('paged'))) ? intval(get_query_var('paged')) : 1; $args = array( 'post_type' ...
-1
votes
1answer
124 views

Manually Insert Title & Meta Description for Pagination pages?

This is second version of question Customized title tag for each page in pagination? answered by @joostvanhoof . I would like to add customized title tag <title> and different meta description ...
0
votes
1answer
72 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. ...
0
votes
1answer
89 views

List of filtered Events is breaking paging?

I have a list of events that are displaying in date order, with events in the past being hidden. The issue is that in total, there are 3 pages of events, but once the past events are hidden, there ...
0
votes
1answer
454 views

filter posts by meta key with pagination

Trying to filter out specific posts that have certain meta_key from the main query... problem is it doesnt work with pagination which is my issue here. Anyone knows how to solve this? $paged = (end( ...
0
votes
0answers
15 views

Have custom number of blog posts on homepage with working pagination [duplicate]

Possible Duplicate: How to show a single post on the front page but have normal paging? My question is similar to How to show a single post on the front page but have normal paging?. The ...
3
votes
2answers
608 views

Why does pagination always break when used on any form of a home page?

Why does WP pagination break when used on the homepage? If you take the code below and use it in a page template it works perfectly (make sure you have 3 or more posts). However, as soon as you use ...
0
votes
2answers
113 views

Why won't my paged wp_query work? [duplicate]

Possible Duplicate: Pagination not working with custom loop Any ideas why this paged wp_query doesn't seem to want to work? I've tried replacing the pt_pagination function with the default ...
0
votes
2answers
40 views

send user to first page of results when reposting to page?

I have a custom template with a drop-down that filters posts by category. I do it by making the form post to the page itself and then catching the argument and using it in a query (see code below). ...
0
votes
2answers
1k views

Custom posts per page does not work with pagination

I have one page in my template where I would like to set a custom posts_per_page. Here is the code I have used: <?php global $query_string; query_posts($query_string . '&posts_per_page=4'); ...
6
votes
3answers
3k views

How to determine if I'm on the first page of pagination?

How do I determine if I'm on the very first page of pagination? I'm using WP_Pagenavi. I want to run a function only on the first page of the pagination. I checked the query_var 'paged', it's set to 0 ...
1
vote
0answers
128 views

Taxonomy Pagination [closed]

I have a custom post_type => 'products' wich has a taxonomy => 'product_type' and I have a page that uses a template to display all posts by post_type => 'products'. Works just fine when I ...
3
votes
3answers
5k views

get_query_var( 'paged' ) not working outside of homepage

Twenty Eleven Theme... On the home page, I have successfully filtered the loop to display just "Featured" posts with pagination functioning properly through nav links. I'm trying to display posts ...
4
votes
1answer
4k views

Custom Taxonomy not working with posts_per_page in new WP_query (pagination problem)

OK, so i'm messing with Custom Taxonomies for the second time and in both instances i've run into this problem where using the posts_per_page argument in either a query_posts or WP_query scenario.. ...
0
votes
1answer
982 views

Wordpress loop problem: Multiple loops, index.php and is_paged causing duplicate posts on next page

Hey everyone. I'm not sure if what I'm experiencing is a result of a bug (due to the recent upgrade to 3.1.2) or poor coding. Ever since i upgraded to version 3.1.2 ive been experiencing a problem ...
0
votes
2answers
407 views

Querying posts only if the current page is not paged?

For example, I want to query posts in a page. But I don't want to show them when the user clicks the pagination links. Pretty much like what happens in Youtube. You only see the Top comments in the ...
0
votes
1answer
1k views

Custom Permalinks Break Search Pagination

So I'm having a weird issue that I've never seen. I have a search.php set up like this: $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts($query_string . '&paged=' . ...