data questa funzione
Codice PHP:
function shortcode_tweets( $atts, $content = null) { extract(shortcode_atts(array( 'username' => 'gapdifferent', 'count' => '3', ), $atts)); return '<ul id="twitter_update_list">[*]Oops, Twitter non è disponibile al momento[/list]<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script> <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/'.$username.'.json?callback=twitterCallback2&count='.$count.'"></script>'; } add_shortcode('tweets', 'shortcode_tweets');
se la inserisco nel file functions.php come richiamo poi questa funzione nelle altre pagine così da visualizzare i miei ultimi post?
grazie.