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

learn more… | top users | synonyms (1)

0
votes
0answers
15 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 ...
0
votes
2answers
42 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, ...
0
votes
1answer
43 views

new WP_Query messes up pagination

I've been looking around for a solution to displaying a separate amount of posts specifically for the archive pages, and thought I had came up with some working code, however I see it messes up ...
-1
votes
0answers
28 views

Pagination not appearing on custom category template

I needed to be able to display posts from two different categories on a single category archive, so I used the code below from my existing category template, and specified the two categories that need ...
0
votes
1answer
19 views

post_results filter confused by pagination in sidebar and main section

I have a post_results filter that I want to use to manipulate the results returned from a the query. Let's say that it's supposed to put stars around the first post on the first page, second post on ...
0
votes
1answer
18 views

Custom taxonomy pagination

I'm creating custom numbered pagination for custom taxonomy archive page. So, I have no problem with displaying pagination, with proper links display, etc. However, when I click a link above page ...
0
votes
0answers
7 views

Wp Ecommerce Next and Previous Product in the Same taxonomy terms

I am using WP Ecommerce and I want to add a next and previous link for each product. The wp ecommerce uses wpsc-single_product.php instead of postname-single.php. I have tried the following method but ...
0
votes
1answer
10 views

Custom post type with Filter and Page Nav

A custom post type custom also have special custom fields people and location I am trying to get this in the listing archive page with a filter on people location year (which is the post date) to ...
0
votes
0answers
17 views

previous_posts_link not working in WordPress pagination

I'm using a custom query in my front page to show some posts from a category. it ll be selected by the admin from backend(using redux framework to do that). Now when I click older entries ...
0
votes
0answers
24 views

How can I make Pagination Work on a WordPress Static Front Page

I have this pagination function I have been using on traditional post listing pages. But on my home page I have a section where I have post listings and I want to paginate them but it is not working. ...
2
votes
0answers
34 views

Custom WP_Query order by post_meta and (author) user_meta

I am having an issue that i couldn't find on google and elsewhere. To put problem in the context. I am making a wordpress site where user can put their tutor listing for giving a tutorials, and i am ...
0
votes
0answers
20 views

Are search results paginated by default?

I'm using WooCommerce with a child theme of Storefront. I noticed that pagination links don't show up for search results. Is this a default behavior of WordPress, or is it a WooCommerce/Storefront ...
0
votes
0answers
11 views

Pagination in a custom loop on a non-static (i.e. blog) page

All of the documentation I've read refers to paginating custom loops on a static page (home or otherwise), and whether you should be using 'page' or 'paged' for the pagination parameters. I'm not ...
-2
votes
0answers
21 views

Pagination code display only first page [duplicate]

I want to apply pagination to my custom post type. Here is the pagination function I have used. function roots_pagination($pages = '', $range = 2) { $showitems = ($range * 2)+1; global ...
1
vote
0answers
41 views

Pagination in relation to archive.php

A small problem here, I just don't know how to change this because I'm a self taught newbie. I made a child-theme from the simone-theme with a static front-page. To it I have the archive.php as the ...
0
votes
1answer
75 views

Pagination not working

I have been using the same pagination query for the majority of the websites i have created. This time it is not working for some reason I have used the pagination trouble shooting links Here but ...
0
votes
0answers
17 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
23 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 ...
2
votes
3answers
162 views

WP_Query and Pagination on a Static front page

For the past two days I've been trying to debug an issue with WP_Query() and Pagination. A website I'm a dev for uses a Wordpress theme (Salient by ThemeNectar) that includes the visual composer ...
-2
votes
0answers
27 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
23 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
58 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
40 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 ...
0
votes
1answer
46 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
33 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
35 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
33 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
44 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
35 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
21 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
28 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
50 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
47 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 ...
3
votes
0answers
81 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
35 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
72 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
25 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
77 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
39 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
22 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
48 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
33 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
113 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
56 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
39 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
47 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
22 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 ...