Solved

WP Pagination Issue on Index

Posted on 2010-08-18
1
295 Views
Last Modified: 2012-05-10
preownedweddingdresses dot ca

index pagination does not work however category, search, etc all work fine.

works fine
preownedweddingdresses dot ca/canada/page/2/
preownedweddingdresses dot ca/page/3/?s=Size+10

I am stumped, I have tried numerous fixes to get this working...

Why would it work on all pages, except index? Uses same code for category/search.

0
Comment
Question by:UltraFlux
1 Comment
 

Accepted Solution

by:
UltraFlux earned 0 total points
ID: 33465695
Solution

$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query('cat=-178'.'&showposts=15'.'&paged='.$paged);
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now