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

learn more… | top users | synonyms (1)

1
vote
1answer
14 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
9 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 ...
0
votes
1answer
13 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
26 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
5 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/ ...
-3
votes
1answer
36 views

Page not found. Pagination error in blog [closed]

There is a site that i am working on which is built with wordpress 4.2.4. The selected theme for this site is the twenty ten. Every time i click on the blog inside my site it seems to work but there ...
0
votes
0answers
76 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
26 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
19 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
5 views

Adding pagination into gallery shortcode

I'm tring to add pagination to [gallery] shortcode. I have a custom post type, name gallery. Added this code my funstions.php. It show images but pagination not working. What the reason can be? ...
0
votes
2answers
14 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
14 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
31 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
17 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
20 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
22 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
17 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
20 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
16 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
18 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
74 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
41 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
30 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
26 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
21 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
11 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
1answer
40 views

Pagination not working Category posts

I am using https://wordpress.org/plugins/wp-pagenavi/ pagination and because of certain reason I have "blog pages show at most" set to 100 and i can't reduce it. I have total 30 posts in a category. ...
0
votes
0answers
29 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
47 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
89 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; ...
1
vote
1answer
75 views

Programmatically inserting page breaks

Is there a way to add a page break in WordPress programmatically? I'm trying to do this within a PHP loop that goes inside a post as a widget, it generates information that it gets from YELP through ...
0
votes
1answer
25 views

Custom Query & Rewritten URL Pagination 404

I have a custom search results page that has the url "/mysearch/location/SUBMITTED DATA/" which works perfectly fine. However I'm now trying to get my pagination working on that page so the URL will ...
0
votes
1answer
39 views

Need help on wordpress pagination script

Could you please check what is wrong in pagination script. Actually I have set 4 post limit and there around 8 posts in my blog. When click on 2 pagination, it won't move to next page. Please check ...
0
votes
1answer
59 views

Creating a custom category page with pagination

The past week I've been trying to figure it out on creating a custom category page with pagination. I've tried in so many ways but I cant get the pagination right. If anyone of you can help. What I ...
0
votes
0answers
41 views

How can I paginate search results from search in custom plugin and tables?

I've been trying to get this done for hours now and it's just not working. I have a custom plugin that has a search box on the front-end that one can use to search for data from my custom tables. ...
0
votes
0answers
35 views

Pagination not working for custom category template and custom permalinks

I am using following code in category-20.php, for the pagination through ajax, which is working fine for the defaults permalinks. But when i change the permalinks to custom, then pagination doesn't ...
0
votes
0answers
18 views

“Pagination” for Posts with next/Prev navigation outside loop

I would like to list all posts from a category or all posts on one Page and add a navigation on the right side, so outside the loop which loads my posts. i found this post whick has a similar ...
0
votes
1answer
70 views

Update Gallery Randomly in every hour with no duplicates?

I need to order by rand with no duplicates and update my galley in every hour on WordPress. Check the code bellow. This is what I want, ( PHP , MySQLi ): <?php include ...
0
votes
1answer
31 views

Display NEXT and PREVIOUS pagination? [duplicate]

I need help on the pagination. I try to put the NEXT and PREVIOUS pagination that show the post in a same category, but I am not sure what happen that showing nothing. If you can help, much thanks! ...
0
votes
0answers
16 views

Wordpress Pagination problem When using if condition inside the loop [duplicate]

i have problem with Wordpress Custom Loop Pagination when i use if condition inside the loop some of posts doesn't have if value disappear but the Pagination counting that hidden post and have empty ...
0
votes
0answers
43 views

What is wrong with my code ? pagination does not show up

Everything works fine other than the pagination. I have even tried with my own pagination method which works fine on Index page and Archive page but not in this template <?php /** * Template ...
1
vote
1answer
38 views

How to test pagination? [closed]

I've been building a theme from scratch so writing everything from nothing and every place I go online which teaches me how to implement pagination are mostly showing ways to make the standard ...
0
votes
0answers
49 views

Pagination on page.php with wp_query and query_posts

I'm trying to get pagination to work on a custom page.php and this has been kicking my butt... here is my site Here is my code: <!-- Page Blog Body Start ...
0
votes
0answers
31 views

pagination not working on page template

I am having a custom page for displaying community posts, where i want to display the posts posted in last 30 days sorted in desc order by meta value of post views which has to be greater than ...
0
votes
1answer
68 views

Get pagination working for custom loops within page templates

I've got a custom loop for which I'd like pagination. The codex and examples I've found online indicate that I should get pagination as long as I pass the 'paged' query variable into the loop as the ...
0
votes
0answers
26 views

Get Pagination For List of Wordpress Categories

I'm trying to display a set number of categories on a custom page template. The Categories contains featured image and link to their children. I'm using "Categories Images" plugin to get Category ...
0
votes
0answers
13 views

Change link for paginated page '1' to link to canonical page, not /page/1/

When deeper than the first page in paginated set of pages, the link to go back to the first page doesn't link to the canonical page, but the page/1 version of the URL. e.g ...
0
votes
1answer
18 views

Custom page pagination based on Kriesi pagination

I am stuck on this problem: We have 2 custom post types on our website, both created the same way, only the name of the post type differs. In addition we have 2 custom page templates which show an ...
0
votes
0answers
22 views

/page/2/ not showing

I am having a weird issue where when clicking on the pagination links the page just refreshes. The links are pointing to the proper pages(/page/2/) but when clicked, they do not show in the url. This ...
0
votes
0answers
107 views

pagination in woocommerce order history page

Please help me to add pagination in my order history page. Pagination should work like WooCommerce products page. Here is my code: <?php $customer_orders = get_posts( apply_filters( ...