• blong

    (@blong)


    I am using the plugin Clean Archives Reloaded 3.2 and only want it to show the archives of one category. Ive seen solutions that say to change something in the get_post() but in the 3.2 version this was removed. I think this is what replaced it

    // A direct query is used instead of get_posts() for memory reasons
    $rawposts = $wpdb->get_results( "SELECT ID, post_date, post_date_gmt, comment_status, comment_count FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post' AND post_password = ''" );

    What should I do to make it show only posts from one category? Thanks!

  • The topic ‘Clean Archives Reloaded One Category’ is closed to new replies.