- This topic has 9 replies, 2 voices, and was last updated 3 years, 8 months ago by
Tom.
-
AuthorPosts
-
August 31, 2018 at 1:14 pm #665537
JJ Smith
What is happening is I’m pulling a script from another website and it’s loading the share icons which I have turned off, but I have css in the after hook content.
Any ideas?
https://www.cheriedoyen.com/the-wholeness-movement-womens-retreat/
Thanks,
JJAugust 31, 2018 at 6:03 pm #665649Tom
Lead DeveloperLead DeveloperHi there,
I’m not too sure what you mean. Are you wanting to remove those social icons with CSS?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentAugust 31, 2018 at 6:12 pm #665651JJ Smith
I don’t know why they are showing up. I can’t get rid of them, lol.
August 31, 2018 at 6:21 pm #665655Tom
Lead DeveloperLead DeveloperSomething is inserting it into the content area. It doesn’t look related to the iframes. Perhaps a plugin you’re using?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentAugust 31, 2018 at 6:26 pm #665659JJ Smith
I tried everything I can think of. This only does it on that page with javascript.
September 1, 2018 at 9:00 am #666055Tom
Lead DeveloperLead DeveloperIt doesn’t look like it’s being added with javascript. It looks like it’s being filtered into the content, which is common for social sharing plugin.
Have you disabled all plugins to test?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentSeptember 1, 2018 at 10:26 am #666108JJ Smith
When I remove it from the GP hook the error goes away, but I need it to work just in the pages and posts which I control.
The post that is created just has a line of javascript pulling the page in and everything else is shut down.
September 1, 2018 at 7:43 pm #666316Tom
Lead DeveloperLead DeveloperWhen you remove your iframe from GP Hooks the social icons go away?
If that’s the case they must be coming from the iframe itself.
It’s super hard for me to debug unfortunately, as I don’t know what the iframe is pulling into the page. Do the icons exist on the site being added inside the iframe?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentSeptember 2, 2018 at 6:59 am #666589JJ Smith
I have the hook set global instead of page by page.
No one seems to have an answer and either do I, lol.
September 2, 2018 at 9:04 am #666738Tom
Lead DeveloperLead DeveloperSo when you disable the hook, the icons go away?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.