Hi @chris2891417
Thank you for using the Super Web Share plugin! You can use the class superwebshare_trigger to trigger the share button from your custom buttons.
For more information, please refer to the below link as it includes the steps to guide you through:
https://wordpress.org/support/topic/how-do-you-align-the-super-share-button/#post-18094380
Please note that this functionality will works if the button is added within the post or page content. Support for triggering the class outside the content is currently in work in progress state and will be available in the next release.
Thanks for the prompt reply.
Adding the superwebshare_trigger class to my custom button works great!
However, is there a way I can customize the “sharing text” that will work on custom buttons?
Additionally, if I could choose the share options displayed on the Windows popup, that would be great.
It’s good to hear that the class helped to trigger the action based on your preference.
However, is there a way I can customize the “sharing text” that will work on custom buttons?
I’m not entirely sure I understand this fully. Could you please share more details along with a screenshot? That would be very helpful.
If you’re referring to the text displayed on social media when sharing, those details are typically taken from the meta tags in your site’s source code. Using an SEO plugin like Yoast SEO can help you customize the text for social media sharing.
Additionally, if I could choose the share options displayed on the Windows popup, that would be great.
All fallback social media profiles, except WhatsApp (as it needs to open in a new tab or within the application) within the fallback modal window we provided, are opening in a new window popup as you described.
Thanks for the screenshot. It seems like that “Sharing text” seems to be from the browser added one or from the meta tag (like Open graph meta tag or the title tag) on the page (in case if the browser is not adding it). We can confirm that its not added by our plugin code.