| name | language | licence |
|---|---|---|
| comments-popup | PHP | Other |
| index3 | PHP | Other |
| Template : no-sidebar | PHP | Other |
| comments | PHP | Other |
| Attachment | PHP | Other |
| The Super-Awesome Button | Other | Other |
| Untitled Snippet | PHP | Other |
| Untitled Snippet | HTML | Other |
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >
language: PHP
licence: Other
Untitled Snippet
options: view full snippet • send to code collector
<?php
// Your twitter username.
$username = "TwitterUsername";
// Prefix - some text you want displayed before your latest tweet.
// (HTML is OK, but be sure to escape quotes with backslashes: for example href=\"link.html\")
$prefix = "<h2>My last Tweet</h2>";
// Suffix - some text you want display after your latest tweet. (Same rules as the prefix.)
$suffix = "";
$feed = "http://search.twitter.com/search.atom?q=from:" . $username . "&rpp=1";
function parse_feed($feed) {



library
buttons (3)
wp (93)