Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to Paid Memberships Pro.

    You can remove the Join Now button with the following code recipe:

    https://gist.github.com/ipokkel/4f799ddc3fbce0d709cffbc153291b0b

    Alternatively, you don’t need to unset the register URL in the code but rather change unset( $links['register'] ); to $links['register'] = "https://site.com/my-custom-url" to specify a custom link.

    You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

    If you already have a customizations plugin, you can add this recipe to your existing plugin file. Please be careful not to copy the opening ?php tag as it will trigger a fatal error. Here’s a helpful article on How to Copy and Paste Custom PHP Recipes.

    Thread Starter eagle4web

    (@eagle4web)

    Thank you for the solution.

    However, I discovered that the Log-out button redirects to WordPress default login page instead of the Paid Membership Pro login page, this is not cool. See image: https://prnt.sc/0LyWyeKRKKVz

    How can I fix this so that when someone clicks on Log Out button, it will be redirected to Paid Membership Pro login page instead of the default WordPress login page?

    Thank you once again.

    • This reply was modified 8 months, 3 weeks ago by eagle4web.
    Plugin Support Jarryd Long

    (@jarryd-long)

    You can redirect users on logout to a specific URL with the following code recipe:

    add_action(‘wp_logout’,’ps_redirect_after_logout’);
    function ps_redirect_after_logout(){
    wp_redirect( ‘Your Website URL/login page name/’ );
    exit();
    }

    Be sure to change Your Website URL/login page name/ to your login page URL.

    Plugin Support Jarryd Long

    (@jarryd-long)

    Because there have not been any recent updates to this topic, we will be changing the status to resolved.

    If you’re enjoying Paid Memberships Pro, would you mind rating it 5-stars to help spread the word? https://www.ads-software.com/support/plugin/paid-memberships-pro/reviews/

    Hi,
    I have the same problem, I need to remove the Join now button, but the suggested code doesn’t work, unfortunately.
    Please be so kind and add a cless to this link to avoid this extreme process and remove the button with simple css.
    Thank you very much!

    Plugin Support Kim White

    (@kimwhite)

    Hello,

    The join now link only will appear if you have checked the the “Anyone can register” box on the WordPress general settings. This is not required if you are using PMPro for signups.

    @webreneszansz, if you require help with this, please start a new thread. Thanks!

    All the Best,
    Kim White
    Support Engineer at Paid Memberships Pro

    Webfolio Webdesign

    (@webreneszansz)

    Thank you

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