Twitter's share ignores my data-url and data-text


I’m trying to install twitter buttons with another style, but I have problems with the url and title.
My code is as follows:



When your code has been run through PHP, what’s the HTML that’s produced?


You mean this?



What happens if you remove the onclick and let the Twitter for websites framework control the opening of the window instead? I think to accomplish it with an onclick like you’re trying to do, you’d have to parameterize your data as part of the HREF rather than using HTML attributes on the A tag.


I’m just using another button style, like to be exact.