説明:StumbleUponで偶然出会った(stumble upon)サイトのリストを表示する
WP ver.:2.0.x - 未検証、2.1 - オッケー
ダウンロード:StumbleCrumble - The Stumble Upon Wordpress Plugin
導入:
- stumblecrumble.phpをプラグインフォルダに入れて有効化
wp-content/themes/[使用しているテーマ]/sidebar.phpを開く- リストを表示させる場所に次の行を追加する:
<?php if(function_exists(stumble_crumble) { stumble_crumble(); } ?>
引数設定:
例:<?php stumble_crumble('johnsmith', 10, '<li>', '<br/>', '</li>', 30); ?>
johnsmith- StumbleUponのユーザー名10- 表示リスト数<li>- リストの前に出力する文字列<br/>- 各項目間に出力する文字列</li>- リストの後に出力する文字列30a - h各項目の表示文字数
この他の「外部情報」関連のプラグイン:
タグ: コメントなし
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.