How To Change The Donate And Discuss Button Links In Your WordPress Site

How To Change The Donate And Discuss Button Links In Your WordPress Site

It's not necessary to update the Donate & Disccuss buttons at the top of your WordPress site but many local parties choose to do so. It's important to understand where the links direct visitors to if you choose not to update them.
  1. The Discuss button will direct visitors to the GPEW Facebook page.
  2. The Donate button will direct visitors to a GPEW Action Network donation page.
Most local parties, or groups, would prefer any donations to be made to them rather than the national party and we've made it easy to update this donation link should you need to. You'll just need to have a donation page set up already.

How To Edit The Donate Button

1. From your WordPress Dashboard use the menu on the left of the page to select Appearance, followed by Customise.



2. On the following page you'll see a new menu on the left of the screen. Select Site Identity.



3. In the Site Identity options that appear just go the section labelled Donate link and add the address of the donation page you want to link to.



4. One you'd added the link just head to the top of the screen and click on the button labelled Publish, and your new donation link will be live.



How To Edit The Discuss Button

Whilst editing any page there are two ways to access the Global Settings to update the Discuss link. You can bypass steps 1 & 2 below by using the keyboard shortcut:
  1. CTRL+U on Windows.
  2. Command+U on Mac.
1. With a page open for editing, go to the menu in the top left of the screen labelled Currently Editing Page. Click on the down icon to open the menu.



2. From the menu that appears click on Global Settings.



3. On the Global Settings window which appears click on JavaScript.



4. Click into the text box that appears and enter the following.
  1. jQuery("div.wrapper-gp-branding-strip div.container a.right-button.bg-gpyellow").attr('href','https://www.facebook.com/GreenPartyNW/');
Just replace the link with the page you want to link to.
Once you're done click Save and the Discuss button will link to your chosen Discussion page.



If you need to hide the Join button, you can find the instructions in this guide: How To Hide The Join Button From Your WordPress Site.

    • Related Articles

    • How To Hide The Join Button From Your WordPress Site

      The local party WordPress theme includes three buttons in the top right hand corner. Discuss, Donate, and Join. We don't recommend hiding the Join button for local and regional party sites, but we recognise that the wording may cause confusion when ...
    • Useful Links For Action Network Emails & Your WordPress Site

      There are a lot of places online which can be signposted to your Members and Supporters. Here we've gathered some links which may be useful when creating emails in Action Network, or when designing your WordPress site. Please note, the Digital Team ...
    • How To Amend The Imprint Text On Your WordPress Site

      What Is An Imprint And Do I Need One? An imprint is intended to inform the public who is responsible for political campaign material to aid transparency. It's made up of the name and address of the campaigner, along with who they're campaigning on ...
    • Wordpress: Action Network Widgets

      There are a number of modules that connect to ActionNetwork that you can use on your GPEW-issued Wordpress website: Upcoming Events List Recent Actions List Single Action (embedded) Sign Up form Here's how to add and use each of them: Upcoming Events ...
    • How To Add Users To Your WordPress Site

      What Do The Different User Types Mean? When adding a user to your WordPress site there are a few different roles that can be assigned to them. Picking the right one ensures that they have the access they need. Administrator: This is the most powerful ...