eddudley
Forum Replies Created
-
Forum: Plugins
In reply to: Archive widget for private postsFor anyone else struggling with this, I found an answer. Put this in your theme’s functions.php
function customarchives_where( $x ) { return $x . " OR (post_type = 'post' AND post_status = 'private')"; } if ( is_user_logged_in() ) { add_filter( 'getarchives_where', 'customarchives_where' ); }If a user is logged in, the archives widget will now include private posts.
Comments from any wordpress pros as to whether this is the best way to do this are more than welcome!
Forum: Fixing WordPress
In reply to: Set up RSS Feed for Private Posts – Possible?Just found the development log:
http://tracker.andrewhamilton.net/projects/feed-key/issues?set_filter=1&tracker_id=1I don’t experience any of the issues listed – my only concern would be the SQL injection.
Forum: Fixing WordPress
In reply to: Set up RSS Feed for Private Posts – Possible?It seems to be working fine on my 3.3 standalone install – I’ve not tested it extensively but I’ll post here again should anything crop up.
Forum: Fixing WordPress
In reply to: Set up RSS Feed for Private Posts – Possible?I found this question looking for the same thing…
Not sure if this is what you were looking for but it worked for my scenario:
http://ww.wp.xz.cn/extend/plugins/feed-key/(I believe this is related to the multi-site plugin which you referred to)