• 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

Leave a Comment

Cancel Reply

*Please complete all fields correctly

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
  • Google
  • Grafica
  • Linux
  • Marketing
  • Politica
  • Programmazione
  • Seo
  • Sicurezza
  • Sport
  • Varie
  • Viaggi
  • Video
  • WebServer
Popular Post
  • 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
  • #WMF15 – Se Markettone è sembrato è colpa MIAmercoledì - Giugno 24, 2015
  • European Search Awards, Advanced SEO Tool e ora il Web…mercoledì - Maggio 06, 2015
Tags
AIR Andrea Pernici apache Bug Google Convegno gt Convegno SEO Design Eventi SEO Facebook Giorgio Taverniti Google Google Maps Google News Google News Sitemap Google Plus Google profile gtConference gt study days htaccess Linkedin Linux Loghi Long Tail Keywords 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 Web Performance WebProNews Web Server Apache Wordpress Wordpress plugin YouTube
Recent Comment
  • SEO Roma e SMS: una triste storia di diffamazione domenica - Novembre 08, 2020 02:24 am
  • Google News Sitemap 1.0.5 giovedì - Febbraio 20, 2020 04:59 pm
  • Come fare Redirect 301 di una pagina web giovedì - Febbraio 20, 2020 04:58 pm
  • Come fare Redirect 301 di una pagina web giovedì - Febbraio 20, 2020 04:52 pm
  • Google News Sitemap 1.0.5 venerdì - Gennaio 10, 2020 12:01 pm
© 2017 Andrea Pernici - SEO, Design & Technology as attitudes - Me on freebase - Privacy Policy