function x_buddypress_get_the_subtitle() { if (x_is_buddypress_component('activity')) { $output = x_get_option('x_buddypress_activity_subtitle', __('Meet new people, get involved, and stay connected.', '__x__')); } else { if (x_is_buddypress_component('groups')) { $output = x_get_option('x_buddypress_groups_subtitle', __('Find others with similar interests and get plugged in.', '__x__')); } else { if (x_is_buddypress_component('members')) { $output = x_get_option('x_buddypress_members_subtitle', __('See what others are writing about. Learn something new and exciting today!', '__x__')); } else { if (x_is_buddypress_component('blogs')) { $output = x_get_option('x_buddypress_blogs_subtitle', __('Meet your new online community. Kick up your feet and stay awhile.', '__x__')); } else { if (x_is_buddypress_component('register')) { $output = x_get_option('x_buddypress_register_subtitle', __('Just fill in the fields below and we\'ll get a new account set up for you in no time!', '__x__')); } else { if (x_is_buddypress_component('activate')) { $output = x_get_option('x_buddypress_activate_subtitle', __('You\'re almost there! Simply enter your activation code below and we\'ll take care of the rest.', '__x__')); } else { $output = ''; } } } } } } return $output; }
function x_buddypress_get_the_subtitle() { if (x_is_buddypress_component('activity')) { $output = x_get_option('x_buddypress_activity_subtitle'); } else { if (x_is_buddypress_component('groups')) { $output = x_get_option('x_buddypress_groups_subtitle'); } else { if (x_is_buddypress_component('members')) { $output = x_get_option('x_buddypress_members_subtitle'); } else { if (x_is_buddypress_component('blogs')) { $output = x_get_option('x_buddypress_blogs_subtitle'); } else { if (x_is_buddypress_component('register')) { $output = x_get_option('x_buddypress_register_subtitle'); } else { if (x_is_buddypress_component('activate')) { $output = x_get_option('x_buddypress_activate_subtitle'); } else { $output = ''; } } } } } } return $output; }