Wordpress Plugin providing an additional privacy click requirement to load content such as social media streams or single posts.
Keep in mind, that only public content can be embedded via this plugin.
- PHP >= 8.1
- Wordpress >= 6.0
Download the latest release and unzip the contents into the wp-content/plugins/click-load. You can also just use the plugin installer from the Wordpress backend and choose to manually upload a plugin.
The following shortcodes support five different platforms.
Tweets and Timelines can be embedded, using the corresponding tweet link or profile link, e.g.:
[click-load type="post" link="https://twitter.com/ThePracticalDev/status/1345762261969883137"]
[click-load type="timeline" link="https://twitter.com/ThePracticalDev"]
[click-load type="post" link="https://www.facebook.com/thepracticaldev/posts/1707562516086729"]
[click-load type="timeline" link="https://www.facebook.com/thepracticaldev"]
[click-load type="post" link="https://www.instagram.com/p/CF8Dg3PgNn3"]
[click-load type="post" link="https://player.vimeo.com/video/32001208"]
[click-load type="post" link="https://www.youtube.com/embed/ptJAlOSewW8"]
This plugin provides the following additional configuration settings:
- Intro text: Aerves as a note that external content is available here and is displayed above the platform icon.
The placeholders
{{platform}}(for automatically inserting the platform name) and[link] ... [/link](for linking text to the post URL) can be used. - Hint text: Aerves as a note that clicking on it will display the corresponding content and is displayed under the platform icon.
- Confirmation hint: Appears next to the button for permanently displaying external content.
- Loading hint: Appears after a 5-second loading time and indicates that the content may be blocked and can also be accessed directly. The placeholders
{{platform}}(for automatically inserting the platform name) and[link] ... [/link](for linking text to the post URL) can be used. - Privacy hint: Serves as a note on data protection. The placeholders
{{platform}}(for automatically inserting the platform name) and{{link}}(for automatically inserting the privacy policy link) can be used. - Privacy declaration: Privacy page that opens in a new tab when you click on the privacy policy link.
- Privacy link text: Text that is linked to the privacy policy and displayed below the clickable area.
- Height of Twitter timeline: Maximum height of the embedded Twitter timeline. Content can be scrolled within the value specified here.