Skip to:

Re: How to: Bring the admin-message to the startpage

I think that’s an awesome idea too… for messages like “site will be down for maintenance on Wednesday” or whatever right on the homepage. I plan on using BuddyPress for our Regional Search & Rescue team… so it would be great… when a call goes out… to put the search information right on the homepage (for members only of course)… i.e. “All members please respond immediately to 123 Main Street… blah blah blah”.

So I looked into this. Just poked around in the /messages/ folder for a bit. Didn’t take long to find the required line of code. Try sticking this in your home.php file.

<?php bp_message_get_notices(); // (admin created site wide notices) ?>

Skip to toolbar