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://wordpress.org/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
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.
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
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 4 years, 11 months ago by
gelform.
-
This reply was modified 4 years, 11 months ago by
gelform.
-
This reply was modified 4 years, 11 months ago by
gelform.
Oh, you are right! I didn’t notice them.
Now the problem is solved.
Thanks 🙂