simplesharebuttons
simplesharebuttons copied to clipboard
Twitter title page not displaying...
Hi and thanks for this great plugin.
When I tweet a page, I only have "mysite.com http://mysite.com/mypage". I want the page titre before all that.
Here is an example : http://www.ccilvn.be/agenda/networking/ramada-plaza-liege/
Thanks a lot, Cédric
Hello David,
first of all thanks for a great plugin, but I ran into the same problem. I had to tweak the plugin to make it show the page title in the twitter share. And I like tweaking, but not in plugins since it breaks update-ability.
Kind regards Pascal
Hi both,
iPasqualito, can you please let me know how you achieved this so I can ensure that it is applied for the next update? Ideally, can you please submit a pull request?
Thanks,
David
from line 878:
// format the URL into friendly code
//$twitterShareText = urlencode(html_entity_decode($strPageTitle . ' ' . $arrSettings['ssba_twitter_text'], ENT_COMPAT, 'UTF-8'));
$twitterShareText = urlencode(html_entity_decode('Vacature: ' . get_the_title($post->post_parent) . ' ' . $arrSettings['ssba_twitter_text'], ENT_COMPAT, 'UTF-8'));
It's a bit customized for this specific client so a pull request would not be a good idea... (that, and I'm kind of a newbie here, no clue how to submit one)
cheers Pascal