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

learn more… | top users | synonyms (1)

0
votes
1answer
49 views

Pagination on Custom Post

I'm trying to figure out how I can display pagination on my wordpress template. Here is my work in progress. So far the page link doesn't show up <div class="eight columns"> <ul> ...
0
votes
0answers
99 views

All pages showing same posts

My blog is showing all the same posts (recent 10) on every paginated page. I'm trying to get it to display only the category "irl", which is working. but /page/2 etc. show the same posts.. my loop: ...
0
votes
1answer
14 views

Combining content breaks category pagination

I'm trying to combine two types of content in a category archive, essentially injecting a second stream of content into the archive, but I can't get pagination to work. Say I have 15 posts, and 10 of ...
1
vote
0answers
26 views

Adding default pagination to wordpress loop

I am trying to add default pagination to my Wordpress loop but am unsure where to begin, most guides explain how to create custom numbered pagination. I simply need the default wp pagination. (newer ...
1
vote
1answer
13 views

How can I show a multipage post as a single, wrapped post?

First up: this isn't the same as just showing a multipage post in full (that's done fairly trivially by using <?php echo apply_filters('the_content', $post->post_content); ?>, FYI!). What I ...
0
votes
0answers
16 views

Styling page-links pagination with custom text I need

How can I make the page links with custom text? Example: <!--nextpage--><!--title: Season 1--> blablabla <!--nextpage--><!--title: Season 2--> blbalblabla and then the ...
0
votes
0answers
62 views

How to change wp-pagenavi pagination url permalinks

I hope you guys are well! I have a site using wordpress and wp-pagenavi. I would like to change the way that wp-pagenavi displays the paginated URLS. I want to change them from:- ...
0
votes
0answers
18 views

How to paginate in DW Focus Theme?

I'd like to split my posts into several pages on my Wordpress website that uses the DW Focus Theme. However, using the <!--nextpage--> markup only renders a WP standard pagination (e.g. Page: ...
0
votes
0answers
156 views

Archive pagination causing 404 with permalinks structure

Somehow my archive.php is causing some problems because I'm using /%category%/%postname%/ as my permalink structure. The next_posts_link() redirects to /category/page/2: which causes an 404 error. ...
0
votes
0answers
8 views

Custom template with paginated loop that returns the same posts on every page

I'm pretty frustrated right now. I've spent over 24 hours trying to make a custom template for my homepage with a custom loop (to return only featured images linked to their posts). The thing is that ...
0
votes
3answers
108 views

How to paginate this custom loop? [duplicate]

guys! I'm pretty sure this will be a piece of cake for y`all, but I'm trying to add pagination to my loop. I've tried some codes that were available around, and got to paginate it, but pages 2, 3, etc ...
0
votes
1answer
141 views

Wordpress pagination not working because of subcategory

Currently I'm facing a really strange problem I can't seem to fix normally. I've using pagination on my category pages. I've got a 'News' category with some sub categories. One sub category is 'MVO ...
0
votes
0answers
64 views

Paginate fetch_feed() Results

I have a scenario where I'm loading an RSS feed on a WordPress website via fetch_feed(). So far, it's working great, but I'm not sure how to paginate the results. The RSS feed is a large archive, so ...
1
vote
0answers
69 views

Frontend sorting

Here is what I am trying to accomplish: Which partly works already, I can sort with 2 dropdowns and have a pagination. I have to merge both dropdowns into one, and add "posts per page" without ...
0
votes
0answers
76 views

Sorting/Pagination/Posts per Page

I can't seem to find a fitting plugin, or multiple plugins that support the following things: Sorting dropdown Pagination list Posts per page dropdown Everything necessary to sort my posts inside ...
0
votes
3answers
247 views

Pagination not working on static page

I am using the following code to display media files on a custom static page. Files display properly but pagination is not working. How can I solve this issue? Following code shows the media files: ...
1
vote
1answer
217 views

Get Pagination (WP-PageNavi) not to work

I have several problems to get the pagination work. I have a custom page template, in there i need to display all blog posts. I build up the following "query" and build up my html structure: $paged ...
0
votes
3answers
284 views

Skipping first 3 posts in wp query

Here's the query i have used. <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $wp_query = new ...
0
votes
1answer
105 views

Avoid repeated post on page 2 when excluding one on page 1

On the site we're developing, infinite scrolling is activated by Ajax/JavaScript. $('#inifiniteLoader').show('fast'); $.ajax({ url: "<?php bloginfo('wpurl') ?>/wp-admin/admin-ajax.php", ...
0
votes
1answer
111 views

WP_Query with Pagination and orderby meta_value_num showing duplicates

I have the following set of Arguments I'm running in a WP_Query. $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'tag' => $taxonomy, 'post_type' ...
0
votes
1answer
29 views

Paging + WP Query

On every archive page I'm either using WP-queries and no paging, or paging without a WP-query and a regular old "if(have_posts)" Now on one archive page I want to display more than 8 posts (8 is in ...
0
votes
1answer
61 views

Get Non-Paginated Index of Post in Paginated Query

I want to number "product" post types according to their position in their archive. Currently, I have tried to do this by creating a counter variable $count and incrementing it in the loop in my ...
0
votes
1answer
61 views

Pagination with custom field

I've got a little (big) problem. Is there a solution to show only posts that have not the same custom field value (from a specific custom field key) ? I have some post with a manual ID as custom ...
0
votes
1answer
82 views

How to show 1-5 of X Total Results

I know I'm doing something that's been done 1000's of times before in WordPress, but struggling to get the terms to find it on the Interwebs. I've got a custom category template page and have a while ...
0
votes
1answer
63 views

Admin is showing all posts on page 1

I have 900 media items on the site. For some reason the pagination has stopped working in a few sites and all the posts are being shown slowing down the site a lot. This happens on the Media library ...
0
votes
0answers
75 views

Taxonomy page lead to 404 page on pagination

I read a lot of posts here with similar problems but nothing worked for me. I have a custom taxonomy (portfolio_category) for my custom post type. I created a taxonomy template ...
0
votes
0answers
82 views

How do I get pagination working with custom wp queries?

I've created a custom query within a Page Template: $args = array( 'posts_per_page' => 9, 'paged' => $paged ) ; $my_query = new WP_Query($args) I would like the user to be able to ...
0
votes
1answer
77 views

Show number of posts and number on current page (revisited)

I'd like to be able to display the number of posts per page and the total number of posts. This question (Show number of posts AND number on current page) was previously asked and a solution provided ...
1
vote
1answer
59 views

How to add a zero before numbers in WordPress Post Pagination?

I want my POST pagination to show the numbers from 1 to 9 like this: 01 02 03 04 05 06 07 08 09 10 11... and NOT like > 1, 2, 3, 4... Actualy i have this code: <?php wp_link_pages( array( ...
0
votes
1answer
25 views

Pagination broken by naming conflict between CPT and Page

I have run into this issue before with pagination where your custom post type is called something like 'insights' and then the page that you create to display those custom posts in an archive is ...
3
votes
1answer
130 views

WordPress category & taxonomy loop with pagination

I have two taxonomies belonging to the same post type (posts). Adventure - belonging to the category taxonomy Adventure - belonging to the holiday-type taxonomy I want to run two queries: $args = ...
1
vote
1answer
177 views

paging in WP_Query on static page

I have a static page, and on that page I want to show a listing of blog posts. I want 12 posts per page (so I want the listing to be paginated). It's all working great, except for the pagination. ...
0
votes
1answer
30 views

WordPress not showing pagination links

In my WordPress Index.html I am pulling out the 3 latest posts by using <?php query_posts('posts_per_page=3') ?> <?php while(have_posts()) : the_post(); ?> //rest of the post related ...
1
vote
1answer
166 views

Secondary loop pagination on custom post type single post gets redirected to first page

I would like to output related posts on a custom post-type single page. Everything seems to be set up correctly. When I hover over my pagination links I see ...
0
votes
0answers
206 views

Pagination of Custom Query inside a Shortcode on a Custom Post Type Page (singular)

I've done dozens if not hundreds of searches regarding my problem, but didn't find a solution anywhere. I really hope you can provide me a solution, that would be great! Thanks for reading. Heres ...
0
votes
0answers
17 views

Pagination stopped working suddenly. Looks like it's a permalink issue

We have this blog here: http://www.dermmedica.ca/about-us/articles/ And the link to "Next Page >" suddenly stopped working. It tries to take you to http://www.dermmedica.ca/about-us/articles/page/2/ ...
0
votes
0answers
103 views

Exclude password protected posts from pagination

Is there really no simple solution to excluding password protected posts from post pagination? I want to exclude the Quote post format, as well as password protected posts, and display custom HTML. ...
0
votes
1answer
119 views

why custom post archive gives always no more than 10 posts despite of paging settings?

I've got a strange problem. I'm programming a custom post archive page. I'm using wp conventions, so I've got a 'project' custom post type and an archive-project.php page, which is correctly showing ...
0
votes
0answers
96 views

Problem with pagination in custom loop on front page - no back link

I have certain problem: I have several queries on main page. When I call new WP_query on front Page (custom loop in main loop), make custom pagination, but it doest work in case if I want "Previous / ...
0
votes
0answers
40 views

Adding pagination into gallery shortcode

I'm tring to add pagination to [gallery] shortcode. add_filter('post_gallery', 'filter_gallery', 10, 2); function filter_gallery($output, $attr) { global $post; //GALLERY SETUP STARTS ...
0
votes
2answers
33 views

rewrite_rule - working fine but broken for pagination

I'm having an issue with me rewrite rule works fine here: example.com/resources/ example.com/resources/articles/ but when i use pagination to the next page i get a 404 here: ...
0
votes
0answers
27 views

Creating paging within a page.php

I am trying to create a paging within the page.php my thema and is not showing up ! How do? I'm doing as follows: Loop: <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ...
0
votes
1answer
132 views

Rewriting get_next_posts_link() for custom loop

I'm trying it manipulate get_next_posts_link() for my custom loop. My author page has a custom loop using query string "?sort=selfie". I've registered view selfie as query_vars. ...
0
votes
1answer
57 views

404 Error on pagination with WP Query

I have a website that is built almost entirely on the page.php template using Advanced custom fields flexible content field to determine what gets displayed. As part of that flexible content I have a ...
0
votes
0answers
101 views

custom query - offset to pagination

I'm trying ot add a custom query to my pagination - category page. here is the code how it look like: <?php /** * The template used for displaying Blog loop * * Use for index/archive/search. ...
0
votes
1answer
105 views

Custom Select Query pagination not working properly

I have Custom Select Query joining two tables and displaying events older than current date. Everything works fine until I try to paginate it. <?php global $wpdb; $date = ...
1
vote
0answers
61 views

Pagination with an array of post objects?

I am curious, I have the following code: foreach ($this->networkBlogs as $siteBlog) { switch_to_blog($siteBlog['blog_id']); foreach (get_posts() as $postObject) { ...
0
votes
0answers
70 views

Paginate Comments Via Ajax When Not On Parent Page

I have a page that I am using a custom query to pull in the comments from another post. The comments are successfully being rendered and formatted and the pagination links are showing up correctly as ...
0
votes
0answers
25 views

Sticky Posts cause problem with pagination

I'm using following function to display the pagination. This works otherwise fine but if there is any sticky post, then it ignores the number of posts on the first page. For example if it is set to ...
0
votes
0answers
23 views

Tag template pagination

I need to ask about how can i add pagination to my post tag template pages this is the code and link of the page http://ca.unitysofts.com/tag/fortnight-focus/ <?php get_header(); ...