Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

Pagination did not show up in custom post type!

I couldn't find the solution up to now! so, I'd like your kindly help with my issue here! I created a CPT call "phones". This my code http://pastebin.com/ayimbxiH to create it & I use the build-in ...
0
votes
3answers
29 views

Hide featured post on second page

I have a index.php with a featured post and a number of other posts and the standard wp_pagenavi at the bottom. I'm using the 2 loops from the wordpress codex like this: <?php $my_query = new ...
1
vote
1answer
31 views

PHP code to use on next & previouspage links

I'm having an issue with wp_link_pages tag. I want to list the number of pages of each post with 'next' and 'previous' links that are two image arrows. To better understand the problem I'm having, ...
6
votes
1answer
33 views

post pagination names, not numbers

currently, using <!--nextpage--> on a post pulls just numbers. What I would like is to be able to name each page break, and then call the name instead of just a number. Something like: ...
0
votes
1answer
39 views

posts_per_page & pagination conflict

I have a custom query to display my custom post type. posts_per_page set to '5'. In admin post per page set to '10' (settings => Reading => Blog pages show at most 10 posts) My template lists 5 posts ...
0
votes
1answer
29 views

You can add paging in results? [closed]

The plugin is very good, but I think it is missing one feature: add paging results: Example: I have 30 posts but I want to display 10 posts per page, then automatically be added paging to two other ...
0
votes
0answers
39 views

Link to second page of search results returns 404 error

If a submit a search on my WordPress site, the second page (and onwards) of search results returns a 404 error page or, in some cases, sends me to a completely different page or post (for example, the ...
0
votes
2answers
62 views

Post Pagination Showing Same Posts Every Page

So I have this blog that filters by category Then by city. Somewhere while creating the filtration I broke the pagination which seemed to work fine earlier. It doesn't work on my homepage where it ...
1
vote
0answers
37 views

Multiple pagination on the same page

I'm running three separate loops on one page, with pagination links after each one of them. Obviously, since the pagination goes into the URL, clicking on any one of the pagination links paginates ...
0
votes
0answers
44 views

pagination in my custom query results

I have listed all the user of a role using the following code. <?php $roles = array('administrator', 'editor', 'author', 'contributor', 'subscriber', 'student', 'staff'); $paged = ...
1
vote
1answer
55 views

Frontpage pagination issue with paginate_links() function

I'm using following snippet to output pagination: // get the current page if ( get_query_var('paged') ) { $current_page = get_query_var('paged'); } else if ( get_query_var('page') ) { ...
1
vote
1answer
35 views

Force category-slug.php to show page, even if it doesn't exist

I have a custom query in category-slug.php, which works fine unless the category doesn't have that number of pages itself. If the category only has 5 pages of posts, but the query I put in has 7, ...
1
vote
0answers
14 views

How can I see all of a post's comments on a single page as a reader, if pagination is enabled?

Is there an URL I can access, or an argument that can be passed, to disable pagination on the reader's side? The blog uses standard Wordpress comment pagination, i.e., ...
0
votes
1answer
65 views

How do I paginate a list of categories?

I recently added thumbnails for my categories, which has had the side effect of making the page they are listed on unbearably long. Because of that, I am hoping to paginate the list of categories. ...
0
votes
1answer
40 views

Wordpress pagination with wp_query_columns

I'm using the code from here to split my loop up in to columns. The columns work. I have 7 posts in the databese and showposts set to 6. I cannot get nextpage link to show? I have a $paged variable in ...
0
votes
0answers
49 views

404 on some category pages in pagination

I have a category with about 50 posts. I need to make more categories with the same exact posts in there for landing pages. Instead of having to add all those games to the new categories, I have ...
0
votes
0answers
21 views

Replace pagination data after processing post results

Like some other users here, I've had to sort my blog posting page in a very custom way, and this is done by downloading all posts with wp_query and sorting via a custom PHP usort function. I've yet to ...
1
vote
1answer
32 views

wordpress query causing load

I found this query causing some load in the server, my hosting provdier asked me to look on it. SELECT SQL_CALC_FOUND_ROWS wp_posts I think this select no. rows found in wp_posts table.. but i ...
0
votes
1answer
49 views

Next and Previous buttons for navigation

I purchased the Nuke theme and added a custom page template using the code from page.php as a framework. The only code I added was a loop to pull 5 posts from category ID 12. I would like to add ...
0
votes
0answers
33 views

Pagination for gallery tab on admin

I need to implement a pagination for gallery tab, inside post edit. I have large galleries to manage (more the 200 pic each), and when I try to load the tab it takes to long to load (5 minutes and ...
0
votes
1answer
23 views

Can I paginate this get_attachment query?

Yeah, basically I want to be able to show 15 images attached to a certain page and have pagination when the page has more than 15 images. I'm not very well versed on this kind of query so I'm a bit ...
1
vote
2answers
67 views

Broken pagination

Well I'm here again with almost the same problem as I had in this post three weeks ago, but let me explain what has happened since then: I was originally using one loop to display the most recent ...
0
votes
0answers
46 views

Pagination - No content on page 2

After searching for 2 days I still cant find a solution on this problem. There is no content on the second page of posts. I cant figure out what I'm doing wrong. I'm building my own theme and using ...
0
votes
0answers
42 views

get_next_posts_link() Not Working :: Page Template, Custom Query

I'm having trouble with get_next_posts_link() on a custom page template; it returns null, despite the fact that I've got many other posts available. I've seen many solutions to this problem that ...
0
votes
1answer
59 views

Blog pagination WITHOUT using max_num_pages

WP 3.2.1 I'm in a bit of a bind. I have to create some pagination for the blog, but I believe I'm running into the bug described here, and I don't have authorization to fiddle with the server's ...
0
votes
1answer
45 views

Page with Multiple Loops Breaking Pagination

I made a customized index.php so that I have multiple loops on the same page so that the content can be displayed differently. I got this to work, however the pagination is broken. Despite several ...
0
votes
2answers
118 views

Making a Killer wp_link_pages

I am trying to achieve a similar look to the image below, a working example can be found here: http://www.menshealth.com/celebrity-fitness/mark-wahlberg-fighter-workout The needed code must do the ...
0
votes
1answer
52 views

How to add pagination to my code?

I just want to ask how can I add pagination here in this code: <?php if ( get_option('webly_display_media') == 'on' ){ ?> <div id="recent-projects"> ...
0
votes
0answers
17 views

Displaying a certain amount of a items per page with pagination

I am using the Tan Tan Noodles flickr plugin. At the top of the included code there are a few variables that count the amount of albums available on the page. I am able to output the number of albums ...
0
votes
0answers
53 views

Solution for WP-PageNavi with offset?

I have a query with the latest post on a category page. Then another one, with the rest of the posts but with offset=1 so I won't display the same post twice. I want it this way as the first query ...
0
votes
2answers
122 views

Pagination on 2nd loop

OK, I am creating a business listing site that is using a custom taxonomy for the listing "type". I need to display two loops on the taxonomy archive page, one for "sponsored" listings and one for ...
0
votes
2answers
39 views

How WordPress converts URL to $query_string

My home.php shows a list of (N) posts and << Previous & Next >> links. When clicked, I want to fetch previous/next list of (N) posts using Ajax. This is: I do NOT want to load the entire ...
0
votes
1answer
44 views

Paginated HTML Sitemap

I've got to the point where I needed to break down my HTML Sitemap into several pages. It contained 2000+ links. The big layout was showing all post titles under category names on one page. I decided ...
0
votes
1answer
31 views

Pagination of Custom Post Types not Changing Posts

I have a custom post type, jobs, being displayed on an external page using WP_Query() - the query itself is working fine. However when I try to paginate the results, the older/newer links show up, ...
0
votes
1answer
111 views

pagination in a custom list created with get_pages function

I have a custom page that calls a function - say generatelist the generatelist functions call get_pages() and loops through the array using for each and building a list containing various data from ...
0
votes
1answer
12 views

Comment Pagination

I am hoping someone can help me with comments pagination. I have the pagination working and the links point to the next page etc, but when clicking the page just refreshes. Here is my code so far and ...
0
votes
0answers
41 views

Pagination not working with advanced search

I'm building a site which uses custom post types almost exclusively. I therefore wrote a custom loop for them which meant I hit the issue of pagination not working. With a bit of searching I found the ...
0
votes
2answers
138 views

Custom Post Type, Two categories, Two columns with Pagination

I searching a lot to found a way solves that and no luck at least. Sorry for my unpulish english, I do my best explaining my issue. I have a Custom Post Type called 'Events' this have two categories ...
0
votes
1answer
47 views

Getting content from a single *page* of a post

What function can I use to fetch content of a single page within a post? Let's say I want to split my post into 5 pages - how can I get content of, say, page 3? Can't seem to find this in Codex...
-3
votes
1answer
46 views

Pagiation for terms of custom taxonomy

Here is the code <?php // if show all is set if( isset($_GET['showall']) ): $args = array( 'hide_empty' => 0 ); else: // else show paged $page = ( get_query_var('paged') ) ? ...
0
votes
1answer
96 views

paginate posts on admin page

I've created a plugin that calls a list of posts and grabs external API data. I am using get_posts to grab the list (because I need to feed the array of links into the API query) For whatever reason, ...
0
votes
1answer
76 views

Page not found yet the posts are listed?

OK, seriously. I have a really modified index.php. The result: after the second paginated page, the page returns Not found and 404, while the posts are shown already. Can anybody tell me, what it ...
0
votes
1answer
36 views

Broken pagination, need help figuring out why!

I just tried slapping together a poor-man's "featured post" section with this exact code out of my index.php: <div id="post-wrapper"> <?php if (is_home() && !is_paged()) : ?> ...
0
votes
2answers
119 views

add spans and characters into paginate_links

I am using paginate_links on my custom page query. What I have already works sweet and this is the code I have so far... <?php global $wp_query; $big = 999999999; // need an unlikely ...
0
votes
1answer
48 views

How to use pagination?

I have the below code for a page, where I am pulling a photo, title and excerpt of the last 10 articles. The problem is, I don't know how to add pagination? I have installed WP-PageNavi aswell. ...
0
votes
0answers
28 views

Custom taxonomy page not working properly

I created a custom post type called portfolio and registered a custom taxonomy called project-categorywhich work just fine. The problem is that I created a archive.php file to handle how each category ...
0
votes
1answer
163 views

paginate_links on custom query in admin - 'sufficient permissions' error

I have created a page in my admin with this custom query: $rows = $wpdb->get_results("SELECT * FROM ej_feedback ORDER BY createdtime ASC"); I have made it successfully paginate as required in ...
0
votes
0answers
43 views

Category pagination problem: “Nothing found…”

I've got a problem with pagination for a category. My template is category-30.php. So just for displaying this category. When I got to /page/2 I get a page with the title "Nothing from for Backstage ...
0
votes
0answers
76 views

Changing the pagination URL format

Currently when I use the next_posts_link and previous_posts_link functions I get a URL returned such as /posts/page/2. However, is it possible to make Wordpress work with a pagination URL format such ...
0
votes
1answer
108 views

pagination in author.php template returns 404 error

Hi to the community!!! I need some help with pagination in author.php template. I have pagination working in all my loops except in authors.php that i get a 404 error. In my settings/reading i have ...

1 2 3 4 5 6