• Resolved Maria

    (@mariadesignstudio)


    Please help! How do I remove the “Go to my donor dashboard” link after a donor makes a donation? What code would I use to put in my functions.php file? I’m making donations in test mode. See screenshot: https://www.screencast.com/t/jQ8VdlvWEo

    I’ve tested 3 separate donations by different people/email addresses, but the donor dashboard profile combines all three donors. https://www.screencast.com/t/iv9u1BQt17zM
    I want to get rid of the “go to dashboard link”.

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

    (@mrdaro)

    Hi Maria,

    Happy to help.

    1. You can hide the Dashboard link with this CSS code:
    .give-receipt-classic .dashboard-link-container { display: none; }

    The Multi-step and Classic templates as well as the donor dashboard load in an iframe, to make them more resistant to changes made in the theme’s CSS. That’s helpful for avoiding theme conflicts, but makes customizing the style of them a bit more difficult. There are two PHP code snippets in our Snippet library that will help with that process.

    The first is for small changes, and adds some style inline to the donor dashboard or the multi-step donation form: https://github.com/impress-org/givewp-snippet-library/blob/master/form-customizations/css-customizations/style-givewp-iframes.php

    On that one, you modify lines 16-26 with your own CSS.

    The other is for enqueueing your own CSS completely via a custom stylesheet: https://github.com/impress-org/givewp-snippet-library/blob/master/form-customizations/css-customizations/enqueue-style-for-givewp-iframes.php

    In the snippet, you need to replace give-sequoia-template-css with give-classic-template so it applies to the Classic templat

    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.

    2. You probably made all three donations while you were logged into the site. Be sure to log out and clear the browser cookies if you want to do another test donation with a different donor name. You can also use a private browser window.

    Let me know if you have any other questions.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove “Go to my donor dashboard” link’ is closed to new replies.