I upgraded my wordpress and now for some reason the 'previous entries' link at the bottom of http://www.ganisco.com/blog/ comes up with 'page not found'
has anyone else experienced this issue?
i tried using:
<?php
$offset = "0";
$no_of_posts = "10";
if (preg_match('/blog/page/', $_SERVER['REQUEST_URI'])) {
$uri = explode('/', $_SERVER['REQUEST_URI']);
foreach ($uri as $key=>$value) {
if ($value == "") {
unset($uri[$key]);
}
}
$offset = (array_pop($uri) * 2) - 2;
}
query_posts('showposts=' . $no_of_posts . '&offset=' . $offset);
if (have_posts()) : while (have_posts()) : the_post();
?>
to no avail, please help.