Check if page is a group page
- 
		Hi, 
 So we want to output a custom message in activity loop if the user is accessing from a group they are not a member of. Currently it outputs “Sorry, there was no activity found. Please try a different filter.” which isn’t intuitive as to why they can’t see anything. My code based on other googled answers is fairly simple though ineffective.if (bp_is_page( BP_GROUPS_SLUG )) { echo ("request to join group to see feed"); }Have I missed something? As nothing outputs at all. 
Viewing 1 replies (of 1 total)
	
Viewing 1 replies (of 1 total)
	
- You must be logged in to reply to this topic.