Pagination Problem in Arras Theme
-
I’m working on a site for a client using a modified CMS’ified’ Arras Theme–though I’m a bit of a WordPress/php newbie (and total hack).
I created a posts template where the user can select a specific post from a specific project category (e.g. Conservation). Underneath the selected post is a archive listing of other projects in the same category, excluding the project shown.
While I’m able to show the category specified, the pagination doesn’t work. So if there are a total of 10 projects, and 5 are set to be shown when I select the 2nd page, the same projects appear in the listing.
I looked up various solutions on the support forums using the following code to modify the ‘query_post’:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
However, in my case, I haven’t been able to get it to work.
I would appreciate any help on this. You can see the code here:
https://pastebin.com/m51e5423f
Thank You,
Tak
- The topic ‘Pagination Problem in Arras Theme’ is closed to new replies.