• About Me
  • Skills
  • Education
  • Employment
  • Blog
  • Contact
  • Open Source
    • WordPress
      • 3B Meteo Plugin
      • Facebook Like and Send
      • Google Monthly XML Sitemap
      • Google News Sitemap
      • Google Plus Comments
      • Google Plus One Button
      • I don’t endorse Google
      • I don’t endorse Wikipedia
      • I don’t endorse WIkipedia
      • Ottimizzare WordPress per renderlo più veloce
      • Rich Category Editor
      • Save To Google Drive
      • Sociable Italia
      • Third Party Cookie Eraser
      • Twitter Follow Button
      • WP instantempo
      • WP Super Secure and Fast htaccess
    • Plone SEO – collective.perseo
  • Creations
    • Web Marketing
    • SEO
    • WPO
    • SEO Stupidity
    • Webmaster Superhero
    • Il Vero SEO

Nuovo bottone ReTweet per Twitter

13 Agosto 2010 / By Andrea Pernici
  • Home
  • Nuovo bottone ReTweet per Twitter

Come oramai abbastanza noto è uscito il nuovo bottone di Twitter.

Un breve post su come aggiungerlo al vostro blog.

Il codice che segue può essere inserito in ogni loop che avete nel vostro blog wordpress.

{code type=php}<script src=”http://platform.twitter.com/widgets.js” type=”text/javascript”></script>
<a href=”http://twitter.com/share”
data-url=”<?php the_permalink(); ?>”
data-via=”andreapernici”
data-text=”<?php the_title(); ?>”
data-related=”andreapernici:Creatore di Andreapernici.com”
data-count=”vertical”
data-lang=”it”>Tweet</a>
{/code}

Come potete vedere ci sono alcuni data-attribute che meritano una breve spiegazione:

  • data-url – Questo serve per specificare la URL che vogliamo condividere.
  • data-via – Questo segnala il nome utente da ReTwittare (ho messo il mio account voi mettete il vostro).
  • data-text – Questo specifica il titolo del post/tweet.
  • data-related – Questo aggiunge informazioni sugli utenti che si consiglia di seguire dopo lo share. Si possono specificare al massimo due account da seguire dopo lo share. Questo elemento può contenere il tuo account oppure un tuo partner o collaboratore. Mi raccomando di cambiare il parametro oppure di rimuoverli perché altrimenti cosiglierete di seguire me 😉 non che mi dispiaccia. Il formato corretto da usare è – nomeutentetwitter: descrizione
  • data-count – Specifica il tipo di bottone da usare a scelta tra tre opzioni: vertical, horizontal, none.
  • data-lang – Questo specifica la lingua del Tweet. Il valore di default è ‘en’.

Buon ReTweet 😉

Riferimenti

Maggiori informazioni su: http://dev.twitter.com/pages/tweet_button

Generatore del bottone: http://twitter.com/goodies/tweetbutton

About Me
about-me
Andrea Pernici

Chief Technology Officer at Search On Media Group and 3BMeteo.com

Categories
  • Apache 2.2
  • Blog e Social
  • CSS
  • Featured Articles
  • Google
  • Grafica
  • Linux
  • Marketing
  • Politica
  • Programmazione
  • Seo
  • Sicurezza
  • Sport
  • Varie
  • Viaggi
  • Video
  • WebServer
Popular Post
  • Corso HTML per SEOlunedì - Dicembre 05, 2022
  • Antonio Jelich e Pallamano 85. La terza di campionato.lunedì - Marzo 15, 2021
  • How to Dominate “Google In-The News” Box (aka “Top Stories”)…lunedì - Maggio 08, 2017
  • WordPress Brute Force Attacks: lock your wp-login.php with ModSecuritymercoledì - Ottobre 28, 2015
  • All the small things that make a great productmartedì - Ottobre 27, 2015
Tags
Andrea Pernici apache Bug Google Convegno gt Convegno SEO Design Errori Google Eventi SEO Facebook Facebook Like Google Google Maps Google News Sitemap Google Plus Google profile gtConference gt study days instantempo Instant Previews Joomla Linkedin Linux Loghi Marketing Matt Cutts Meteo migliori tweet Open Source Ottimizzare Wordpress Page Speed Rich Snippet script Seo SERP shell Significati Nascosti Sociable italia Social Network Twitter Usabilità Web Performance WebProNews Web Server Apache Wordpress Wordpress plugin
Recent Comment
  • Come fare Redirect 301 di una pagina web giovedì - Maggio 06, 2021 08:44 am
  • Come fare Redirect 301 di una pagina web martedì - Maggio 04, 2021 02:03 pm
  • Come fare Redirect 301 di una pagina web sabato - Aprile 10, 2021 02:05 pm
  • Come fare Redirect 301 di una pagina web venerdì - Aprile 09, 2021 11:02 pm
  • Come fare Redirect 301 di una pagina web giovedì - Aprile 01, 2021 10:08 am
© 2017 Andrea Pernici - SEO, Design & Technology as attitudes - Me on freebase - Privacy Policy