• Resolved npf Marketing Services

    (@npf-marketing-services)


    Hello,
    I would like to remove the ‘user profile’ link that appears on the User Account page for the Ultimate Member plugin.

    Can anyone help with this?

    Thanks,
    Nige

Viewing 5 replies - 1 through 5 (of 5 total)
  • When I’m on my User Account page, I don’t see any ‘user profile’ links. I do see a ‘View profile’ link, is this the link you are referring to?

    Plugin Support Towhid

    (@cryptex_vinci)

    Hi @npf-marketing-services

    There are 2 ways you can achieve this. Easiest way is inserting below css in Appearance > Customize > Additional CSS

    .um-account-profile-link {
        display: none;
    }

    Second approach is you have to create a child theme and override the account.php template.

    Remove below code from your accunt.php

    <div class="um-account-profile-link">
    <a href="<?php echo esc_url( um_user_profile_url() ); ?>" class="um-link">
    <?php _e( 'View profile', 'ultimate-member' ); ?>
    </a>
    </div>

    Documentation: https://docs.ultimatemember.com/article/1516-templates-map

    Thanks

    Thread Starter npf Marketing Services

    (@npf-marketing-services)

    Thanks both. You are right, I misnamed the link. Asif, the small piece of CSS worked perfectly.

    I have another issue with the plugin and I’m not sure how long it’s been going on. Again, I hope you have some insight.

    The issue is that when someone logs in they are supposed to be directed to the page defined by the “Members page” setting; but what actually happens is they end up back at the Home page and when they try to access the correct page they are just redirected to the home page again.

    I have tested it by temporarily changing the target page and the same thing happens with that, back to home page whenever an attempt to access the target page is made.

    I’ve come up with a workaround by creating an extra hidden page to use as the target and then everything works fine.

    It’s not ideal and I’d like to find an answer if possible.

    @npf-marketing-services

    What are the Content Restriction settings for the Members page? It sounds like the page is being content restricted so that if they don’t have the correct access it redirects them to the home page.

    If you still need help with this, you should start a new thread so others in the support forums will see this question.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @npf-marketing-services

    Please create a new topic as the original topic has been resolved.

    Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove ‘user profile’ link from the Account page’ is closed to new replies.