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

learn more… | top users | synonyms (1)

0
votes
0answers
13 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
15 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
49 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
0answers
11 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
23 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
17 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
5 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
9 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
26 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
24 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
27 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
69 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
60 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
19 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
39 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
21 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
21 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
14 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
61 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
25 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
40 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
26 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
28 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
18 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
54 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
22 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
11 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
15 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
19 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
61 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( ...
0
votes
1answer
19 views

Archive - Show Page Month Headers

Trying to output posts on an archive page with date titles. Ideally this can be a single query so I can paginate the archive. Currently I can call multiple queries for each date item but I don't think ...
0
votes
0answers
52 views

Assistance with complex query based on ACF Post Object Field

I got the following scenario: Two Custom Post Types: Game Bonus Two Custom Taxonomies (Not Hierarchical ): Game-Type (Poker, Roulette, BlackJack, etc') Bonus-Type (Free Credits, Free Spins, ...
0
votes
0answers
49 views

Remove trailing slash

I need to revert from "pretty prmalinks" to query string just for the pagination urls. (so that example.com/page/2 becomes example.com/?paged=2). It could possibly be done via a hook in to redirect ...
0
votes
0answers
26 views

Pagination returning 404 on Page 2 (/page/2) and up

The pagination on my website is not working. I can see the following rule in place Rule (.?.+?)/page/?([0-9]{1,})/?$ Rewrite index.php?pagename=$matches[1]&paged=$matches[2] But for some ...
0
votes
1answer
70 views

WordPress get pagination on wpdb get_results

How do I gee the numbered pagination of custom wpdb result? below code will show one latest post from each authors in the site. I want to show 20 posts per page with a numbered pagination. $postids ...
-1
votes
1answer
31 views

pagination: Only one result is shown even if there are more than one?

This is for search.php Even if there are more than one result, it only shows one. I would like up to 5 results to be shown on each page, with pagination for more results, please can some provide a ...
0
votes
2answers
29 views

Test for if you're on 1st page of paginated post (with nextpage quicktag)

I'm developing a site that involves a lot of long posts I'd like to break up using the nextpage quicktag. On the first page there's a large splash photo in the header that I'd like to disappear on ...
0
votes
1answer
51 views

WP-PageNavi not working on custom loop

I used WP-PageNavi on custom loop. It shown /page/2/ or /page/3/ on url, but I the result still on page 1. I took me a week and I still can't solve this problem. Here is my code <?php ...
0
votes
0answers
22 views

Category Page Pagination

I am just having a little different issue on category page I dont want to show posts on category page i am showing child categories of their parent category on category page so when user click on ...
1
vote
0answers
52 views

WP Query to have sticky posts first, with pagination and having a joint 'posts per page' arg with main loop

I am building a Wordpress site and have come to a bit of a wall while using a WP_Query, it started out quite simple but then sticky posts got thrown into the mix and it's becoming a bit harder to ...
0
votes
0answers
48 views

Adding “first” and “last” links to this page pagination scheme

I made an alternative pagination scheme for pages which use the <!--nextpage--> page-break (to be used only with certain pages with specified IDs), so I placed this function in my child theme's ...
0
votes
2answers
58 views

Show posts of one category only with Custom Taxonomy on single.php

I have created a custom post type named 14kgold. Under this I defined two categories: Symphony and Noir. Now I added items/ products to each category. When I open a product under one category i.e. ...
0
votes
0answers
51 views

Some posts appear in duplicate with paginated query

I'm querying a custom post type with some custom post meta, and then output the results. This is the query: $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $properties_query = array( ...
0
votes
1answer
44 views

Custom post type pagination 404

I have a custom post type named episodes_listing and a custom taxonomy named episodes_category. My goal was to have pages like domain.com/episodes/season-one. This works great, and if I have a ...
0
votes
1answer
56 views

Changing post per page causing 404 for pagination. Need a redirect htaccess rule

i changed my wp theme and i changed the "post per page" wp setting on "reading"now because i want to display more posts on the archives pages. i m using pagination on the archives so a lot of pages ...
0
votes
1answer
40 views

Next Post links not working in custom post type shortcode

I'm trying to paginate some custom posts types, and the previous link works, but not the next link. I tried several ways but I'm not able to find the correct one... if anyone could help :) This is ...
0
votes
0answers
23 views

CSS not displaying

I found function for numbe pagination but when I trying to view the CSS thru Inspect element, the CSS for that pagination is not displaying. Even If I change the CSS style, its not working. How to ...
-1
votes
2answers
87 views

Limit amount of pages shown in pagination within wp_query

I've got a query that looks like this: $args = array ( 'post_type' => $postType, 'paged' => $paged, 'pagination' => true, ...