Plugin messes with social sharing buttons
-
Hello and thank you for this awesome plugin! I have a problem when using Auto Show as it appears that Secondary Title is messing with the social sharing buttons I use on my website.
More specifically, whenever Secondary Title is enabled the URL gets replaced with part of the title format, namely “brspan class=’secondary-title’ style=’color:” (that’s what appears instead of the page URL when trying to share the article on social media using the buttons on the website).
The code for one of the share buttons is:
// Get current page URL $bm_current_url = urlencode( get_permalink() ); // Construct sharing URL without using any script $twitter_url = 'https://twitter.com/intent/tweet?via=9to5linux&hashtags=Linux&text=' . $bm_post_title . '&url=' . $bm_current_url;
I can share more code if necessary!
I’m using the Bam Pro theme. Is there a way to fix this issue? If I disable Secondary Title everything works normally, so I guess it injects some code that messes up existing code, but I have no idea where to look.
Thank you!
The page I need help with: [log in to see the link]
- The topic ‘Plugin messes with social sharing buttons’ is closed to new replies.