Breaking up content into smaller-sized pages to be viewed individually
0
votes
1answer
465 views
Load posts into sidebar and paginate via ajax?
Is it possible to paginate, or load the next / previous posts in the sidebar without messing with the entire page pagination? Such as AJAX?
Right now I'm querying custom post type posts to load the ...
0
votes
1answer
15 views
Pagination difficulty using custom query in genesis-based custom theme
I am creating a genesis child theme. I have a category called 'faculty' with about 60 posts in it. I am modifying the category template file so that it displays this category in a customized fashion.
...
0
votes
0answers
15 views
Pagination paginate_links() Not Working [duplicate]
Here's my code
<?php
query_posts(array('category_name'=>'nutrition','posts_per_page'=>'3','paged' => get_query_var('paged')));
while ...
10
votes
1answer
113 views
Why do you need an unlikely integer in paginating?
The paginate_links Codex function reference has some sample code that's being reposted all over the net.
It has a section that uses a variable called $big = 999999999; // need an unlikely integer:
...
1
vote
1answer
103 views
Limiting number of visible links displayed with wp_link_pages
I need to extend the wp_link_page function to only show a max of 5 links at a time. What is the best approach to limit the number of links?
In the end i'd like it to look like this: Previous 1 2 3 4 ...
0
votes
1answer
129 views
Converting multiple loops into one single loop with pagination
I am using Isotope jquery plugin to filter/sort posts in Wordpress but to correctly filter the posts into the right order I have needed to output each category one after the other. To do this I've ...
0
votes
1answer
220 views
Placing Ads after every 10th Post with Infinite Scroll
Hello at the moment what I have to do is load a couple of ads, some normal html and two are java script. I've tried the PHP method of this:
<?php $postnum++; if($postnum%10 == 0) { ?>
<div ...
2
votes
3answers
261 views
Get the current page URL (including pagination)
Is there a WP function to automatically get the correct URL of the current page?
Meaning if I just opened a single post, the function returns the same as get_permalink(), but if I'm on a paginated ...
0
votes
0answers
24 views
Loop not appending through infinite-scroll ajax call
I'm having trouble debugging why the InfiniteScroll jQeury plugin isn't loading more of my .boxy class items. So far I've placed the div containing the selectors in different levels of heirarchy, but ...
0
votes
2answers
203 views
Blog Page pagination not working, loads Page 1 each time
I don't know what to do here but pagination is driving me crazy! As you can see, "Older" points to blog/page/2 but when clicked, the site stays on blog/.
I'm using wp-pagenavi for pagination.
The ...
0
votes
0answers
16 views
Pagination work! But title still says “Page Not Found”
I'm using the following code:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts('posts_per_page=3&&paged='.$paged);
and then
global $wp_query;
$big = 999999999; ...
1
vote
1answer
226 views
Ajax pagination works only first and third time
I'm using ajax-based pagination, heres the markup
<div id="portfolio-thumbs">
<ul id="portfolio-destaque">
HERE GOES MY LOOP AND CONTENT , some LI's with thumbs and stuff
...
0
votes
1answer
221 views
Paginate Gallery [closed]
I am using the default WordPress Gallery (along with the Cleaner Gallery plugin) to display some images. The one thing that the gallery doesn't seem to have is pagination. What I'd like to do is after ...
2
votes
1answer
216 views
get_query_var('paged') always returns empty
Putting this up after having hit a brick wall for possible solutions.
Have a site with quite a few custom post types and associated custom taxonomies. To help make things easy, I'm using a unified ...
0
votes
2answers
121 views
wp_paginate not working in combination with WPML plugin?
I have installed the wp_paginate plugin and the WPML plugin.
Now I have set 'Dutch' to the basic language and added 'English' as the second language.
I set the Blog posts to display to: All posts ...
0
votes
0answers
16 views
Infinite Scroll Plugin: How to first show 6 posts and then 2 posts thereafter with Infinite Scroll Plugin?
I am using the Infinite Scroll Plugin and initially load 6 posts onto the page. After the user hits "Show More" which is the pagination buttons on the page, I would like for 2 posts to be displayed ...
0
votes
1answer
23 views
Pagination problem in custom post type used as front page
I am working on a theme with custom post type.
the issue currently is that i am saving the layout files in a folder called templates.. and in front-page.php i am using an options check to see which ...
0
votes
1answer
79 views
Pagination not working on home page
I've a page named "share" with a complex loop that's working perfectly. This page is located at domain.com/share. Now I need to use this page as the home page, so I went to "Settings -> Reading" and ...
1
vote
2answers
412 views
Why do next pages load the same content rather then older articles?
For some reason, the 'previous posts' and 'next posts' on the homepage do not load previous posts, but rather the same posts that were on the main page.
Why is that? I don't even know where to start ...
0
votes
0answers
22 views
Amend page title for Paginated pages, using All In One SEO
Our site has a large list of paginated pages for older blog posts, and we wish to modify the page title.
Currently, it seems all we can do is append a string onto the end of the existing homepage ...
0
votes
1answer
48 views
Wordpress with broken paging page 3
I am working with a blog page that uses the following query:
<?php
$paged = (get_query_var("paged")) ? get_query_var("paged") : 1;
...
-1
votes
2answers
856 views
category.php + pagenavi + custom post types + /page/2 = 404 errors
I'm seriously going to go crazy if I dont figure this out. I have tried a million different things from googling,a nd I've been staring at this same problem for days now.
Pagination for a custom ...
0
votes
0answers
23 views
Archive Page Pagination not working
I am using the following template for a custom post type. The pagination does not work as you can see at http://www.xava.ie/testimonials
Any hints as to why it is not working for me?
<?php
...
0
votes
0answers
23 views
Search pagination not working
I have a search box in my header, which shows the results in a page called search.php.
The search itself is working, but pagination is not. So when I click to go to the next page, the front-page.php ...
0
votes
1answer
21 views
AJAX pagination call to get_posts with an offset and a meta_value_num sort returns same post on adjacent pages
I have a simple AJAX pagination that seemed to work just fine, calling one Wordpress page (not ideal, I know) with a pagenum and a sort order arguments and it returned 4 custom posts per call. The ...
2
votes
1answer
189 views
pagination hook doesn't work with search results
I use my custom Pagination function on my web site;
#Pagination
function pagination($prev = '«', $next = '»') {
global $wp_query, $wp_rewrite;
...
0
votes
2answers
895 views
Custom Post Type Pagination 404 Error (if paged>=2)
I coded a WordPress theme. I added a Photo Gallery with custom post type. But if paged>=2, it gives 404 error. I'm gonna be mad. :( Help please. And sorry for my bad English. Add me on MSN. ...
-1
votes
0answers
20 views
Childpages/Subpages Pagination on Parent page.? with next - previous and count
I'm trying to create pagination for child/subpages but its not working.
I have to display a pagination in the header part of About Us page(It can be any page).
Display format would be:
Viewing ...
-3
votes
0answers
29 views
Pagination Issues
I've got a static home page with a wp_query for custom post type posts that need to be paginated. I'm using a page builder plugin to build the rest of the page.
I'm using the following code but the ...
1
vote
2answers
37 views
How to use/enable Pagination?
I'm creating a shortcode to display the list of users with a particular profile in WordPress.
But I can not enable or display the pagination. I have 25 users on my site and would like to display 5 ...
0
votes
1answer
17 views
how does offset works on Pagination? (get_results)
I followed this link and created my own custom query with pagination.. but I don't really understand how the offset works,
Pagination with custom SQL query
the pagination does not work well. and I'm ...
0
votes
0answers
28 views
Pagination not working on Posts page when Category base is set
My urls are like:
/news (shows all posts)
/news/category-name
/news/category-name/some-post
the rest of the site are pages like /about, /contact, etc.
To make it work this way I've set Posts page ...
0
votes
1answer
50 views
Post archive pages bringing me to a 404 page
When I try to use next_posts_link() and previous_posts_link() in my archive posts page I got a 404 error page.
I'm using this permalink setting /%category%/%postname% and working well for all pages ...
0
votes
0answers
39 views
Post page shows another post type
I use http://www.kriesi.at/archives/how-to-build-a-wordpress-post-pagination-without-plugin for my blog pagination until I get a bug when I go through pages.
On the 4th page when I output the ...
0
votes
1answer
102 views
Pagination in wp query with transient api
I have intergrated wordpress transient system with w3 total cache. Now i can`t to do pagination for this query.
<?php
$paged1 = ...
1
vote
1answer
137 views
Paginate Child Pages Content on Parent Page
I am using the following code to display child page content on it's parent page. The code is working great, but it currently only shows the latest two child page posts, is there any way to display all ...
0
votes
1answer
202 views
Pagination with get_posts seems to work but links not showing
I've a custom page template where I want to query 2 posts from a post type and 1 post from another post type. I have it set up like this:
$paged = get_query_var('paged') ? get_query_var('paged') : 1;
...
0
votes
3answers
131 views
Pagination: /tags/tag_name/?paged=2 gives a 404 error
I need to paginate an archive page. Pagination works perfectly fine for everything except tag/category archives. Basically if I use /tags/tag_name/?paged=2 it gives me a 404 error. But if I use ...
0
votes
1answer
689 views
Pagination problem by using WP_Query
Sorry for me, if I use incorrect words or sentenses, my English is poor, i.e. I'm from Russia.
I have problem with pagination by using WP_query and pagination links like next_posts_link and ...
2
votes
2answers
130 views
Find first image on paginated post for Pinterest
I've been looking for days, yet can't find a good answer. Perhaps the SE crowd can be of assistance. Any help is much appreciated.
I am using a custom-coded pinterest button included on posts that ...
1
vote
1answer
187 views
Custom Post Type Pagination & duplicate posts
I'm working on a template which will use some custom-post-types & custom-taxonomies.. I'm having problems with pagination and duplicate posts.
HOME.PHP
LOOP #1
On the homepage (home.php) I have ...
1
vote
0answers
36 views
Post navigation not working [duplicate]
I'm having a strange issue on a blogpage that I'm working on. I have created an index.php page with a loop that display's only a specific category of posts. It also displays the next and previous ...
0
votes
1answer
131 views
WP_Query breaks pagination
I've been on this problem for a week now. I've searched through countless posts that just aren't answering the question. It seems that my wp_query breaks pagination. I've looked through a lot of the ...
-2
votes
0answers
13 views
Pagination for custom post type on page template [duplicate]
Hello I am trying to add pagination to a page template which I am using to display a custom post type. I have looked around for a few hours but I haven't come across clear set of instructions to ...
0
votes
0answers
44 views
get_query_var('paged') giving same result
I have a custom page, in that page i am using a custom select query for my search functionality.
The problem is pagination not working. I used $on_page= get_query_var('paged'); for pagination. When ...
0
votes
0answers
39 views
Wordpress - ABC filter/Pagination
I would like to list out the alphabet on a custom post type archive page, and by clicking on a letter in the alphabet it would link to a url that only displays posts that begin with that particular ...
0
votes
0answers
27 views
The offset option breaks the pagination
I have a problem with a website of mine, I was hoping you can help me.
I added the offset option to ignore the first couple of posts in the main loop. It does its job, but the navigation got broken. ...
0
votes
0answers
25 views
wordpress category page url permalink structure
My sites post permalink structure is "/%category%/%postname%". As default structure, permalink for categories are in this format "/category/%category%" . But, for some reason "{site_root}/%category%" ...
0
votes
1answer
28 views
How to change pagination base from slash to query form?
Can this function...
function custom_pagination_base() {
global $wp_rewrite;
$wp_rewrite->pagination_base = 'p';
$wp_rewrite->flush_rules();
}
add_action( 'init', 'custom_pagination_base' );
...
0
votes
1answer
89 views
Using loop pagination on single.php
I want the main front-page loop to show in a section on both index.php AND single.php templates, with pagination.
Pagination works fine on the homepage, but not on single posts. This is the code ...


