• Home
  • Get help
  • Ask a question

#88 – Social Share duplicated

Posted in ‘weeblrAMP’
This is a public ticket. Everybody will be able to see its contents. Only enter usernames, passwords or any other sensitive information in the Private information field.
Tuesday, 22 May 2018 07:45 UTC
dragonfroid
 Hello,
I am French, sorry for my English.
First of all, thank you for this plugin that I love!
I have a problem: I activated "social share" in the plugin, I have 5 icons of shares (I removed whatsapp), they are very good. By cons, below (at the bottom of my articles) I have 6 ugly texts that appear in addition (Facebook, Stumbleupon, Blogger, Tumblr, Twitter, Google+), they are displayed in duplicate and more! I would like to remove them but I can not! Thank you :)

Link:

https://desgeeksetdeslettres.com/pourquoi/5-arguments-en-faveur-de-la-musique-sur-votre-ordinateur/amp
Tuesday, 22 May 2018 08:55 UTC
wb_weeblrpress
Hi

These links are already in your standard page. I suspect you add them through a plugin? or through some custom code in your theme?

Once we know how they are added, we can determine the simplest way to remove them. It can be done either through a filter, or maybe just with CSS.

Best regards


 
Tuesday, 22 May 2018 09:01 UTC
dragonfroid
Thank you for your reply.

I thought and I think they come from the plugin wprichsnippets.com or maybe the plugin SCHEMA that I use too.

By cons I do not know at all how to apply the methods you mention me ...

Sorry....
Tuesday, 22 May 2018 09:03 UTC
wb_weeblrpress
Hi again,

If they are added with a plugin you can simply disable that plugin on AMP pages:

- weeblrAMP -> Settings -> Comments and plugins -> Plugins management: check the box next to the plugin that should be disabled on AMP pages, such as your social icons plugin:



An alternative is to hide the buttons with CSS:

- weeblrAMP -> Customize -> Cleanup -> Remove if CSS classes

In that input field, add a line with et_social_inline



I have found that your buttons are wrapped inside an et_social_inline class, so adding this class name in that field will cause anything on AMP pages that has that CSS class to be removed.

Disabling the plugin is probably the simplest though.

Best regards


 
Tuesday, 22 May 2018 09:07 UTC
dragonfroid
Oh no ! I found: they come from the MONARCH plugin that I use to display my social networks.

I have however disabled the plugin "monarch" in the settings of WeeblrAMP .....

(screenshot)
Tuesday, 22 May 2018 09:11 UTC
dragonfroid
Great
Your 2nd option worked perfectly.
You are fantastic!
Thank you very much.
Tuesday, 22 May 2018 09:13 UTC
wb_weeblrpress
Hi

Are you sure about that? If you totally disable that plugin for a minute (I mean from the WordPress plugins page, not from weeblrAMP), does the buttons disappear both from the standard pages and the AMP pages?

Some plugins we are unable to disable, that's why we also have the CSS clean-up feature, but it's usually more efficient to disable the plugin and I wonder why it would not work for that plugin.

Best regards

 
Tuesday, 22 May 2018 09:14 UTC
wb_weeblrpress
Hi again

By the way, in case this happens again, using the clean-up functions is described on this page of the documentation.

Best regards
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.