Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2018-06-03 10:31:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,395
Website GitHub Mastodon Twitter

Re: Hand-code social media share buttons

Hi singaz

It will be much easier to use the oui_cookies plugin:

<txp:oui_cookie name="accept_cookies" values="yes" />
<txp:oui_if_cookie name="accept_cookies">
<txp:hide>your normal google analytics code</txp:hide>
<txp:else />
<a rel="nofollow" href="?accept_cookies=yes">Accept cookies to continue</a>
</txp:oui_if_cookie>

Amend to your liking.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#17 2018-06-05 01:43:52

singaz
Member
Registered: 2017-03-12
Posts: 150

Re: Hand-code social media share buttons

Hi,

Thanks, kolak!

It is working.


Sorry my horror English. I’m learning textpattern, I’m learning English

Offline

Board footer

Powered by FluxBB