This topic has 8 replies, 2 voices, and was last updated 7 years by Radu.

  • Author
  • #145009
     khanhhoadoan
    Participant

    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.

    #145013
     khanhhoadoan
    Participant

    Hi,

    Please ignore my 2nd question. I found the sidebars option 🙂

    #145045
     Radu
    Moderator

    Hi,

    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 solution
    #145073
     khanhhoadoan
    Participant

    Hi,

    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?

    #145129
     Radu
    Moderator

    Hi,

    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 solution
    #145196
     khanhhoadoan
    Participant

    Hi,

    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.
    #145240
     Radu
    Moderator

    Hi,

    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 solution
    #145264
     khanhhoadoan
    Participant

    Hi,

    ??????????

    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.

    #145343
     Radu
    Moderator

    Hi,

    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
Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?