• Resolved Alessio

    (@alexmes)


    Hi, I just found out that on my social link page appears a HUGE cookie banner by CookieYes that it’s installed on my website. Is this alert from your plugin?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author gelform

    (@gelform)

    Hey, there!

    Yikes! That’s nothing to do with the Social Link Pages plugin. I see you have the CookieYes plugin installed on your site:
    https://www.ads-software.com/plugins/cookie-law-info/

    I’ll do some testing and see if I can get it to disable on the Social Link Pages.

    Thanks!

    Corey

    Thread Starter Alessio

    (@alexmes)

    Oh, you are right! I haven’t reconsigned the cookie plugin.
    Btw, I don’t understand why it looks so strange just on the Social Link page.

    Plugin Author gelform

    (@gelform)

    Morning!

    Add this code to your functions.php, and it will prevent the cookie code from being rendered on Link pages:

    add_action(
      'social_link_pages_page_render',
      function ($page_data) {
        add_filter(
          'cli_show_cookie_bar_only_on_selected_pages', 
          function ($html, $slug) {
            return '';
          }, 
          10, 
          2
        );
      }
    );

    To answer your question: it looks strange on the Link page because we strip out all styles enqueued by other plugins. So the html from the plugin is being added, but not the styles.

    Please let me know if that doesn’t work for you.

    Thanks!

    Corey

    Thread Starter Alessio

    (@alexmes)

    I get this error when I enter this code: https://u.pcloud.link/publink/show?code=XZ1bJnXZ0gaFIKVTVzQE0dR6B2QHjXIvXgDX

    By the way, thanks for your help!

    Plugin Author gelform

    (@gelform)

    Hey, there!

    All of these:
    & # 0 3 9 ;
    Should be single quotes i.e. (‘).

    Replace those, and you should be set.

    Corey

    • This reply was modified 3 years, 6 months ago by gelform.
    • This reply was modified 3 years, 6 months ago by gelform.
    • This reply was modified 3 years, 6 months ago by gelform.
    Thread Starter Alessio

    (@alexmes)

    Oh, you are right! I didn’t notice them.
    Now the problem is solved.
    Thanks ??

    Plugin Author gelform

    (@gelform)

    Great!

    Corey

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CookieYes’ is closed to new replies.