Change homepage content if user is logged in – BuddyPress
I just wrote some code to do something a bit different, but it should work for what you’re trying to do. It’s hooked in at the wp hook, which will prevent redirect loop errors. This will go in either a functions.php file or your own custom plugin (recommended). add_action(‘wp’,’restrictEnterSite’); function restrictEnterSite(){ // Make a template … Read more