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:
From 5.5 onward social placeholders can be set in different styles and customized yourself.
NB. The button which states: “Click here to accept all cookies” is missing, but will be added as an overlay when active.
Changing the style in Complianz
In the Complianz settings, you can choose your style for your Social Placeholders. Just see what happens!
Adding your own style?
Maybe you want to match the style to your Instagram account, or your 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 your server, via (s)FTP or a File Manager with your hosting company. These are the steps:
1. We have added a filter that 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
for Premium Multisite: complianz-gdpr-premium-multisite
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
domain/wp-content/themes/your-theme-folder/complianz-gdpr-premium-multisite
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/instagram-minimal.jpg
3. Check to see if the placeholder has changed correctly.
Please make sure the “Accept All Cookies” button is clearly visible.