I think it isn’t working maybe because of my paged code,
< ?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'paged' => $paged, 'posts_per_page' => 5, 'caller_get_posts' => 0, ); query_posts('cat=-5'); if (have_posts()) : while (have_posts()) : the_post(); ? >
I checked a few other themes and noticed that the URL changed to something ending like,
but mine is changing to,
So can anyone help me solve this?
Forget the last bit of my last post, was stupid. But could it be the code which is making the pagination not work?
Cool glad you fixed it! What did you change?
I had to change the code i posted above to
< ?php if (have_posts()) : ?>
< ?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts(“category_name=somecat&paged=$paged”); ? >
< ?php while (have_posts()) : the_post(); ? >
And that seems to have sorted it.
Anyone suggest what i can work on and change on my theme? I don’t get much time to do it and i know it needs something added or changed but i don’t know what or how to change it. I don’t like the footer at the moment but not sure what to change it to.