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

learn more… | top users | synonyms (1)

0
votes
0answers
27 views

Pagination on home page not working

My problem is here. When I press page 2, 3 or other on my HOME page it just goes to 404 not found, but when I go in any category, and press page 2 it works great. I have tried changing the ...
0
votes
1answer
17 views

Search engine not working

How to display results with title and summary description in landing page of search engine and make it as pagination? If the user type the word "loan", all pages that have a loan word will display ...
0
votes
0answers
5 views

Custom table loop with pagination link issue

I have a custom table in WordPress and trying to listing records with Pagination. With below code, I able to create pagination but only problem is when I click on page 2 than all links will stay on ...
2
votes
1answer
55 views

Related posts by author pagination not working on the production site

The code that I'm using has adapted from this example and successfully tested on my localhost but when I pass the site to a live server, the pagination crashes with wordpress permalinks set (/% ...
0
votes
2answers
29 views

Paginate links with “ugly” and “pretty” permalinks?

If I have "pretty" permalinks enabled my code will work for static pages (will work if page is set as "home page" or "normal page" ). But my code breaks if I use "default permalink" structure. I ...
0
votes
0answers
16 views

404 error Custom search results page for custom post types with friendly URL

Seen a lot of people with same issue, but no solutions have worked for me, so maybe I'm mislooking something. Page 2 of a custom results page gives me a 404 ( /search works, /search/page/2 doesn't). I ...
0
votes
0answers
26 views

Paginating custom query on category template

I'm trying to paginate my custom post types on my category page template but for some reason when I trying to navigate to 2nd,3rd,4th etc pages it will get re-routed to the index page. This is the ...
0
votes
3answers
74 views

Paginate get related post by author function

Is it possible to get this function paged? I've tried to add previous and next links but i'ts not working... function get_related_author_posts() { global $authordata, $post; ...
0
votes
1answer
28 views

Pagination is not working on custom query inside a custom home page template

I know this is a duplicate question. But to comment on existing question, I dont have enough points. So here we go.... Pagination is not working on custom query inside a custom home page template. ...
0
votes
0answers
24 views

Wordpress Pagination Not Working After Transfer from Localhost

I have the following code for wordpress pagination: function sds_pagination(){ global $wp_query; $big = 99999999999999; echo paginate_links(array( 'base'=> str_replace($big,'%#%', ...
0
votes
0answers
21 views

Infinite Scroll on homepage not working

I'm having a bit of an issue. I have installed the Infinite Scroll plugin and am having issues with it. Firstly, all it says is "No Additional Posts" when, in fact, there are additional posts. I ...
-1
votes
2answers
72 views

Repeating posts when paginating random posts

I have 1 Custom Post Type of products as well as two taxonomies of types and countries. I'm displaying my custom post type of products on my taxonomy.php page with paged pagination. I am also using ...
-2
votes
1answer
29 views

Duplicating pagination on second page

Been trying to get this to work and I can get it to show the pagination links but it just duplicates the content from the first page again on page two, can't figure out why? <div class="row"> ...
-1
votes
0answers
30 views

Move plugin content into the_content

I have a plugin to display author content in a post. The plugin is working as intended, but I'd like to move the display of the plugin above the pagination. Since the pagination tool is contained ...
0
votes
0answers
23 views

Display Pagination on Table

I have written the code below: <?php $ListTransfer = $pwtw_db_connect->get_results ( $pwtw_db_connect->prepare ( 'SELECT * FROM donation_bank WHERE trans_wp_id = %d AND trans_svr_region = ...
0
votes
2answers
53 views

query_posts different amount of posts per page

I have a posts_per_page query to paginate multiple post types, which works great! Now though, as it paginates it to show (in this case) 100 posts per page, I'm wondering if you can show 100 on page ...
0
votes
1answer
21 views

Add Custom Pagination Permalink

I'm trying to create a page with multiple loops on it and as such also need multiple pagination. This is proving to be a touch difficult, I've managed to get the links to show correctly by using the ...
1
vote
0answers
13 views

same slug for custom postype and page pagintion not working

I have created post type "news" and a page "news" so my url is like http://demoserver.com/testsite/news Here i use page template for news landing and i do not use archive.php page for post listing ...
0
votes
0answers
20 views

How should I setup a special series on my blog?

I am not a full-fledged WP developer. But I know how to do basic PHP functions and get stuff working the way I want. However, I want to do a special series on my blog, that will last the next 3-4 ...
0
votes
0answers
29 views

Search page Paginations not working

This is what I use in all my other pages that require a pagination. <?php endwhile; ?> <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ($total_pages > 1){ ...
0
votes
0answers
54 views

Multiple Loops on category.php with pagination on last loop

I'm trying to achieve what should be fairly simple but I've hit a brick wall when trying to paginate the last of three loops on the category.php template. I've read just about everything I can find on ...
0
votes
1answer
35 views

Frontpage pagination by week

I'm trying to set up a frontpage with all the post from the current week. Well this was quiet "easy" (the query snippet): $query_string = array( 'post_type' => 'post', 'date_query' => ...
0
votes
1answer
53 views

Thumbnail With Next/Prev Links Not Showing Next Post?

I am using the below code to display thumbnail with next/prev posts links on single.php page. It is working fine when next and prev post are from same category but not showing the next or prev post ...
0
votes
1answer
14 views

Custom pagination generates title 404

I know it's a common problem, but I tried every solution appeared on this stackexchange. Every solution has failed (maybe because I'm still a newbie). I've this query on index.php page: if ( ...
0
votes
1answer
48 views

Problem when I try to insert pagination

All the website are building in Wordpress but I need a new section called "News", like as a blog. I try to show 2 post and insert the pagination in my website, but when I try to view the next page, ...
0
votes
0answers
15 views

how to place page navigation on a specific page at the end of posts from specific category in thesis theme

In single page of wordpress site I am trying to show 10 posts from a specific category. At the end of the list of 10 posts I want to show page navigation so user can navigate to old posts of this ...
1
vote
1answer
45 views

Paginated pages are showing correct content but pagination links are not

I am using a custom WP_Query to display posts on static front page. and generating numbered pagination links with paginate_links functions. This is the code I have... $latest_args = array( ...
0
votes
0answers
30 views

Custom post type slug rewrite blocks pagination - how to solve this?

I have run into a problem while doing what was given as a solution in the following thread: Remove Slug from Custom Post Type Namely, after all of this being done, my pagination no longer works. As ...
0
votes
0answers
22 views

Split a long form into multiple pages 2

this is a question as a followup to this discussion: Split a long form into multiple pages In essence: I have a long form that gets submitted. I need to change this to a multipage/multistep form over ...
0
votes
2answers
24 views

How to add pagination in between post and comments?

I am trying to add pagination in between post and comments. I used plugin Automatically Paginate Posts for that in which i can able to add pagination after comments and facebook plugin. Is it ...
0
votes
0answers
44 views

Help paginating custom loop

i'm trying to add some sort of "load more" button every X posts in this loop: <?php if(is_home()) : ?> <section class="pages clearfix"> <div ...
0
votes
0answers
25 views

Paginate User Query

I am trying to write a simple shortcode function that will return a list of users based on a given meta value. It functions fine, but I am trying to paginate the list. Here is my code: function ...
0
votes
1answer
67 views

query_posts with offset breaks pagination

I have this code in my front-page.php template: <?php if (get_query_var('paged')) { $paged = get_query_var('paged'); } elseif (get_query_var('page')) { $paged = get_query_var('page'); } ...
0
votes
0answers
23 views

Wp pagination link at front page with custom post url get rewritten

I am facing a typical problem. I am using a custom template as my front page and.And there I am displaying the custom posts with a custom pagination function and loop. Now the problem is that my loop ...
0
votes
2answers
82 views

Cant get paginations on single.php to work with my custom post types

I'm using custom post types and custom fields plugins for my custom post types. I have all other paginations working smoothly on my website except for my single.php. I have a custom post type of ...
0
votes
0answers
42 views

Some questions regarding post-types and pagination

I've built my own theme from scratch using the HTML5 Blank Framework My problems started when I added 3 differen post-types; Work, 50mm and Findings. I've hided the standard 'Posts' type, so that I ...
0
votes
0answers
27 views

Custom Gallery With Pagination/Navigation

With the help of someone I have created a custom gallery script, which picks all images with the slug x and presents them just fine, e.g. "people" (custom taxonomy). My problem is now, that I do not ...
0
votes
0answers
23 views

Using offset with custom Archive page

Situation: News page - Currently shows the latest 5 news items Archive page - Starts on post 6, I've setup pagination. For testing purposes I've got 20 posts numbered 1 - 20. <?php ...
0
votes
0answers
47 views

query and paginate multiple post types

I'm looking to query multiple post types and paginate them so the results are across multiple pages. The markup I have is as follows: <?php query_posts( array( 'posts_per_page' => 100, ...
1
vote
1answer
42 views

Redirect to page 2 after comment

I would like to have commenters going to the page 2 of a paginated post. My posts are separated by the <!--more--> tag so i have the www.site.com/post-title and www.site.com/post-title/2/. I ...
1
vote
0answers
63 views

How to use pagination with get_post_meta

I have a Products Page that i am using to add products using custom metaboxes this is the code for my page <div class="container products"> <div class="row"> <?php ...
0
votes
1answer
31 views

Pagination url for page template

I am creating a page template in WordPress to show all my posts. But i have a problem with pagination. I have a page url like below: http://localhost/sdd/video "video" is my page slug. And the ...
0
votes
0answers
54 views

Pagination - show exactly 3 posts per page

I'm already familiar with wordpress pagination but I was wondering if this is possible: Lets say I have 4 posts and I want to show only 3 posts per page. Is there a way to make the first page show ...
1
vote
1answer
29 views

How to display different number of posts

How do I display different number of posts on the home page and archive pages, the archive pages can use the value set in the admin, but I want a custom number of posts to be displayed on the home ...
0
votes
0answers
40 views

Redirect File Custom Post Pagination Problem

I've created a custom taxonomy type ( gallery-type ) for gallery post type! But, I didn't create for taxonomy-gallery-type.php in my theme folder, but I redirected to another php file from theme ...
0
votes
1answer
44 views

Custom post type archive pagination with HTML5Blank theme?

Can't get the pagination to work. Here's my archive-work.php: <?php get_header(); ?> <main role="main"> <!-- section --> <section> ...
0
votes
0answers
44 views

problem in taxonomy-{taxonomy}.php pagination

my custom taxonomy is: $image_labels = array( 'name' => _x( 'تصویر', 'Taxonomy General Name', 'text_domain' ), 'singular_name' => _x( 'تصویر', ...
0
votes
0answers
33 views

How can I remove page slug for all pagings?

I want to remove page slug for all pagings. For home page Old: www.x.com/page/4 New: www.x.com/4 For Category page Old: www.x.com/category1/page/4 New: www.x.com/category1/3 How can I ...
0
votes
0answers
73 views

Issue with pagination() get_pagenum_link() and language permalinks

I'm quite new to Wordpress and php. I managed to put up a site running on three languages with a plugin called "qTransalte" and a theme that had blog posts, slide posts, portfolio posts and highlight ...
0
votes
2answers
24 views

Pagination issue [duplicate]

I'm working with a custom post type / custom taxonomy combo and I can't seem to get pagination to work properly. I'm wanting to add an infinite scroll to the page, however I can't even get pagination ...