Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   [SOLVED] Problem adding tweet button (http://forum.bytesforall.com/showthread.php?t=14510)

ragdoll Jun 6, 2011 04:55 AM

[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>
I pasted it in the LOOP area, so as to show it both on the home page, at the end of each excerpt, and after each post, before the footer.
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?

juggledad Jun 6, 2011 05:57 AM

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)

ragdoll Jun 7, 2011 03:35 AM

Sorry.
I have Wordpress 3.1 and Atahualpa 3.6.4.
After installing Atahualpa 3.6.4 I did not install any bugfix.

juggledad Jun 7, 2011 04:08 AM

where did you get this code and where are you trying to put it?

juggledad Jun 7, 2011 04:15 AM

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.

ragdoll Jun 8, 2011 02:48 AM

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 05:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.