mallorcanytt 1 Report post Posted June 13, 2011 Hi I am about to do some maintenance on my forum and want to leave a message to the members. How can this be done in a easy way. Something like below but for bbpress or a plugin maybe? function wpr_maintenance_mode() { if ( !current_user_can( 'edit_themes' ) || !is_user_logged_in() ) { wp_die('Maintenance, please come back soon.'); } } add_action('get_header', 'wpr_maintenance_mode'); Share this post Link to post Share on other sites
Simon 248 Report post Posted June 13, 2011 You should try asking on the bbpress forums. Share this post Link to post Share on other sites