$_REQUEST['event_name'] = $_REQUEST['s'];
echo do_shortcode('[glm-members-list view="grid" ]');
if( isset($_REQUEST['textSearch']) && !empty($_REQUEST['textSearch'])){
- echo do_shortcode('[glm-members-event-list]');
- }
+ echo do_shortcode('[glm-members-event-list]');
+ }
// $my_postid = 30722;//This is page id or post id
// $content_post = get_post($my_postid);
// $content = $content_post->post_content;
</script>' . "\n";
}
}
-add_action('admin_head','hide_personal_options');
+// add_action('admin_head','hide_personal_options');
function modify_contact_methods($profile_fields) {
unset($profile_fields['facebook']);
unset($profile_fields['twitter']);
unset($profile_fields['googleplus']);
-
unset($profile_fields['first_name']);
return $profile_fields;
}
add_filter('user_contactmethods', 'modify_contact_methods');
-
-add_action( 'show_user_profile', 'my_show_extra_profile_fields' );
-add_action( 'edit_user_profile', 'my_show_extra_profile_fields' );
+//
+// add_action( 'show_user_profile', 'my_show_extra_profile_fields' );
+// add_action( 'edit_user_profile', 'my_show_extra_profile_fields' );