-
Author
-
November 22, 2016 at 14:59 #145009khanhhoadoanParticipant
Hi,
I have 2 questions
1. As title, how can I keep users off wp-admin when they login with wrong password/username and instead just display error message? I searched and tried to deactivate plugins to see if there is any conflict but there is none. This seems to happen not all the time but most of the time. When it does not direct to wp-admin, I tried to click on ‘forget password’ link and it redirect me to 404 page not found. How can I fix it altogether?
2. Is there anyway I can set different widget on sidebar for different page? Let say I want Forum, Member activities to appear on the side bar for logged in member but for blog page, I want to display recent post, popular post, …
Thanks.
November 22, 2016 at 15:34 #145013khanhhoadoanParticipantHi,
Please ignore my 2nd question. I found the sidebars option 🙂
November 22, 2016 at 20:24 #145045RaduModeratorHi,
Maybe a code from your child theme /functions.php ?
You can keep off users from wp-admin using this kinf of plugins : https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 23, 2016 at 05:05 #145073khanhhoadoanParticipantHi,
Thank you for your prompt reply. However, I don’t think it is code from my child theme function.php, since below code is the only thing that I ever added in
//Custom email sender.
add_filter(‘wp_mail_from’, ‘new_mail_from’);
add_filter(‘wp_mail_from_name’, ‘new_mail_from_name’);function new_mail_from($old)
{
return ‘contact@bakesell.com’;
}function new_mail_from_name($old)
{
return ‘Bakesell’;
}I tried to delete and test with the login again and it still happening. Is there anyway I can fix it instead of using plugin?
Also, what about the 404 page not found issue?
November 23, 2016 at 19:11 #145129RaduModeratorHi,
The code that you have provided has nothing to do with your problem!
Try to re-save permalinks from wp-admin -> settings -> permalinks and also check if you have woocommerce active if not activate it and check again.
Do you have the latest version of WordPress ? If not update those
Do you have the latest version of Kleo theme ? If not update those
Do you have the latest version of plugins installed ? If not update those
If you de-activate all plugins excepting BuddyPress/bbPress it works? if yes enable back plugins one by one to identify what causes this.
If you de-activate the child theme it works ?
Let me know
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 24, 2016 at 12:23 #145196khanhhoadoanParticipantHi,
How can I solve the 404 page not found when click on lost password? I attached the screenshot below for your reference.
Latest version of WordPress, kleo theme and all plugins are installed, yet it still happens. What bother me the most is that it does not happen all the time but sometimes and I dont know the reason being.I tried to deactivate all plugin except bbpress/buddypress, it still happens.
I havent tried deactivate child theme and not sure how to do it. As I read in one of the topic you replied, I need to export data as back up? When I activate the parent theme, do I need to import this data back or anything?Thanks
Attachments:
You must be logged in to view attached files.November 24, 2016 at 19:35 #145240RaduModeratorHi,
If you install woocommerce this will work ?
Let me know
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 25, 2016 at 03:59 #145264khanhhoadoanParticipantHi,
??????????
I dont understand your advice at all. I have all plugins come together with the theme installed and activated, including woocommerce.
You haven’t helped answering my questions even when I keep asking again and again.
November 25, 2016 at 18:07 #145343RaduModeratorHi,
That lost-password page it’s part of woo commerce take a look at the next URL : https://wordpress.org/support/topic/lost-password-endpoint-shortcode-not-working/
If you cannot figure out give to me admin credentials t take a look
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.