• Resolved z14165899

    (@z14165899)


    Hello:
    I have the following issues after setting up Give WP:
    1. I embedded the shortcode of the Donor Dashboard on my website, but there is a Logout button on the bottom left corner as shown in this image. I do not want this button because I have the logout option in a membership plugin. Can someone tell me how to remove the Logout button in the Donor Dashboard?
    2. How to automatically create a WP donor role for each user when they create an account on my website?
    Please help. Thank you and have a nice day.

    Best Regards,

    Chen Zhao

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rick Alday

    (@mrdaro)

    Hi Chen,

    You can use custom CSS to hide that element. Adding custom CSS to the Donor Dashboard requires using a PHP function. You can use this:

    function override_iframe_template_styles_with_inline_styles() {
        wp_add_inline_style(
            'give-styles',
            '
            .give-donor-dashboard-logout { display: none; }
    		
            '
        );
    }
    
    add_action('wp_print_styles', 'override_iframe_template_styles_with_inline_styles', 10);

    If you need assistance implementing custom PHP code on your website we have this guide:
    https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/

    Please note that this code snippet is provided as an example of how you can extend GiveWP with code. It’s up to you to implement and customize to your liking. We cannot provide support for custom code on your website, only the code that we create and distribute.

    Let me know if you have any questions or need additional assistance.

    Plugin Support Rick Alday

    (@mrdaro)

    Sorry, I clicked the submit button before I answered your second question.

    By default, all new donors are given the role of Donor. This can be changed in Donations -> Settings -> Advanced -> Default User Role.

    Plugin Support Rick Alday

    (@mrdaro)

    Hi there,

    Just checking in on this issue.
    Do you still need assistance here?

    If you still need help, reply and we’ll make sure everything is handled.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Several Set Up Issues’ is closed to new replies.