Twitterのつぶやきボタンを設置
20:46 pm
このロゴをクリックすると、投稿記事に対してつぶやけるようにします。
とりあえず、aerosoldテーマに設置してみます。
まず、ロゴ画像を/wordpress/wp-content/themes/aerosold/imagesにアップロードします。
次に以下のコードをindex.php等の表示したい個所にそれぞれ埋め込むだけです。
<a href=”http://twitter.com/home?status=<?php the_permalink() ?>”><img src=”<?php bloginfo(’stylesheet_directory’); ?>/images/tweet.jpg” width=”286″ height=”33″ style=”border: none; vertical-align:middle;” alt=”この記事についてTwitterでつぶやく” title=”この記事についてTwitterでつぶやく” /></a>
Related Posts
No Comments »
RSS feed for comments on this post. TrackBack URL
Leave a comment
You must be logged in to post a comment.