How to change the placeholders for Social Widgets

Available for Complianz 3.1 +

Aert

Aert

Junior Developer & Support

Categories

Most Popular Articles

Subscribe to our newsletter

    For EU Subscribers | Privacy Statement
    For USA Subcribers | Privacy Statement

  • This field is for validation purposes and should be left unchanged.

The default placeholder for social widgets and other iFrames is a single image in 3.0.10 and under. For 3.1 onwards we will split this into dedicated placeholders for the most popular socials widgets, like Facebook, Instagram, Twitter etc. The default dedicated placeholder for Instagram looks like:

NB. The button which states: “Click here to accept all cookies” is missing, but will be added as an overlay when active.

Adding your own style?

Maybe you want to match the style to your Instagram account, or you website’s style. You will be able to change the specific Instagram (or any other) placeholder to your liking. We will explain how.

Adding your own placeholder with (s)FTP

For the following you will need access to you server, via (s)FTP or a File Manager with your hosting company. These are the steps:

1. We have added a filter which can override the default placeholder when you add a folder to the root of your theme’s folder. The folder should be named:

for Free: complianz-gdpr
for Premium: complianz-gdpr-premium

added to your theme’s folder it will look like this:

domain/wp-content/themes/your-theme-folder/complianz-gdpr or
domain/wp-content/themes/your-theme-folder/complianz-gdpr-premium

2. Now you can add the placeholder you would like to override the default placeholder.

For the default placeholder, you would use ‘placeholder.jpg’. For the individual placeholder you should use ‘placeholder-service.jpg’, for example:

domain/wp-content/themes/your-theme-folder/complianz-gdpr/placeholder-instagram.jpg

3. Check to see if the placeholder has changed correctly. Please make sure the “Accept All Cookies” button is clearly visible.

Release notice

The individual placeholders are available from 3.1 and up (coming soon). The default placeholder is already in place. For premium users we are working on a simpler way to change the placeholders, without the need of (s)FTP. For questions, please log a support ticket.

© Copyright - Complianz 2019
×

Complianz Privacy Suite 3.1 is live!

See our new features and available documentation. Read more