Title: Theme Integration Tips
Last modified: April 20, 2018

---

# Theme Integration Tips

 *  Resolved [ianmac2](https://wordpress.org/support/users/ianmac2/)
 * (@ianmac2)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/theme-integration-tips/)
 * Looks a promising plugin but I have no idea how to hook this into our Theme. 
   For example we use a custom login page (i.e not the standard WP login form) so
   I’d quite like to know how to get the confirmations integrated? Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * (@fclaussen)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/theme-integration-tips/#post-10202430)
 * Hi [@ianmac2](https://wordpress.org/support/users/ianmac2/),
 * We are currently working on documentation with instructions like this.
 * For now, you need to include checkboxes for your registered consent types.
 * When users register through your custom form, you need to hook your checkboxes
   and save them as a usermeta.
 * The meta key is `gdpr_consents` and the value is the consent id. Like `privacy-
   policy`.
 * I’ll try and push a documentation page with code samples today to help you out.
 *  Thread Starter [ianmac2](https://wordpress.org/support/users/ianmac2/)
 * (@ianmac2)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/theme-integration-tips/#post-10202506)
 * Thanks for the reply I will take a look at our registration form php template–
   we also have pre-existing registered members, can confirmation request be applied
   to those existing users who log in e.g.
 * Given existing User logs in
    And user has no recorded consent Then present dialog
   with policy review and agreement options
 * Thanks – I
 *  Plugin Author [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * (@fclaussen)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/theme-integration-tips/#post-10203039)
 * Hi [@ianmac2](https://wordpress.org/support/users/ianmac2/),
 * This is already the plugin behavior.
 * Whenever a user login we check if a privacy-policy consent is present. If not,
   we present a window asking for consent. Same window that appears if you update
   your privacy policy and request your users to consent to the updated policy.
 *  Thread Starter [ianmac2](https://wordpress.org/support/users/ianmac2/)
 * (@ianmac2)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/theme-integration-tips/#post-10208865)
 * Hi Fernando
 * Thank you! I can now see that when I login I get the Privacy Policy opt-in displayed.
 * However I noticed that when the opt-in screen is displayed the user is still 
   able to access their WP dashboard view and make use of any functionality available.
 * Also it would be nice if the opt-in display on login can be disabled for admins.
 * Best -I
    -  This reply was modified 8 years, 1 month ago by [ianmac2](https://wordpress.org/support/users/ianmac2/).
    -  This reply was modified 8 years, 1 month ago by [ianmac2](https://wordpress.org/support/users/ianmac2/).
 *  Plugin Author [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * (@fclaussen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/theme-integration-tips/#post-10213793)
 * Hi [@ianmac2](https://wordpress.org/support/users/ianmac2/),
    Someone pointed
   out that the admin bar was sitting on top so people could go in. I already fixed
   this and it will be available in the next update.
 * Unfortunately, I can’t disable this for admins. They also need to consent. Admins
   are also protected under this law and we need to make sure everybody gives explicit
   consent.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Theme Integration Tips’ is closed to new replies.

 * ![](https://ps.w.org/gdpr/assets/icon.svg?rev=1837142)
 * [GDPR](https://wordpress.org/plugins/gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/theme-integration-tips/#post-10213793)
 * Status: resolved