Breaking up content into smaller-sized pages to be viewed individually

learn more… | top users | synonyms (1)

0
votes
1answer
216 views

Get total posts found, but while using limit for pagination? get_posts

I have a ton of posts that I need to get the IDs of based on a custom taxonomy search. As it's used for pagination, I also need to get the total posts without a limit, but I'm not sure how. I use the ...
1
vote
2answers
2k views

Using pagination with get_posts on page type

Is there a way to use pagination on a page query like with posts? Here is the code I'm using: $listingPages = get_posts( array( 'cild_of' => '7', 'meta_key' => 'Type', ...
0
votes
1answer
285 views

Group list of posts by taxonomy and allow for pagination

There are multiple ways of showing a list of (custom) posts by taxonomy, but none appear to allow for pagination. So, I can easily list all posts like: Page 1 1 2 3 4 5 Page 2 6 7 8 9 10 ...
0
votes
0answers
58 views

How to paginate categories and sub categories?

Here is my code so far: <?php if (isset($wp_query) && $wp_query->max_num_pages > 1) : ?> <div class="row"> <div class="col-md-12"> ...
0
votes
1answer
80 views

Get next and previous page of paginated post

A lot of a site I'm creating for a client is going to be posts with different pages for posts like "Top 10 " etc. This means I need to paginate the posts to create different pages. The best way I've ...
0
votes
0answers
9 views

Pagination on custom post type with 2 wp_queries [duplicate]

Im trying to get my pagination on a page that lists all custom post types working. I have tried both the bones theme next/prev as well as the default wordpress option, to no avail. This is the two ...
0
votes
0answers
80 views

previous_posts_link returns null when querying custom post type

I have created a custom post type named lesson, and I want to display all lessons, so I created a custom page named lesson.php, inside, I added a query to look for all the posts which type are lesson. ...
0
votes
0answers
29 views

How to change URL of Pagination?

I have used PageNavi Plugin for pagination ,Generally when we click on page-two we get url like this : http://www.example.com/acb/page/2 but how Can I change Url like this ...
0
votes
1answer
302 views

Custom Post Type Pagination for Bones Theme [duplicate]

I am trying to implement pagination to my custom post type and I am using the bones theme framework as well as their function they provide for pagination. Here is my code $paged = ...
0
votes
1answer
97 views

Second loop pagination changes URL, not content

I'm reasonably new to WordPress and I believe I am missing something conceptual here. I have assigned a static post to be my front page. My front-page.php template begins with a standard loop: ...
0
votes
0answers
61 views

How to add archives (with pagination) to page template?

So the site I'm building has a few different archives pages. For the newest one I'm building, I tried to copy the archive.php I've got: page-archives.php: <?php get_header(); ?> <section ...
0
votes
0answers
103 views

Trying to do a custom Search results page. Failing when I use the pagination

I'm trying to do a page where the user can search for posts with a Keyword (as search.php) and post date filter (between one date and another). I have a form with 3 fields: keyword, date1 and date2 ...
0
votes
0answers
25 views

Nexgen gallery glitch

http://weinthemix.net/gallery/ pw:weinthemix1 All the galleries work except for Nightlife. When I click it, it just stalls and then it says 500 Internal Server Error The other Albums are set ...
0
votes
0answers
75 views

Page loads all pages of the image gallery with pagination

Same as my previous question I have moved to new website. Here there is a page which contains an image gallery with pagination. The text code is like this: [gallery columns="6" ...
1
vote
5answers
413 views

Pagination for blog posts reloading same page

Symptoms Visiting /blog/ loads the first 10 posts, as expected. Visiting /blog/page/2/ (and onward) loads the new URL but with the same 10 posts. Nothing changes but the URL. Setup Details Custom ...
0
votes
1answer
64 views

Pagination with custom query (not using posts)

I've been looking at this problem for a few weeks now, constantly running into the same problem. It's a bit of a complicated setup: I've got a category called "dossiers". I've also got a custom ...
0
votes
1answer
84 views

get recent 12 days post then random in wordpress

I want to show recent 12 days post then totally random post showing i have done my almost done my work but my problem is i want to show only 12 post in a page then pagination will start. In my code ...
0
votes
1answer
140 views

Custom post type blog pagination conflict

I have a custom post type called 'emp_case-studies' and it has a page archive. Here is the code for archive-emp_case-studies.php: <?php $blog = $wp_query; $wp_query= null; $args= null; ...
-1
votes
1answer
59 views

Pagination Categories

<?php /**** Pagination ****/ function theme_pagination() { global $wp_query, $wp_rewrite; $wp_query->query_vars['paged'] > 1 ? $current = ...
-2
votes
1answer
83 views

Twenty eleven: older newer links disappeared

I have a child theme version of twenty eleven and everything seems to work fine, but the "older" "newer" buttons at the bottom have always been missing. See: http://ohlaland.com/ The thing is that ...
0
votes
0answers
41 views

URL rewrite function and pagination with year in the url

UPDATE No more 404 errors. Part of the problem was I using a reserved variable (year, doh!) so i changed a couple of things around and i have this almost fully working. I've made very good progress ...
0
votes
0answers
64 views

Pagination on custom page template

I have a page with videos, which are getting from custom plugin which attaches videos to post (not my work) and through loop by posts shows on video page. (not my work too) The page have link like ...
0
votes
1answer
115 views

Pagination 404 Not Found child page

I have a page Heemtijdinghen displaying custom posts (post_type=artikel) paginated. The page is a child page of page Publicaties: /publicaties/heemtijdinghen/ When navigating to e.g. page 2 a 404 Not ...
0
votes
1answer
65 views

How do I make pagination_links show as 01 02 03, instead of 1 2 3?

Based on: http://codex.wordpress.org/Function_Reference/paginate_links how to make these links show as 01, 02, 03... rather than the normal single digit? thanks so much
0
votes
1answer
233 views

How to append a query string to pagination?

I would like to append 2 variables from page 2 onwards in my loop. This is my normal category page www.example.com/category/news/ This is what I would like on pages: 2, 3, 4, 5 etc ...
0
votes
1answer
878 views

Pagination on custom post type not working if permalinks set to rewrite url

When rewriting the url like this: .../%postname%/ This is the relevant part of my post type registration arguments: 'rewrite' => array( 'slug' => 'haendler', 'with_front' => false ) My ...
-1
votes
1answer
26 views

repeating posts on 2nd page to posts

I am having an issue where I wanted to strip out all categories but one from the homepage so I added the following to the loop: query_posts('cat=2'); However now the issue is that page one of the ...
0
votes
1answer
254 views

Wordpress Numeric Pagination with Query String [duplicate]

So I have a dynamic loop which is affected by a query sting in the URL.. For example I have 3 categories and when they click the category it just adds a query to the URL: <a ...
1
vote
0answers
267 views

multiple loops with pagination on the same page

I'm searching the web for this answer for three weeks now. Tried many things but nothing seems to work as how it should work. There must be a kind of trick what probably won't make sense to anybody ...
0
votes
1answer
67 views

No content found on page 2 of pagination with 1 post per page

This loop (used on a taxonomy-term archive page) is not paginating correctly. The older/newer links for page 2 are there, but when I click on older, it returns "no content found" (when what I expected ...
0
votes
0answers
54 views

Can't get correct pagination links on blog single page

I am new to wordpress but I am going through something unusual here. The blog I am designing is something a little different. Let's say there is just a blog index and single posts. I have designed ...
0
votes
2answers
156 views

Pagination shows same contents all pages

Here is my loop $my_query = new WP_Query(array( 'cat' => -399, 'posts_per_page' => 6, 'offset' => 5, 'paged' => ...
0
votes
0answers
93 views

Learning rewrite rules and custom permalinks. Paging not working

I am just starting to learn rewrite rules and custom wordpress permalinks. I have made a custom endpoint called autor with the following code: function my_query_vars($vars) { $vars[] = "autor"; ...
0
votes
2answers
146 views

How can this multiple loop have pagination as described?

In the paste below is the code for the template running the CPT archive page at http://www.m.angiemeekerdesigns.com/totd Everything about the page is working as expected except the pagination. What ...
0
votes
0answers
26 views

wordpress pagination problem with page templates

just now i found that pagination depends on permalink structure.I am using wp 3.8 version. For pagination in page template I used <?php $paged = (get_query_var('paged')) ? get_query_var('paged') ...
0
votes
0answers
168 views

AJAX Pagination not working

I have integrated an AJAX Pagination in my site sidebar, where I'm showing custom post type. Here is my code: <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $new_query = ...
0
votes
0answers
261 views

Custom post type pagination, single page issue

After having problems getting pagination working at all for custom post types, I've read that the custom post type name and the page name cannot be the same. So I set out from scratch: I've created ...
1
vote
1answer
369 views

Edit format of Paginate_Links()

I'm using paginate_links to paginate the results of a loop. I want to style the pagination using dots instead of numbers, but I'm not sure how to go about doing this. I could try to play around with ...
0
votes
1answer
90 views

How to group posts by months and add pagination?

I want to group by posts by months. Like this: January 2014 Post name Post name December 2013 Post name November 2013 Post name Post name Post name Post name I need to have 10 months per page, ...
0
votes
1answer
60 views

Pagination and Related Posts

Is it possible to use pagination with the following related posts code, which is embed in single.php of my theme. <?php // for use in the loop, list 5 post titles related to first tag on ...
0
votes
1answer
25 views

Pagination for custom query won't let me back on page 1

I have a custom query … <?php /** * The loop that displays the posts. */ ?> <ul class="post-items"> <?php $args = array( 'post_type' => array('post', 'wr_raffle'), ...
1
vote
1answer
46 views

wordpress is converting ?page=2 into /2

with this code paginate_links( array( 'base' => @add_query_arg('page', '%#%'), 'format' => '?page=%#%&a='.$a, ) ) looks output like this <a class="page-numbers" ...
0
votes
0answers
39 views

Pagination for a Custom Taxonomy

Here's my problem: I have a Custom Post Type called Projects. In it's archive (archive-projects.php) I display a list of Clients (it's a custom taxonomy for this Projects). This works great, you can ...
0
votes
0answers
15 views

WordPress creating 404s under blog tags

Webmaster Tools is pulling up 404s under by blog tags. I go to a blog tag, scroll all the way down and find an "older posts" button. I click the button and the new page is a 404 because there is not ...
0
votes
1answer
88 views

Custom post type (with parent-child relationship) singular page with pagination

I'm building a site that has two custom post types: Auction and Lot. Lots are connected to an Auction via the post_parent field. The single-auction.php template show 9 lots of an auction using the ...
0
votes
0answers
22 views

Pagination problem with custom taxonomies [duplicate]

My previous developer made me a theme but he does not work for me anymore. He made pagination but it does not work. He used GET parameters as search terms which search through custom taxonomies. At ...
0
votes
2answers
1k views

Pagination Custom post type

I have a custom post type called 'doel'. I have made a page template to display all the doel items In this page template I loop the 'doel' post type and after 6 of them, I want to have a pagination. ...
-1
votes
1answer
61 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
0answers
12 views

How do I create pagination? [duplicate]

I've got a site with a static front page and another page for posts. On the posts page I'm using paginate_links() to generate pagination. However, it isn't producing output. Dumping the output as a ...
0
votes
0answers
41 views

How can create a pagination fpr my CPT Template

I create a template for my book cpt archiv. How can creat a Pagination Page prev 1 2 3 next to the E-Paper Archiv Template? Twenty Ten Template <?PHP /* Template Name: ...