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

learn more… | top users | synonyms (1)

0
votes
1answer
69 views

Remove Post if Advanced Custom Field is checked to fix paging

I'm trying to setup a query that filters through posts and removes ones that have an ACF field "archived" checked. Post queries are pretty foreign to me. ...
0
votes
0answers
39 views

Search page pagination - unable to fix

I apologize for posting this as I know it's a common question but I haven't been able to crack it on my own. My search page works just fine other than the pagination (when you click on a successive ...
-4
votes
1answer
242 views

paginate_links() returns NULL instead of the pagination links, but pagination is actually happening

What I'm trying to do: Print the pagination links on the home, which uses template index.php, with pagination functions such as paginate_links(), outside The loop. What happens instead? Instead of ...
0
votes
1answer
60 views

Custom pagination [duplicate]

I'm using template part for showing portfolio items. It's not page template just portfolio.php file and I'm included it with get_template_part('portfolio'); to homepage. Now everything is working ...
-1
votes
1answer
138 views

Pagination Broken on Loop using ACF

http://dthudson.com/ccr/archive-issues/ The paginated pages are being populated by the content as you can see at the bottom (beneath the posts) but when you click on '2' for instance it loads page 2 ...
0
votes
1answer
86 views

Pagination options using xml data instead of database?

Working on a custom plugin. I have an XML file containing over 500 items I need to make available for posting at the client's discretion. The client wants to share this plugin among a small group of ...
0
votes
0answers
86 views

Using fallback language with polylang and using pagination in different language leads to page not found

Following scenario I am using this in my archive.php to fall back to german in case there are no translations: if (is_category()) { $categories = get_the_category(); ...
0
votes
1answer
183 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 ...
0
votes
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
170 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
55 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
71 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
70 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
225 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
86 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
54 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
101 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
23 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
73 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
356 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
56 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
81 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
130 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
57 views

Pagination Categories

<?php /**** Pagination ****/ function theme_pagination() { global $wp_query, $wp_rewrite; $wp_query->query_vars['paged'] > 1 ? $current = ...
-2
votes
1answer
74 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
59 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
106 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
51 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
180 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
719 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
25 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
222 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
237 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 ...
1
vote
1answer
66 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
53 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
119 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
85 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
134 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
25 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
139 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
203 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
298 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
70 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
47 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
24 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
44 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
37 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 ...