Post disordered (4 posts)

  1. Go7enKs
    Posted 8 years ago #

    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?


  2. gummybear
    Posted 8 years ago #

    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: http://putzlowitsch.de/
    // 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’ );
  3. Go7enKs
    Posted 8 years ago #

    Do I need a plugin for that?

  4. moshu
    Posted 8 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.