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

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

Search URL gives 404

I have search URL that looks like this /?s=term //this works But when I click on a pagination link to go to second page I get this /page/2/?s=term //this gives 404 When I manually enter this ...
0
votes
1answer
20 views

Archive pagination not working

I am trying to add pagination for my Archive. I want to show 12 posts per page and then show the 'next' / 'previous' buttons. When I manually change the value of the $paged variable, the 1 into a 2 ...
0
votes
0answers
18 views

WP_Query and Pagination on a Static front page (Extending Visual Composer…)

For the past two days I've been trying to debug an issue with WP_Query() and Pagination. This website I'm a dev for uses a Wordpress theme (Salient by ThemeNectar) that includes the visual composer ...
-2
votes
0answers
15 views

How to add pagination to custom Woocommerce loop?

I am using woocommerce and need to make a new loop. This loop is working, however, some key information is left out, I need the number of products per page, and more importantly the pagination is ...
0
votes
0answers
16 views

How to paginate query using get_categories()

How can I paginate my custom template page with get_categories() loop? $args = array ( 'taxonomy' => 'programs-cat', 'number' => 1, 'offset' => 1, ) ?> <?php $programs = ...
0
votes
0answers
10 views

Genesis custom post type pagination with custom taxonomy query loop

I am trying to create Genesis pagination for a page housing all posts from a particular taxonomy. I would use the many solutions given in this WordPress Stack Exchange but I can't figure out how to ...
0
votes
0answers
18 views

pagination is not working

i know there are plenty of similar questions here ... but I couldn't find an answer. I have an overview page where I can't get the numbered pagination working: I would really appreciate any help. ...
0
votes
0answers
30 views

How to display most viewed posts without any plugins

I'm working on a WordPress site that is only in staging mode at the moment and I want to be able to display the most viewed posts in a template. I have some code that is working, but with a little ...
-2
votes
0answers
28 views

Pagination not working on category.php

Hi I'm using default wordpress function for numeric pagination, in a custom template is working but in category.php is not, of course i searched in google and checked a lot of tutorials and questions ...
0
votes
1answer
34 views

Particular category single page paging

I am having an issue for single page paging. My next and previous button code always pull up from other category post also. I have category called video and I also made a custom single page which is ...
0
votes
0answers
25 views

Pagination on custom post types

Pagination works in the front page but in custom post type page it doesn't appear. Post type: add_action('init', 'portfolio_register'); function portfolio_register() { $args = array( ...
0
votes
0answers
19 views

Pagination and Taxonomy query string

I have a CPT called "Books" and template-books.php which I use to display the posts. Wordpress pagination(code below) works fine. The result in the browser is usually something like this ...
0
votes
1answer
29 views

How to fix blank pagination links?

I am working on a Wordpress blog that has what appears to be custom pagination for the posts. As you can see here the correct amount of links are being rendered at the bottom of the page, however ...
0
votes
1answer
30 views

How to exclude or filter password protected posts when using next_post_link() previous_post_link

I'm using next_post_link() and previous_post_link() in my theme. I excluded my password protected posts from the loop. They only appear if you enter the URL of this specific post. But, the problem is ...
1
vote
1answer
22 views

How to ignore or disable nextpage tag?

I have this site that uses the <!--nextpage--> tag in posts for pagination purposes. I want to disable pagination, but without deleting the tags for the database (maybe they'll want to use them ...
0
votes
1answer
16 views

Query post Pagination Problem

I am using following code for query post but I am not getting pagination link. Where is the problem of the following code. <div id="primary" class="content-area"> <main id="main" ...
0
votes
0answers
17 views

Custom tag archive not working on second page

Here is what I'm trying to accomplish: I have a custom post type called entry. When users click a tag in the site's tag cloud, I want to show them all posts of the type entry with that particular tag. ...
0
votes
1answer
29 views

Pagination problems with multiple custom post type archive pages

I'm at the end of my tether now. Really need some help! Here's the setup... I have 2 custom post types in my functions.php: // Register the events post type function events() { $labels = array( ...
0
votes
1answer
31 views

Disable pagination on frontpage

My home page is being build on index.php. I have a wordpress loop somewhere there, because I want to show the two latest posts. So my problem is that my homepage is being paginated. I don't want that. ...
0
votes
0answers
12 views

Loop within category's posts

I'm trying to figure this out since a couple of days, and even though it should be a quick and easy thing, I couldn't find any workaround. I've 4 categories, and each of it has between 10 and 40 ...
2
votes
0answers
56 views

Implementing a general Table of Content across single paginated post pages

I am working on a blog and most of my posts are so long they require pagination. See one of my posts. This post has a lot of pages. The only problem is that I can't find a way to show a table of ...
0
votes
0answers
25 views

Custom query with pagination on home page

My home page need to retrieve some posts and break them into number of pages, so that I can load them using infinite scroll plugin. I have tested my query, it works as expected. however I can't seems ...
0
votes
1answer
55 views

Wordpress wp_link_pages show only next/prev link

I used nextpage to separate a post into multiple page and I don't want to show pagination as 1 2 3 Next, I want to to show Prev Next, below is the code I come up with after reading the wp link pages, ...
0
votes
0answers
17 views

Loop a Custom Post Pagination

I am having a little trouble trying to get my custom post type pagination to loop. The idea to my pagination is to only display a next field with the title of the next post. Once you hit the last post ...
0
votes
0answers
22 views

Pagination in Search result

How to do a pagination in search result? I have already an excerpt script. All I need is a script for pagination. Pls help me. Thanks function wpse_allowedtags() { return ...
0
votes
1answer
69 views

Pagination fuction in shortcode always displays on top

Pagination function in shortcode always displayed on the top. Please have a look on below code /*-------------------------------------------------------------------------*/ /* Custom Pagination */ ...
0
votes
1answer
30 views

Hide text if not homepage

I want to add text but only appear on the homepage only. I have used this if script: <?php if( is_home() ) : ?> <p>Some text</p> <?php endif;?> but the problem with this is ...
0
votes
0answers
13 views

group search results by post type with relevanssi

I have 3 post types: post lesson series When a user searches on my site, I want the results to be sorted by post type into different containers. I am using the Tabs from Zurb Foundation for my ...
0
votes
0answers
43 views

How to add pagination into post showing

I have created a plugin to display all posts on any page by short code. But how do I add pagination? global $wpdb; query_posts('cat='.$cat); $table_name = $wpdb->prefix . "advertisement"; ...
0
votes
0answers
28 views

Pagination leads to 404 page

I am working with wp_pagenavi plugin. The first page loads normally, but, if I use navigation for next page, it redirects me to a page which shows 404 error. Most likely the problem is with the ...
0
votes
1answer
47 views

Archive page…limiting posts per page

So what I have done is created a custom post type 'testimonials' and set the "has archive" option to "true" and have a PHP template file named "archive-testimonials.php". What I wan't to do is limit ...
0
votes
1answer
37 views

Why do I get `Call to a member function have_posts() on a non-object `? [closed]

add_action( 'genesis_loop', 'be_home_loop' ); define('PER_PAGE_DEFAULT', 2); function be_home_loop(array $query = array()) { global $wp_query; wp_reset_query(); $paged = ...
0
votes
1answer
36 views

Adding pagination to query for custom page

I've made a custom news page using a custom page template and this is my query for latest posts: if ( have_posts() ) : while ( have_posts() ) : the_post(); the_content(); ?> ...
1
vote
1answer
43 views

What is the difference between $paged and $page?

I'm creating pagination for my site. Hope everyone can explain to me what below code used for? Thanks in advance. <?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } ...
0
votes
0answers
21 views

Main page paginate_links issue

So, I found out what the problem is with the frontpage pagination issue. i have woocommerce products listed on a main page which has pagination. However, it was repeating the first page. I changed ...
0
votes
1answer
23 views

Pagination re-direct to main page [duplicate]

This is a general question regarding pagination. I have posts on the main page, but the pagination is redirected to main page. For example, site.com/page/2 goes to site.com. Is there a general ...
0
votes
1answer
34 views

Pagination not working with WP_QUERY

I have set up a custom loop that is working fine, but will not display the pagination links. After some searching around I've learned that the pagination links (as I've used them here anyway, but I'm ...
0
votes
1answer
75 views

Pagination in custom post type page template

I made a query for my custom post type "websites". I'm trying to get the pagination working but I'm running in some errors. I think the whole code is ok, only the part just before the end while tags. ...
0
votes
1answer
23 views

Custom Post Type Archive Pagination

I've set up a template called archive-gallery.php, and I have pagination working, however, the query is ignoring my posts_per_page value and using the value that is in Settings > Reading called ...
0
votes
0answers
47 views

Pagination calling 404.php

I tryed to ask my question on wordpress.org but nobody was able to answer me and this is pretty important to skip it so i try here: I have an index.php with 4 differents loops and a pagination on the ...
0
votes
2answers
57 views

Add pagination to table generated by wp_query

I spent hours trying to find a solution to this, but I am not able to figure it out. I have a table that shows user's data and I am trying to add pagination to it. I have tried by adding "paged" in ...
0
votes
1answer
51 views

Need help with get_posts pagination

I've been working on a wordpress site, and I'm trying to build a page where visitors can see all of the images that have been uploaded to the wordpress media gallery, regardless of whether or not said ...
0
votes
1answer
25 views

Paginations in Category Page Leads to Sample Pages

I'm having trouble with my WPMU site that I hope you guys can help me with. Anyway, here's the situation. For example, I'm on my site's category page. I clicked the next page, or any other page aside ...
0
votes
0answers
54 views

Pagination not working in custom post page

I have this theme that I created which is a mix of code copied and mixed from different themes, and I have a custom post page in the theme where pagination isn't working for some reason. <div ...
0
votes
1answer
20 views

Plugin to show pagemap beneath certain page and next/previous page beneath certain page?

I'm publishing a course online. The course is written on pages and I need some kind of navigation for the course. For navigation I want: Previous/next page links A page index I figure that all ...
0
votes
0answers
63 views

Wordpress pagination broken on blog page, working for search results page

My main blog page, and search keyword and category filter pages all pull in the same loop-blog-grid.php template, therefore all pull in <?php themeple_pagination(); ?>. The issue I'm having is ...
0
votes
0answers
43 views

2 loops with pagination on a single loop

On a page I want to always show the most recent post on top with a different layout, and have the rest of the posts listed below. So I created a template page with these 2 loops. But I cannot figure ...
0
votes
1answer
74 views

WP_Query custom order and pagination

I am seeing some strange behaviour when combining a custom order with pagination when using WP_Query. The arguments for my query are as follows: $args = array( 'post_type' => 'news', ...
0
votes
0answers
39 views

Advanced Field Repeater Pagination with Custom Post

I am using a custom post type as well as advanced custom fields with a repeater. I need to somehow loop through all the repeater subfields and paginate them to 6 items per page. I have tried a few ...
0
votes
2answers
61 views

Pagination fault in custom post type archive page [duplicate]

I create ad custom post type register_post_type( 'videos', $args); and custom taxonomy for that register_taxonomy( 'video_category_categorie', 'videos', $args ); Maximum number of post displayed is ...