We have a custom link structure that looks like this:
We are trying to implement pagination on our category pages. What is happening currently is that we are getting redirected to individual posts based on the page number. We are using a custom category.php page, and here is the code we are using to pull in the post listings:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $wp_query = new WP_Query("category_name=$category_name&paged=$paged&posts_per_page=30"); if ( have_posts() ) while ( have_posts() ) : the_post();
Here is an example of a category page in action on our development site:
- The topic ‘Permalink Custom Structure VS Pagination’ is closed to new replies.