WordPress.org

Ready to get started?Download WordPress

Forums

UK Cookie Consent
[resolved] 'Info page permalink' settings should also be able to point to outside domain (2 posts)

  1. Pawel Marzec
    Member
    Posted 12 months ago #

    I use UK Cookie Consent version 1.4.2 and I have use multisite version of WordPress with few different subdomains. I would like have single cookies policy information page, I do not want to have o copy on every subdomain. Unfortunately, when I use 'http//sub.maindomain.com/policy.html' value in 'Info page permalink' settings then I get href 'http://currentdomain.com/http//sub.maindomain.com/policy.html' which is not what I expected. Please, do help.

    http://wordpress.org/extend/plugins/uk-cookie-consent/

  2. Arkady Gasiorowski
    Member
    Posted 12 months ago #

    You must go to widget setting and editing code in
    uk-cookie-consent/uk-cookie-consent.php

    Find this text:
    $content = sprintf( '<div id="catapult-cookie-bar">%s<button id="catapultCookie" tabindex=1 onclick="catapultAcceptCookies();">%s</button><a tabindex=1 href="%s">%s</a></div>', htmlspecialchars( $current_text ), htmlspecialchars( $accept_text ), home_url( $link_text ), htmlspecialchars( $more_text ) );

    and change code:
    <a tabindex=1 href="%s">%s</a>
    to:
    <a tabindex=1 href="http://your_site">more info</a>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.