How to remove unwanted section in profile page for only users?
Seems like you are using the plugin fancier author or fanciest author. Either modify the setting in there or disable the plugin. Hope that solves your problem
Seems like you are using the plugin fancier author or fanciest author. Either modify the setting in there or disable the plugin. Hope that solves your problem
Thanks Kerzzy, This worked more or less, though I needed to add this right after the opening php tag: /** * * Template Name: Change Password Template */ // fix buffering issue ob_start(); I encountered two issues and the above code fixed those problems. I couldn’t set my page to use this new template without … Read more
This is the new default password methodology used in WordPress 4.3. In WordPress 4.3, if you have Javascript disabled or broken, then you will get the normal New Password and Repeat New Password fields. If you have Javascript enabled and running normally, then you only get the Generate Password button. If you get two things … Read more
You need to put your WordPress.org username in Contributors section in the readme.txt file. Then your plugin will be associated with your account.
I guess the user-edit screen like tables only. Other check boxes I have are using the the standard table structure. So instead of just using input checkboxes, I’m inserting the check box in the element and the label in the element to follow the structure of the rest of the page. So now my code … Read more
Use the function current_user_can( $capability ). Where $capabilty applies. For example: If ( current_user_can( ‘update_plugins’ ){ //do some update plugin stuff }
You really should rename your field names with a hyphen (-) instead of an underscore. There is no solution for that other than replacing the underscores (_) for the hyphens (-) I read somewhere that the problem is with the new php naming conventions and when used in functions, it separates the words when an … Read more
Sounds to me like “Profiles” should be a custom post type with custom fields. You can then relate the profiles to the users via a custom taxonomy or even more crudely by just storing the Profile post ids as meta data of the User. This would give you the flexibility of offering multiple profiles for … Read more
add_filter( ‘wpmem_register_form_rows’, ‘prefix_profile’, 9999, 2 ); function prefix_profile( $rows, $toggle ){ if( ‘edit’ == $toggle ){ foreach( $rows as $row_item ){ $rows[$row_item[‘meta’]][‘field’] = preg_replace( ‘/<input(.*) value=”(.*)” class=”textbox”(.*)\/>/’, ‘<p class=”noinput”>$2 </p>’, $row_item[‘field’] ); $rows[$row_item[‘meta’]][‘label’] = str_replace( ‘*’, ”, $row_item[‘label’] ); } } return $rows; }
I found an answer here i will give this a try.. Confirmation required on email change