Return array instead of HTML
-
This plugin is very nice, but I’m hoping to use it in a slightly different way. Specifically, I want to:
- Use it to get an array (or object) with tweet data, so that I can use data from a single tweet in several places on the page
- Take advantage of its caching features
Specifically, I’d like to use the image from a tweet for the background of one div somewhere on the page, and then put the content of the tweet in a second div elsewhere. If I could get the template tag to return an array, then I could just use that.
Unfortunately I don’t have a ton of experience with Classes, so I’m running into a bit of a wall trying to create my own template tag to do this, so any help would be appreciated!
Thanks!
- The topic ‘Return array instead of HTML’ is closed to new replies.