[SOLVED] Problem adding tweet button
I'm trying to manually add the code for a tweet button. The code is the following:
Code:
<a href=”http://twitter.com/share” data-text=”<?php the_title(); ?>” data-url=”<?php the_permalink() ?>” data-count=”horizontal” data-via=”FotoComeFare“>Tweet</a><script type=”text/javascript” src=”http://platform.twitter.com/widgets.js”></script> When the button is clicked only the @ mention works. The title is cut to the first word and the permalink isn't even shown. Where am I wrong? |
what version of Atahualpa and WP?
What is the url? do you have all the BUGFIX's for the release applied? (New Versions & Updates forum) |
Sorry.
I have Wordpress 3.1 and Atahualpa 3.6.4. After installing Atahualpa 3.6.4 I did not install any bugfix. |
where did you get this code and where are you trying to put it?
|
if you look at the code you supplied, the double quotes are not real double quotes, the y are styled double quotes and that is what is causing the issue. Never use a word processor to copy code, always use a text editor.
|
Thank you, it was double quotes fault. I never use word processors to edit code. However, this time I used an online HTML editor which substitutes some characters even in the source view.
Thank you again. |
All times are GMT -6. The time now is 04:11 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.