pkbonzer
Forum Replies Created
-
Hi guys,
Any help please?
Didn’t any one face such issue?
Hi Jeff,
Thank you for immediate reply.So, can there be any solution for it? Any hack in a code? Or can we override some function in functions.php?
OR there is no solution for replacement of unavailable variables in custom registration email with empty string (“”) instead of ‘site title’? π
So, is it a case, if we customized Registration form (without using any plugin) in wordpress, it will happen?
Is this default in wordpress?
Or is it due to some customization of email modules for ‘Theme My login’ Plugin?Your help is most appreciated.
Please help, It will be very useful.Thanks.
Forum: Fixing WordPress
In reply to: Edit "Site Admin" text in meta widgetHi guys,
In Widget area there is Meta widget. And it displays links like ‘Site Admin’, ‘Register’, ‘Log in’ etc. I just want to change label of these links.(Ex. I want to replace/rename ‘Site Admin’ label to ‘My Profile’.) I have spent my lot of time for searching this. I wondered that I was not able to find any WordPress plugin to do that, no posts links etc. immediately.
But finally, after long time search I found some solution on following link:-
Changing Meta widget Register to SignupI hope, it might be helpful to others.
In my case, I want to display label according to user role. If user is ‘Subscriber’ then he should see link with label ‘My Profile’ and if user is with roles like ‘Administrator’, ‘Editor’ etc, then he should see link with label ‘Site Admin’.
So I did some changes in code and put it in functions.php of my theme as:function change_register($link) { global $current_user; $user = $current_user; if ( isset( $user->roles ) && is_array( $user->roles ) ) { //check for Subscriber if ( in_array( 'subscriber', $user->roles ) ) { $link = str_replace("Site Admin", "My Profile", $link); } } return $link; } add_filter('register', 'change_register');Thanks & Regards.
Hello Kevin,
Thank You for quick response and clear explanation. So, this plugin is for applying capability to specific role.So now, I have to do some code in functions.php or wherever require and bind custom capability to it there. And From plugin, I am able to apply that capability to any role.
I’m glad it helped. π
Hi,
let us check this,
https://wordpress.org/support/topic/menu-visibility-1
I am using wordpress 4.5 with Ultimate Members 1.3.49
I have used solution as described in link and it works for me.I am facing same problem. I am able to check ‘Members’ and ‘Admin’ check box from Menu Item, but wp-admin saves only one of them.
Please help.
For this,
How to remove Logout,Register, Account link from Menus if user is logged in?
I think, I have messed up ‘Ultimate Plugin settings’ and so previously, I was not able to see ‘Menu Um Options in Menus’. But, after reinstalled plugin OR Resetting All settings to default, I was able to see ‘Menu Um Options in Menus’.Hi Champ,
Thanks for quick reply.
I have checked Menu UM Options, when I had posted above issue. But I was not able to see any Menu Um Options in Menus.
I am using WordPress 4.5 version.But now, I have reinstalled Ultimate Members plugin and check for Menu UM options with default settings (UM Default setting just after install). And now, I am able to see ‘UltimateMember Menu Settings’ for each Menu item in Menu Section.
But now, I am facing new issue with ‘UltimateMember Menu Settings’. I have Menu Item as ‘Logout’ and I want this link should be displayed in front end Menu if User (with any role Member/Admin) is logged in.
So, as per settings in Menus >> Menu Item, I have selected ‘Logged In Users’ option and under ‘Select the member roles that can see this link’ I want to select both roles ‘Members’ and ‘Admin’, but it does not allow me to save both roles. Though I have ticked ‘Members’ and ‘Admin’ checkboxes and saved menu, but it will save only one of them.
Due to this, if ‘Admin’ option get saved, in menus in front end, I am able to see Logout link for ‘Admin’ user who logged in and if Member is Logged in, then he is not able to see Logout link in front end.Is there any setting in plugin that restricting me to save Menu item for both users ‘Members’ and ‘Admin’?? How to Save both roles for one Menu Item?
Please Help.