Title: Monthly Archive MIssing Posts
Last modified: August 31, 2016

---

# Monthly Archive MIssing Posts

 *  Resolved [snowme](https://wordpress.org/support/users/snowme/)
 * (@snowme)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/)
 * Hi,
 * None of my posts are showing up in the Monthly Archives. When I click on a month
   there are no links anymore.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7408880)
 * Hi snowme
 * In Raindrops1.407, I tried to test whether there is an abnormality in the link
   of the monthly archive, the problem could not be found for me.
 * For confirmation, Can you show me your site?
 * Thank you.
 *  Thread Starter [snowme](https://wordpress.org/support/users/snowme/)
 * (@snowme)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409050)
 * Hi,
 * My site is [http://www.labsrc.com](http://www.labsrc.com)
 * Thanks
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409056)
 * daily Archive shows for me ( /2016/03/31/#post-1092 )
 * yearly Archive shows for me ( /2016/ )
 * monthly arvhive not shows ( /2016/03/ )
 * Exists Artive html structure but not out put content link
 * Not exists output contents then theme add class no-archive.( display:none; )
 * Please check query_posts() return value at blow highlighted code.
 * [https://github.com/tenman/raindrops/blob/master/date.php#L123-L125](https://github.com/tenman/raindrops/blob/master/date.php#L123-L125)
 * Result of query_posts () is, because the thing that core program outputs, conflict
   such as plug-ins might cause
 * This function does not remember to change for a long time.
 * All raindrops day archive is used date.php template.
 * It rename (like bad-date.php ) then show fallback archive
 * Thank you.
 *  Thread Starter [snowme](https://wordpress.org/support/users/snowme/)
 * (@snowme)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409128)
 * On my test site, I tried renaming date.php to bad-date.php. When I do that it
   shows all of the posts from that month when I click on a month in the Archives.
 * I then tried disabling all of my plugins and renaming bad-date.php back to date.
   php. When I do that no posts are listed in the Monthly archive. It doesn’t look
   like its a plugin conflict.
 * Is there anything else I can try?
 *  Thread Starter [snowme](https://wordpress.org/support/users/snowme/)
 * (@snowme)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409129)
 * I tried switching themes and the monthly archive page shows the correct posts
   for that month so it must be something with date.php that’s causing the problem.
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409130)
 * A problem that is happening on your site, we went to test how this can be reproduced
 * date.php
 * line:123
 *     ```
       } elseif ( is_month() ) {
                               $one_month = query_posts( "posts_per_page=-1&year=$ye&monthnum=$mo" );
                               $output    = raindrops_month_list( $one_month, $ye, $mo );
       ```
   
 * I can reproduced when $one_month value is empty array()
 *     ```
       $one_month = query_posts( "posts_per_page=-1&year=$ye&monthnum=$mo" );
       ```
   
 * The return value of this function is, for the core function, can not be changed
 * Please try alternative function
 * If possible, Try change from query_posts to get_posts like below
 * date.php line:123
 *     ```
       $one_month = get_posts( "posts_per_page=-1&year=$ye&monthnum=$mo" );
       ```
   
 *  Thread Starter [snowme](https://wordpress.org/support/users/snowme/)
 * (@snowme)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409147)
 * I tried changing line 123 to get_posts but it still doesnt show my monthly archive
   posts. I noticed that the months that show up are wrong as well.
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409153)
 * I’m sorry
    Remaining method, when you delete a date.php, archive, but can be 
   displayed, will have the same view as the other archive page
 * Thank you.
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409162)
 * I was able to reproduce this problem!
 * This is Theme BUG
 * Quick Fix
 * functions.php line:3316
 * [https://github.com/tenman/raindrops/blob/master/functions.php#L3316](https://github.com/tenman/raindrops/blob/master/functions.php#L3316)
 * Please change below
 *     ```
       list( $y, $m, $d, $h, $min, $s ) = sscanf( $month->post_date, "%d-%d-%d %d:%d:%d" );
       ```
   
 * Please change the fifth argument of the list function from `$m` to `$min`
 * This bug will be fixed next version of Raindrops
 * Thank you
 *  Thread Starter [snowme](https://wordpress.org/support/users/snowme/)
 * (@snowme)
 * [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409165)
 * Thanks for continuing to work on this problem. I made the change and it fixed
   the issue. Thanks for your hard work.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Monthly Archive MIssing Posts’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/raindrops/1.700/screenshot.png)
 * raindrops
 * [Support Threads](https://wordpress.org/support/theme/raindrops/)
 * [Active Topics](https://wordpress.org/support/theme/raindrops/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/raindrops/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/raindrops/reviews/)

## Tags

 * [archives](https://wordpress.org/support/topic-tag/archives/)
 * [monthly](https://wordpress.org/support/topic-tag/monthly/)

 * 10 replies
 * 2 participants
 * Last reply from: [snowme](https://wordpress.org/support/users/snowme/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/monthly-archive-missing-posts/#post-7409165)
 * Status: resolved