Forum Replies Created
- 
		
			
To achieve this, just use a plugin for login or sign-up, and their you will get the options to set redirect url. So that after log in and log out you can re direct the user to his/her profile and to direct home page after sign out. @andy277 your questions are so confusing. 
 I don’t think any one can understand what exactly you want to achieve.please be clear on the topic.You can achieve this by using, ‘if ‘ and ‘else ‘ statement. You can do that in theme/members/single/home.php You can modify the code, <?php locate_template( array( ‘members/single/member-header.php’ ), true ); ?> To, 1) if user have profile field ‘male ‘ then 
 <?php locate_template( array( ‘members/single/member-header-male.php’ ), true ); ?>Else (eg: based on profile field selected,) 2) <?php locate_template( array( ‘members/single/member-header-female.php’ ), true ); ?> Make sure to create two different templates in the same directory. If this not the case, Henry can help you Hi Henry, I think he is referring to load profiles page conditionally. 
 Ex: if a user choose “male ” as option while sign-up, or else “female ” based on xprofiles (may be, but for example I’m informing ).
 Then based on those conditions, he wants to load specific home/profile template ( each template is different).
 So if one can use if & else statements to load different templates from BP home page template