Joomla!, Wordpress tips for building your site

How to add social bookmark icon with WordPress

Published on| November 26th, 2009 | No Comment.

WordPress is to keep the Sosharubukkumakuaikon to install the plug-in for it, and you'll see where you want to edit the theme.
Here, let's briefly introduce plug-in to view the Hatena bookmark.

Plug-ins to view the Hatena bookmark, WP-hatena (first download) has been provided.

Let's install.

Install the plug-in as normal Plugins- Add New- [Upload]From where to download from where you downloaded the ZIP file and install it.
After installation, enable the plug-in.
Next, let's edit the theme.

Let's see.

For example, if only to be displayed when you view the article, the theme, single.php and home.php files are provided in the name of the article to view the php file so the text it and open the editor, the position you want, just paste the code below.

<?php if(isset($wph)) {
	$wph->addHatena();
}?>

And try to view the article in fact, an icon appears if the following is OK.
hatena

If you have own a Hatena ID once, we recommend that you check.

Let's extension.

Ora will be added to those that are non-Hatena bookmarking plugin.
http://wp.graphact.com/2007/07/11/96 from wp-hatena-0.93j-ino2.lzh download, wp-content/plugins/wp-hatena be used to overwrite as can.(Including 10 Hatena bookmark, social bookmarking allows you to use.)

Adding to the theme, add the following code.

<?php if(isset($wph)) {
	$wph->addHatena();	//    * はてブ
	$wph->adddelicious();	//    * del.icio.us
	$wph->addLivedoor();	//    * Livedoorクリップ
	$wph->addYahoo();	//    * Yahoo!ブックマーク
	$wph->addFC2();		//    * FC2ブックマーク
	$wph->addNifty();	//    * ニフティクリップ
	$wph->addPOOKMARK();	//    * POOKMARK Airlines
	$wph->addBuzzurl();	//    * Buzzurl
	$wph->addChoix();	//    * Choix
	$wph->addnewsing();	//    * newsing
}?>

The following is a kind of icon is displayed.
bookmark

The registration does not work to check all this plug-in, we have a fairly painless.
One by one in the php, you can write if you want to write a little, it takes effort.
How inconvenient and time, the drooping Mendoku like myself are very grateful plug.(:))






Comments

Leave a Reply








Transrator

Recent Posts

Categories

Tag Cloud

execute remove フロントページ 投稿ページ トップページ install WIndows Note Convert META generator 日付 donwload file manage multibyte utf-8 unicode shiftjis euc console サイトマップ 問題 ParmaLink Redirect パーマリンク はみ出る pre テンプレート テーマ タグクラウド マルチランゲージ リダイレクト PHP(タグ) タグ table control HTML(タグ) コマンド 国際化(翻訳) SQLite(タグ) MySQL(タグ) qTranslate プラグイン(タグ) Wordpress(タグ)

Links

Site Description

Joomla!, Wordpress as CMS using a site building, site management, software usage to describe the development tips.

  • はてなブックマークへ追加する
  • Facebookでシェアする
  • twitter でつぶやく
  • Google Plusでシェアする
  • Pocketでシェアする
ページトップへ