Title: Changing consent shortcode
Last modified: May 23, 2018

---

# Changing consent shortcode

 *  Resolved [Dan14](https://wordpress.org/support/users/dan14/)
 * (@dan14)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/changing-consent-shortcode/)
 * I saw that you provided the shortcode for showing he full cookie deceleration,
   whats there shortcode for displaying just the changing / withdrawing the consent
   part? IF there isnt a shortcode for it how can I replicate the changing / withdrawing
   the consent part without the shortcode because it gives the full cookie deceleration
   and I just want to use the change the consent part in different pages?
 * Thanks in advance.

Viewing 1 replies (of 1 total)

 *  Plugin Author [cookiebot](https://wordpress.org/support/users/cookiebot/)
 * (@cookiebot)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/changing-consent-shortcode/#post-10317479)
 * Hi [@dan14](https://wordpress.org/support/users/dan14/),
 * If you want to implement the “Change your consent” and “Revoke your consent” 
   functionality manually, then you can use the Cookiebot API.
 * Here is an example:
 *     ```
       <a href="javascript: Cookiebot.renew()">Change your consent</a>
       <a href="javascript: Cookiebot.withdraw()">Revoke your consent</a>
       ```
   
 * The uc.js file needs to be present on the page for this functionality to work.
 * See also: [How can the user change or withdraw a cookie consent?](https://support.cookiebot.com/hc/en-us/articles/360003798814-How-can-the-user-change-or-withdraw-a-cookie-consent-)
    -  This reply was modified 7 years, 11 months ago by [cookiebot](https://wordpress.org/support/users/cookiebot/).

Viewing 1 replies (of 1 total)

The topic ‘Changing consent shortcode’ is closed to new replies.

 * ![](https://ps.w.org/cookiebot/assets/icon.svg?rev=3200631)
 * [Cookiebot by Usercentrics - Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode](https://wordpress.org/plugins/cookiebot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookiebot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookiebot/)
 * [Active Topics](https://wordpress.org/support/plugin/cookiebot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookiebot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookiebot/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [cookiebot](https://wordpress.org/support/users/cookiebot/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/changing-consent-shortcode/#post-10317479)
 * Status: resolved