Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* Intégrer le code suivant dans votre fichier single.php à l'endroit ou vous voulez insérer votre bouton.
- *Pour la suite du tuto, rdv sur http://jeremy.tagada.hu/integrer-twitter-sur-votre-blog-wordpress-guide-complet/
- */
- // Debut du code à insérer, par exemple juste avant ou apres la balise the_content()
- <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" data-via="votre-nom-twitter">Tweetez !</a>
- // Fin
- ?>
Advertisement
Add Comment
Please, Sign In to add comment