Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

[SOLVED] Problem adding tweet button


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 6, 2011, 04:55 AM
ragdoll
 
27 posts · Oct 2010
[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?
  #2  
Old Jun 6, 2011, 05:57 AM
juggledad's Avatar
juggledad
 
22,159 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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)
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #3  
Old Jun 7, 2011, 03:35 AM
ragdoll
 
27 posts · Oct 2010
Sorry.
I have Wordpress 3.1 and Atahualpa 3.6.4.
After installing Atahualpa 3.6.4 I did not install any bugfix.
  #4  
Old Jun 7, 2011, 04:08 AM
juggledad's Avatar
juggledad
 
22,159 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
where did you get this code and where are you trying to put it?
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #5  
Old Jun 7, 2011, 04:15 AM
juggledad's Avatar
juggledad
 
22,159 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #6  
Old Jun 8, 2011, 02:48 AM
ragdoll
 
27 posts · Oct 2010
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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] fb share/tweet in header totalwise Header configuration & styling 6 Jun 5, 2011 10:21 AM
[SOLVED] LIKE button problem upalm Plugins & Atahualpa 1 Mar 22, 2011 11:12 PM
Atahualpa and WP Tweet Button and wp-print and wp-email Alcatraz Atahualpa 3 Wordpress theme 2 Nov 26, 2010 11:59 AM
adding a submit button to the header search box eyelight Header configuration & styling 2 Aug 2, 2010 06:16 AM


All times are GMT -6. The time now is 07:37 PM.


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