The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
10 views

Why is my pagination showing up?

I have the following code, Assume this code spits back one post. the page displaying that post will also display pagination. Why? It shouldn't. This code only queries for posts that belong to the post ...
0
votes
0answers
11 views

paginate_links with meta_query showing incorrect number of pages [duplicate]

I seem to be having a strange problem with paginate_links, and I'm hoping someone can help. I have a custom post type for events, events have categories and a custom field for start date and end date. ...
0
votes
1answer
34 views

Paging with category page

I have created my category.php to display all the posts (i am using custom post) in the category. By default, it's displaying 10 entries, and when i scroll down, i wanna fetch the next 10 entries ...
0
votes
0answers
18 views

Pagination paginate_links() Not Working [duplicate]

Here's my code <?php query_posts(array('category_name'=>'nutrition','posts_per_page'=>'3','paged' => get_query_var('paged'))); while ...
0
votes
0answers
82 views

paginate_links using wp_query post_per_page value?

Wondering if its possible to control the paginate_links count on a content basis without using some type of functions.php edit? Essentially I'm running a wp_query that has a 'post_per_page' parameter ...
0
votes
1answer
185 views

Strange paginate_links behavior. First page link is always whatever page I'm on, all other links are correct

I'm using the following code to generate some pagination: $wp_query = new WP_Query(); $wp_query->query('posts_per_page=5'.'&paged='.$paged); $big = 999999999; echo '<div ...
-1
votes
1answer
34 views

Trying to figure out pagenation [duplicate]

I havet the following WP_Query and while loop that grabs 5 posts from a certain category and now I am trying to figure out how to add pagenation to it, but I am not quite sure, I have added what I ...
5
votes
1answer
267 views

Wordpress Pagination Problem

I want to put Pagination in my wordpress index.php but it does not work. In my index.php there are 3 section of loop that show custom posts and i want put pagination in Blog / recent post section loop ...
1
vote
0answers
30 views

paginate_links refers to “Not Found” page [duplicate]

Possible Duplicate: paginate_links() don’t properly work in search.php? I'm trying to make a simple pagination nav menu, using the following code: global $wp_query; ...
1
vote
1answer
111 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
194 views

How to add pagination to category templates

I have a function which named kriesi_pagination, which is a function for showing page numbers in php. I copied the code into the functions.php for my site. The I call this function in the index.php ...
0
votes
2answers
2k views

paginate_links() don't properly work in search.php?

I'm using this in my search.php template … <div class="pagination"> <?php echo get_pagination_links(); ?> </div> And this is the function … function get_pagination_links() { ...
5
votes
6answers
2k views

Paged posts - how to use numbers and next/previous links?

I want wp_link_pages (mutli-page posts) to display the page numbers, the word "previous" before those numbers, and a "next" after those numbers. It would look like this: Prev 1, 2, 3, 4 Next I'm ...