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

learn more… | top users | synonyms (1)

0
votes
3answers
99 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
126 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
55 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
64 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
68 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
214 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
193 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
245 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
96 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
95 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
58 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
58 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
74 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
59 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
65 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
68 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
56 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
124 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
153 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
158 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
190 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
99 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
111 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
92 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
39 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
32 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
122 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
96 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
98 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
56 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
67 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(); ...
1
vote
1answer
207 views

Adding anchor to paginate_links + Safari anchor bug

I don't quite understand how the rewriting of pagination_links() works. Here is my pagination function : $big = 999999999; $translated = __( 'Page ', 'epc' ); echo paginate_links( array( 'base' ...
0
votes
1answer
98 views

Pagination of custom post type leads to 404 error

This seems to be common issue, and there exist a lot of posts about this issue but none of them works for me. I have a custom post type (portfolio) with a page pagination. $paged = ...
0
votes
0answers
49 views

Pagination not working Search posts

if ( have_posts() ) { while ( have_posts() ) { the_post(); global $post; //loop here } if(function_exists('wp_pagenavi')) { wp_pagenavi(); } } I have the following code in function ...
0
votes
1answer
57 views

Pagination for custom post types - url rewriting

I'm working with custom post type, that I want to paginate, here's part of code, initializing custom post type: $args = array( 'labels' => $labels, 'public' ...
0
votes
0answers
58 views

Wordpress - Pagination post, order by: meta_key only from current category

I trying to make a pagination links from my website. Schema: Serie | (category) |_ Temporada 1 (taxonomy: temporada) |_ Episodio 1 (posts 1 - meta_key: numeroepisodio) ...
0
votes
0answers
16 views

Losing Page Description on paginated static front page

I have a static front page with an image slider in the masthead and then products below. When the page loads with a url that is paginated 'www.mydomain.com/page2/' for some reason the markup for the ...
0
votes
2answers
146 views

Pagination not working for category posts

I am using WP-PageNavi pagination and because of certain reasons I have "Blog pages show at most" set to 100 and I can't reduce it. I have a total of 30 posts in a category. I want to display 10 ...
0
votes
0answers
65 views

Multiple Pagination Links are not working as expected and are getting confused

I have been working on this problem for about 6 weeks and have hired 3 different freelancers all of whom havent been able to do this - I think due to a lack of understanding. I have managed to get so ...
0
votes
2answers
316 views

WP Page Navi. 404 error when using posts per page parameter [duplicate]

I'm trying to fix an error with pagination of WP page Navi plugin. After I've added posts_per_page parameter to the query I'm getting 404 error when clicking on link page3,4 etc (there are 10 records ...
1
vote
3answers
427 views

Limit number of pages in pagination

I have more then 500 posts and I want to limit only 100 posts with pagination. So, 10 pages with 10 posts in each. Here is my code. $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1; ...