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

learn more… | top users | synonyms (1)

0
votes
1answer
106 views

Wordpress custom post type post and category links 404

I've recently created several custom post types in a wordpress site, with the code below, they are generating links in the correct form e.g. root/category/id/postname but each link to the full post, ...
0
votes
1answer
197 views

Add pagination to this following template

<div id="omc-main-left-column" class="omc-content"> <?php query_posts($query_string . '&pagename=&page_id='); ?> <?php query_posts('posts_per_page=3'); ?> ...
0
votes
2answers
1k views

Pagination for posts inside a specific category

I have a FAQ category and there are posts in that category I want to add pagination to that category only, not the other category in my wordpress. In short giving pagination to selected category for ...
0
votes
1answer
800 views

Comment submission & navigation redirects to default language

I'm using qTranslate for multi-language & wp-commentnavi for comment navigation. The style of my base permalinks are like so: site.com/ -> for default language site.com/en/ -> for ...
3
votes
2answers
4k views

Using paginate_links() to generate “1, 2, 3 … 10, 20, 30, 40… 55” paginations

I found this code : // Get total number of pages global $wp_query; $total = $wp_query->max_num_pages; // Only paginate if we have more than one page if ( $total > 1 ) { ...
0
votes
1answer
294 views

Custom Post Type, Pagination and 404s?

Head is getting melted with this pagination crap in WordPress! What am I doing wrong here… Test site http://www.clients.eirestudio.net/savvas/reviews/ Code <?php $paged = ...
4
votes
1answer
111 views

Multiple Paginations on one Page

I have a page template which aggregates multiple CPT's in different areas of the page and displays the first post from each CPT. I'd like to add a separate pagination for each of them. Is it possible ...
1
vote
1answer
608 views

Is it possible to have pagination with an offset loop?

I am developing a blog page that requires 3 different post styles (Ie; one full page width with featured image and content, one full page width without featured image and the rest are half page width) ...
1
vote
1answer
209 views

Add pagination to listing plugin

I am trying to figure out on how to add pagination to your listing. Think you could help me out? I have added the read more button and manage to customise the listing styles. What's left is the ...
0
votes
1answer
760 views

WP_Query and pagination AGAIN?

I am using the WP_Query class to retrieve some posts according to variables set in url. All working well until we get to paging. The second page (though having posts - tested it by making paged => 2) ...
0
votes
1answer
938 views

Possible to paginate on single.php?

I know this sounds illogical and maybe it is, but the client's asked for it so I'm looking into a solution if possible. On a section of the site there's a link that leads to category-news.php, which ...
0
votes
1answer
220 views

The Pagination doesn't work

i have made a new WordPress Theme and ive done .. but i have one problem. I can't get the pagination work. I use the "wp-paginate" plugin and i have put the folloing code on my index.php <?php ...
0
votes
1answer
462 views

Custom post type pagination like “previous current/all next”

I have custom post type works with custom taxonomy work_category I want to build such pagination while viewing single.php previous 2/25 next [link to previous post in custom tax] [current post ...
0
votes
2answers
825 views

pagination links not displaying

I'm unable to get my 'next_posts_link()' and 'previous_posts_link()' to display. So far I've tried the standard first debug by deactivating all plugins and clearing the cache, I've also tried removing ...
1
vote
1answer
758 views

How to use “offset” to paginate get_users?

Is is possible to paginate the get_users function with the "offset" parameter? I have complete my custom query of users for my list and now I need to paginate the results into multiple pages. Here ...
3
votes
1answer
1k views

Single Page View for Paginated Posts

Okay, so you know how you can break up a wordpress post by inserting the next-page/page break quicktag. Then, using the wp link pages function in your template, wordpress will generate page 1, 2, 3, ...
1
vote
1answer
3k views

Pagination on a custom page template

I have set up a custom post type called 'Events'. For reasons that I'm not going to get into, I chose not use archive-events.php as the archive template for my Events. Instead, I decided to create a ...
0
votes
2answers
93 views

another post a page problem

I have a difficult post a page problem. I have this code : function wpse31701_4filter_query() { global $wp_query; // Check year and month $wp_query->set('orderby', 'date'); ...
8
votes
1answer
2k views

Is it possible to paginate posts correctly that are random ordered?

I found this problem on Wordpress Support and the topic unfortunately is now closed. I have this same issue... (read below) We have created a site where members can recommend things like favourite ...
1
vote
1answer
415 views

I cannot get pagination to work on my home page code. it keeps displaying the same posts

Please can someone tell me what is wrong with my code and why it keeps showing the same content on the paginated pages? It has two loops.. the first is for the featured post and then the rest of the ...
0
votes
2answers
473 views

Custom post type pagination error

Another one of these paging errors you see here so often. I searched high and low for a fix but have come up with nada so far. I am paging CPT results using my archive-{$post_type}.php template and ...
3
votes
1answer
1k views

How to paginate the get_users function?

Im using the get_users function to show a custom list of users on the site. The only issue Im having a problem figuring out now is how to paginate the result. This is a sample of the function that Im ...
1
vote
0answers
182 views

How to make pagination work not for a whole category but for a part of it? (WP_Query) [closed]

In my example you can see that i have to paginate posts from category 6 with meta_value='izhs' for meta_key='dachaizhs' Now it works like it paginates the whole category, and then exclude from each ...
0
votes
2answers
7k views

WP_query and pagination?

I have to get some custom post types and need to do that with WP_Query (query_posts doesn't work). How can I do the pagination? Whatever I tried didn't work... any help would be awesome I can't crack ...
0
votes
1answer
174 views

Can't get pagination to work for sticky posts only

I don't get my pagination to work. I need to filter my posts on sticky posts and display only two per page. Tried almost everything but can't get it to work. It is totally ignoring my posts_per_page ...
7
votes
3answers
4k views

How to determine if I'm on the first page of pagination?

How do I determine if I'm on the very first page of pagination? I'm using WP_Pagenavi. I want to run a function only on the first page of the pagination. I checked the query_var 'paged', it's set to 0 ...
0
votes
1answer
347 views

Offset a post in the loop, with using PageNavi Plug-in

I am trying to offset 1 post in my main loop, I have tried a few things Like query_posts() etc etc, and i can get the offset to work but my pagination ends up not working , I am using the PagNavi ...
3
votes
2answers
3k views

URL rewrites and pagination

I must say that I am a complete nooby at Wordpress custom URL rewrites. I have searched for past many days to find a clear explanation of how to determine and write correct pattern for URL rewrites. I ...
2
votes
1answer
5k views

Change Posts per page count

In the wordpress settings => Reading => Blog pages show at most [input field] posts I have it set to 3 posts at the moment. On my index, date archives, tag archives, category archives, search ...
1
vote
1answer
6k views

Wordpress pagination with get_posts?

I need to make adjustments to a horribly written WP theme that (a custom theme that was written in tables, and bad code). The theme has several custom templates, but pagination wasn't used and ...
1
vote
1answer
2k views

Wordpress pagination showing same posts on each page

I need to make adjustments to a horribly written WP theme that (a custom theme that was written in tables, and bad code). The theme has several custom templates, but pagination wasn't used and ...
2
votes
2answers
1k views

Next & Previous (Pagination in this case) Not Appearing

I am using a custom page template for my portfolio. The code is calling the correct number of posts per page but for some reason the pagination links won't show up :-S My query <?php $loop ...
0
votes
1answer
97 views

Display “Post 2 of 4” on single post page?

I have a custom post type called Projects. When viewing a single 'project' post I have next/prev buttons to navigate through them. I also want to display text saying "Project 2 of 4" or ideally ...
1
vote
2answers
1k views

Pagination on single post page?

I've found many pagination tutorials/plugins that work on pages displaying a list of posts such as index.php E.g. - ...
2
votes
4answers
373 views

A way to detect which page a post is on

I'm wondering if there is a good way to tell which archive page a post came from. I essentially just need the post's position in the total order, then divide it by the 'posts_per_page' option. The ...
1
vote
1answer
777 views

Admin table list API?

wp-admin table lists - like post list Is there a API or something to build table lists in wp-admin? With table lists I mean like the list of posts for example. It has columns, sorting, paging and so ...
1
vote
1answer
633 views

Pagination for multiple queries for different authors on author.php

I have peculiar requirement. The author.php template is used as a profile page for the author where he can view his own posts and posts by other authors. This template has two custom loops to achieve ...
1
vote
2answers
929 views

How to add pagination with page numbers rather than next/previous links?

Does WordPress have any built-in pagination functions to show the page numbers instead of previous and next page links? If not, how can I add that? Thanks
0
votes
1answer
134 views

Search URL redirect problem

I'm having a strange problem with my search results page when i search i get this in the URL http://f.cl.ly/items/2Z1c1b2G1n0B3r3W063B/Screen%20Shot%202011-09-29%20at%201.21.19%20PM.png "see the X ...
0
votes
1answer
804 views

Next / Previous Posts not working

So I have a page that display posts from a certain category. If that is the category, its outputs one way, otherwise, it outputs another. The problem is, the pagination is only working on the ...
0
votes
3answers
47 views

Not displaying any articles on a custom made file

I have created the file latest.php in the public_html so that when I go to www.domain.com/latest.php it will show me the latest articles. Sadly, nothing of the posts came up. Later, I will sort them ...
1
vote
1answer
364 views

Wordpress removes spaces in URL on pagination

I'm having a problem with wordpress rewriting my URLs, basically I have a regular search form with method set as GET, when I submit it the URL looks like this at first: ...
0
votes
1answer
978 views

Insert pagination links - wp_link_pages() - before filters on posts

I'm trying to add pagination support for some longer posts on my site. I've added the wp_link_pages() function to my single.php file, after the_content, but this causes the pagination links to display ...
0
votes
1answer
503 views

How to implement a slideshow on WP similar to these examples?

I'm a big fan of slideshows like these: BEST PLACES TO LIVE http://money.cnn.com/magazines/moneymag/bplive/2011/snapshots/PL0846355.html Best places for the rich and single ...
1
vote
0answers
133 views

Taxonomy Pagination [closed]

I have a custom post_type => 'products' wich has a taxonomy => 'product_type' and I have a page that uses a template to display all posts by post_type => 'products'. Works just fine when I ...
1
vote
4answers
2k views

Show content only on front page?

I want to add some content (slider) only on the home page. I don't want it to apear on the other pages. I am trying following: <?php if(is_home()) { ?> <div> ... <div> } ?> But ...
2
votes
1answer
2k views

5 posts per page from single category, paginated

I've been trying to create a "blog" page within a portfolio site of mine that only displays posts that I've categorized as "Blog". My goal is to only display 5 posts per page and have pagination at ...
2
votes
2answers
345 views

Multi Site Search Pagination is Broken

the CG Cookie network is running a WordPress multi site install. There is a strange bug happening with the search pagination when on any of the sub sites. For example, if you go to ...
0
votes
1answer
511 views

Fix custom query pagination without changing site-wide posts-per-page settings

Many people report problems with pagination of custom queries or custom post type archives: url/page/2 produces a 404 even though all the setup is correct. Many end up figuring out that this is ...
0
votes
1answer
473 views

Pagination problem with multiple loops on the same page

I'm using 4 custom loops to display 3 posts on each one and every loop has its own pagination which works fine once the page loads up, the problem is that when I click on the 2nd page of the first ...