Get rid of extra marks on apostrope

Posted in: Newspaper
Post count: 10

How do I get rid of the HTML apostrophe seen below when tweeting? It only shows up there and tweets go out looking like that and make me look bad.

Also Google+ is a waste of time. Is there any way to add LinkedIn to my social bar instead of Google+?

  • This topic was modified 11 years by kjohnson.
  • This topic was modified 11 years by kjohnson.
Post count: 9544

Your Google+ shares will be appearing in Google SERPS once you “verify” your G+ “Page” is aligned with a specific website; so not entirely a waste. Much like “tweets” will start to appear in sidebar for relational trending content, so will G+ “shares” (+1s).

Post count: 6600

Hi,

I’ve tested this on my side and didn’t had this issue: http://screencast.com/t/vyuawsCif which in your case it might come from your server configuration.
Please try the solution provided in the link below and add this line to the twitter sharer, like this: http://screencast.com/t/9Q7iYh3QhyF

http://stackoverflow.com/questions/10771728/encoding-get-the-title-for-twitter-share-url

This is the line you need to add there, replace the existing urlencode() function urlencode(html_entity_decode($this->title, ENT_COMPAT, 'UTF-8'))

If this dose not help please also try without using any plugins, leave just the VC plugin active and test again, make sure you test it by creating a new post with apostrophes in title.

Thanks

Post count: 10

Thank you, Lucian. This looks like a potential fix, but I can’t follow the breadcrumbs from the screenshot you shared (http://screencast.com/t/9Q7iYh3QhyF) beyond wp-includes.

I don’t see a module folder or td_module_blog.php. when I follow the breadcrumbs here I can’t find this file name http://screencast.com/t/9Q7iYh3QhyF

Post count: 7909

Hi,

This file is not in WP-Includes folder from WordPress, you can find it in theme folder(Newspaper) maybe this screenshot will help you more – http://screencast.com/t/2x95WYQLB2V

Thanks!

Post count: 10

Sorry about that. You’re right, should’ve looked closer. It worked on desktop but not on mobile. Is there a line where I should put this same code for mobile?

  • This reply was modified 11 years by kjohnson.
Post count: 6600

Hi,

There is no mobile version, the code is the same for each viewport. I’ve tested this on mobiles also and its working fine there also. Please make sure that you empty all caches then try again.

Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.