Support » Fixing WordPress » Post disordered

  • Hey guys! I need your help. Since yesterday, for no particular reason, my posts are all “upside down”, meaning that the oldest is in the front page and the newest are in the last page. They are reversed. What happened? How can I fix this?


Viewing 3 replies - 1 through 3 (of 3 total)
  • I have this problem if I try to hide any category from appearing on the main page. If I show everything, then it’s fine.

    Anyway, you can try this. Add the following code into the top of your header file.

    Plugin Name: 123 No Group By ID
    Plugin URI:
    Description: Changes the GROUP BY id in GROUP BY post_date (Problem from MySQL 5.0.51).
    Author: Ingo Henze
    Version: 0.10
    Author URI:
    // GROUP BY auswerten
    function plw123ngb_posts_groupby( $groupby ) {
    if( preg_match( “/(|[ ,.])id(|[ ,])/i”, $groupby ) )
    $groupby = ‘post_date’;
    return $groupby;
    add_filter( ‘posts_groupby’, ‘plw123ngb_posts_groupby’ );

    Do I need a plugin for that?

    Nope. You may want to read this:
    (it is a “sticky” post on the main page…)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post disordered’ is closed to new replies.