Replies
In that file, s2Members checks if we are on the BP registration page using bp_is_register_page().
If one removes that call, s2Member custom fields will show.
Since I’ve added the registration form on the Home Page, I’ve modified bp_is_register_page() this way:
function bp_is_register_page() {
return is_home() || (bool) bp_is_current_component( ‘register’ );
}It seems it’s working everything now.
I know it’s not a good idea to modify core files.
But this is the simplest and fastest way to use two registration pages on BP without breaking compatibility with other Plugins.s2Members adds an additional div.register-section after the base signup fields using this code:
When calling get_template_part() that s2Member Plugin code is not executed.
(as any other signup form hooked code from other Plugins).Is there a better solution?
Thank you.