The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

pagination with custom query (1 post)

  1. altacivil
    Posted 10 years ago #

    I am using this code to perform a query on my DB so that I can show only the posts from "category 7"...
    $page = (get_query_var('paged')) ? get_query_var('paged') : '1';
    I am using the first bit so that my page navigation (previous and next posts links) will work (apparently). It does not seem to be working though :(. When I click on the link for "previous posts" I get a 404 error.

    What am I doing wrong? I have tried deleting and re-creating my htaccess file. It seems that others have had success with this but I cannot seem to get it to work.

    Any Ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic