Title: narchives.php shows draft posts&#8230;?
Last modified: August 18, 2016

---

# narchives.php shows draft posts…?

 *  [robgreeley](https://wordpress.org/support/users/robgreeley/)
 * (@robgreeley)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/)
 * I am using narchives.php and love it, but have found that it is also displaying
   my draft posts – not yet published.
    Anyone else having this problem? Anyone 
   know of a solution? Thanks Rob

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

 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100196)
 * I’m also having this problem. But don’t have a solution. 🙁 But it’s prolly just
   a MySQL call that doesn’t check for the post status.
 *  Thread Starter [robgreeley](https://wordpress.org/support/users/robgreeley/)
 * (@robgreeley)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100377)
 * Let me know if you find a solution – Thanks.
 *  [djsparks](https://wordpress.org/support/users/djsparks/)
 * (@djsparks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100520)
 * Today, I looked at my blog stats (using the BAStats plugin) and noticed that 
   some of my drafts are showing up in the list. I logged out of the admin panel
   and pulled up the URL of a few drafts. The drafts came up and were showing as
   published on the date I created them. I have put temporarily suspended my site(
   with the Site Unavailable plugin) until I can correct this issue.
 * The only thing I believe I’ve changed recently was upgrading the In Series plugin
   by Skippy. However, I don’t see where this would affect the publishing of drafts.
 * Any ideas?
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100521)
 * Why are you bumping a year old thread for a totally unrelated subject (this thread
   is about a script called `narchives.php` displaying drafts)? Please, make your
   own thread next time.
 * Anyway, any plugin that is displaying drafts is improperly coded. When querying,
   it needs to have `post_status='publish'` in it’s `WHERE` area of the query.
 * As for being able to view the draft, log out and try again. Logged out users 
   shouldn’t be able to view drafts, even if they figure out the draft’s ID and 
   do `index.php?p=XX`. 😉
 *  [djsparks](https://wordpress.org/support/users/djsparks/)
 * (@djsparks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100522)
 * I didn’t see another thread related to this issue; this thread is about drafts
   showing as published; that’s the same problem I’m having.
 * As I already mentioned, I have logged out. When logged out, the drafts are still
   showing as published. In my experience, even logged in users shouldn’t be able
   to view draft posts in published form (including user level 10).
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100523)
 * > this thread is about drafts showing as published; that’s the same problem I’m
   > having.
 * That was due to some script robgreeley had.
 * Anyway, where are your drafts still showing as published? In BAStats? If that’s
   the case, that’s the developer’s fault and you’ll need to contact them to fix
   their issue.
 * But if you try view the actual contents of the draft while logged out, you shouldn’t
   be able to view it. I just tried it for myself on my dev blog and it allowed 
   me to view the draft from outside of my admin area, but only if I was logged 
   in.
 * Or am I still misunderstanding you?
 *  [djsparks](https://wordpress.org/support/users/djsparks/)
 * (@djsparks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100524)
 * I can view the drafts as published posts even when not logged in as a user.
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100525)
 * WHERE can you view the drafts as published posts? Again, in this plugin’s stats
   or in your normal WordPress Loop?
 *  [djsparks](https://wordpress.org/support/users/djsparks/)
 * (@djsparks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100526)
 * As posts on my blog. I’m not sure what is not clear about this.
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100527)
 * Okay, well something is seriously wrong then if items marked as “drafts” are 
   showing up on the main page of your blog within your Loop. But it’s hard for 
   me to troubleshoot without being able to see your blog.
 * Are you using the latest version of WordPress? Try disabling all of your plugins.
 *  [djsparks](https://wordpress.org/support/users/djsparks/)
 * (@djsparks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100528)
 * Yes, I’m using WP 1.5.2. I’ve disabled all of my plugins and am still having 
   the problem. I haven’t changed any code in the WP setup; I wasn’t having this
   problem previously, so I don’t have a clue what could have caused it now.
 *  [djsparks](https://wordpress.org/support/users/djsparks/)
 * (@djsparks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100529)
 * I think I’ve discovered that the Adhesive 2.1 beta plugin and the In Series 1.8
   plugin have some incompatability.
 *  [djsparks](https://wordpress.org/support/users/djsparks/)
 * (@djsparks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100530)
 * I downgraded the Adhesive plugin to 1.5 and it seems to have solved the problem.
   Strange.
 *  [djsparks](https://wordpress.org/support/users/djsparks/)
 * (@djsparks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100531)
 * Actually, Adhesive 1.5 apparently doesn’t work with WP 1.5.2 so I disabled Adhesive
   and everything is working fine with In Series and no drafts are showing up as
   published.

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

The topic ‘narchives.php shows draft posts…?’ is closed to new replies.

 * 14 replies
 * 4 participants
 * Last reply from: [djsparks](https://wordpress.org/support/users/djsparks/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/narchivesphp-shows-draft-posts/#post-100531)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
