1
2
3
4
5
6
7 //change username 'ashleycam3ron' to your user
//change #twitter to the element you want to replace
<script>
$.getJSON("http://api.twitter.com/1/statuses/user_timeline/ashleycam3ron.json?count=1&include_rts=1&callback=?", function(data) {
$("#twitter").html(data[0].text);
});
</script>
wp_nav_menu()
December 8, 2012/ Updated: December 8, 2012