タグとサイトマップのプラグインを更新
投稿時に二つもタグ設定があったりすると気持ち悪いし、
後々のことを考えてUltimate Tag WarriorをからSimple-Tagsを使うことにした。
Simple-TagsはWordPress2.3の標準タグ機能を拡張してくれるというもの
設定が豊富で機能も多くていい。
Related Posts機能もあるので今まで使ってきたプラグインを削減できた。
もうひとつはSitemapプラグインである
Sitemap Generator Plugin for Wordpressを更新
標準で多言語に対応(もちろん日本語も)してるので使いやすい。
そのままじゃなぜかページが機能しなかったので少しいじって使えるようにした。
変更点
726行目
$output1 .= ' : <a href="' . $the_url . ($current_page - 1) . '/">Previous Page</a>';
を
$output1 .= ' : <a href="' . $the_url . 'page/' . ($current_page - 1) . '/">Previous Page</a>';
730行目
$output1 .= ' : <a href="' . $the_url . ($current_page + 1) . '/">Next Page</a>';
を
$output1 .= ' : <a href="' . $the_url . 'page/' . ($current_page + 1) . '/">Next Page</a>';
743行目
$output1 .= '<a href="' . $the_url . $i . '/">' . $i . '</a> ';
を
$output1 .= '<a href="' . $the_url . 'page/' . $i . '/">' . $i . '</a> ';
798行目
$output1 = str_replace($the_url . '1/', $the_url, $output1);
を
$output1 = str_replace($the_url . 'page/1/', $the_url, $output1);
769,773,786,800,1067,1068,1232,1244行目に含む
pg
を
paged
記事の情報
- 作成日
- 2007年10月29日 月曜日 22:43:59
- 更新日
- 2007年10月29日 月曜日 22:43:59
- この記事のURL
- http://hrlk.com/2007/10/29/simple-tags_dd-sitemap-gen/
- QRcode

- Trackback URL
※ 本文にhrlk.comへのリンクがない場合は登録されません。- この記事のコメントRSS
- http://hrlk.com/2007/10/29/simple-tags_dd-sitemap-gen/feed/
ナビゲーション
- タグ
- plugin, Sitemap, tag, update, WordPress
- カテゴリ
- PHP
- 前の記事
- WordPress 2.3.1にアップデート
- 次の記事
- 何か月ぶりの記事だろ?
- 関連する記事
1 Trackbacks
10 件のコメント
-
moncler jackets :
2011年10月13日 at 17:39:39
I positively adore your principal post..this is in actuality a terrific webpage. I undeniably will undoubtedly revisit. I am subcribed. At lengthy last a place nicely worth bumping. I ordinarily do not article that much. however I required to comment concerning your post.
-
On the style :
2011年10月27日 at 16:51:44
On the style, carried on various styles to turn of try, Rou’s matching classic tassels and race breeze is various popular chemical elements, such as embroidery, fine rivet and lovely hair ball…etc. and still did to increase a high leg type of Gao Neng inside the shoe sole in parts of styles, and designed 8 inches, 10 inches, 12 inches, 14 the inches are four kinds of different Xue Gao, once had as well knee style can also lead knee of the part turn over to fold down, the dissimilarity satisfying a customer matches a project.
-
MBT Imara sandals :
2011年12月01日 at 12:31:59
MBT Kisumu sandals,.. then you dad told me that you had an accident…” I’m too lazy to answer. “You not……
-
Non-Stop Traffic Formula review :
2011年12月05日 at 08:51:38
I want to show my admiration of your writing skill and ability to make audience, browse the whole thing to the end. I’d really like to read more of your blogs and to talk about my views with you. I’ll be your frequent website visitor, that’s for sure.
-
Background Check :
2011年12月12日 at 01:11:33
それはこの記事のように、有益で有用な何かを見つけるような大きな喜びです。私は実際に私は私のブログで備えていることが研究の材料を探しています。そして私はこれを見てイム感謝し、言わなければならない。私は確かに私の友人にこの素晴らしい発見をお勧めします。私はあなたから多くを参照したい。それを維持し、より多くの電力。
-
21 Day Fast Mass Building :
2012年01月04日 at 23:51:09
Took me some time to browse through all the comments, but I really like the post. It proved to be very helpful . It’s always neat when you can be informed and entertained. thanks for this nice article
-
Anabolic Cooking :
2012年01月06日 at 15:11:19
I completely agree with the above comment, the internet is with a doubt growing into the most important medium of communication across the globe and its due to sites like this that ideas are spreading so quickly.
-
Daily Momentum Trader :
2012年01月12日 at 21:34:30
Yes, this was a really outstanding post. In theory I would like to compose like this too - taking time and real effort to make a fabulous article.
-
Daily Momentum Trader :
2012年01月12日 at 21:35:58
So informative things are provided here,I really happy to read this post,I was just imagine about it and you provided me the correct information I really bookmark it,for further reading.
-
bag manufacturer :
2012年01月19日 at 00:57:10
very nice article, thanks for share
[…] ハンターリンクさんの記事を参考にして […]