Posted on December 4th, 2008 by

4 Comments

Mauris Semper, Velit Semper Laoreet Dictum

Update was made due to an error with pagination. Anyone that has downloaded a theme before please update it to a new version by downloading it here or change the buggy code:

File: includes/defaultlayout.php

Old code:

$page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$the_query = new WP_Query(‘cat=-’. $ex_feat . ‘,-’ . $ex_vid . ‘,-’ . $ex_aside . ‘&showposts=’ . $showposts . ‘&orderby=post_date&order=

desc’);
while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;
*

New code:

$page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$the_query = new WP_Query(‘cat=-’. $ex_feat . ‘,-’ . $ex_vid . ‘&showposts=’ . $showposts . ‘&orderby=post_date&paged=’ . $page .’&order=desc’);
while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;

Other Popular Posts (auto generated)

,

4 Responses to “Mauris Semper, Velit Semper Laoreet Dictum”


  1. valter

    5 years ago

    hey man.

    already update the version and tried to fix the bug but the older post always show first.. whats wrong?

    Reply

  2. valter

    5 years ago

    sorry man, im so stupid. some plugin cause it.
    btw.. this is one of the best theme on internte.

    take care man.

    Reply

Leave a Reply