Support » Plugin: Login With Ajax » Disable Access to WordPress admin section (profile button)

  • Hey,
    I’m using Zeen WordPress theme and your plugin is advertised from the folks who developed the theme.

    I’ve tested the plugin but I want to ask for a way to disable the “Profile” option for logged in users – when they click on their profile on the top right they have option to go to their Profile inside WordPress (backend of WordPress). However, I don’t want that.

    This is the page on my site:

    How can I remove this option for users on my site?

    I’ve tried adding a link inside the Settings > Global redirect but the link is only working upon login and the option to access the backend remains.

    Thank in advance!

    Ivaylo Durmonski

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcus


    Hi Ivaylo,

    In the widget options, you can disable the profile link there, the checkbox on the bottom. With a shortcode, add profile_link=”0″

    Hi where can you find this? I’m also using zeen.

    Or how can you change this url to your own profile page on the frontpage?

    /profile instead of linking to the wp-admin/profile in the backend.

    • This reply was modified 6 months, 2 weeks ago by MEMT-NETWORK.
    Plugin Author Marcus


    The widget for LWA settings, last checkbox – ‘Show profile link?’

    Changing the link url requires some developer experience, you’d need to change the widget theme to modify the profile link, or, if you don’t use BuddyPress, you can also create a function called ‘bp_loggedin_user_link’ which echoes the profile URL you’d like and we’ll call that instead.

    • This reply was modified 6 months, 2 weeks ago by Marcus.

    Hi, I edited this file /login-with-ajax/widget/default/widget_in.php manually to change the profile link.

    By changing below code.

    <a href="<?php echo trailingslashit(get_admin_url()); ?>profile.php"><?php esc_html_e('Profile','login-with-ajax') ?></a><br/>


    <a href=""><?php esc_html_e('Profile','login-with-ajax') ?></a><br/>

    And it works but I’m not sure if it will be broken or anything happen in the future. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.