「Movable Type WEBデザインの新しいルール」
主なメニュー
トップページ
書籍の内容
サンプルデータ
関連リンク
サポートブログ
訂正情報
フィードバック
トップページ
> 5-2:パンくずリストを表示する
5-2:パンくずリストを表示する
手順1
<MTIf name="datebased_only_archive"> <p class="breadcrumbs"> <a href="<$MTBlogURL$>">ホーム</a> > <$MTArchiveTitle$> </p> </MTIf> <MTIfArchiveType archive_type="Category"> <MTSetVarBlock name="arctitle"><$MTArchiveTitle encode_html="1"$></MTSetVarBlock> <p class="breadcrumbs"> <a href="<$MTBlogURL$>">ホーム</a> > <MTParentCategories glue=" > "> <MTIfNonZero tag="MTCategoryCount"> <MTSetVarBlock name="catlabel"><$MTCategoryLabel encode_html="1"$></MTSetVarBlock> <MTIf name="catlabel" ne="$arctitle"> <a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel encode_html="1"$></a> <MTElse> <$MTCategoryLabel encode_html="1"$> </MTIf> <MTElse> <$MTCategoryLabel$> </MTIfNonZero> </MTParentCategories> </p> </MTIfArchiveType> <MTIf name="category_archive"> <MTIf name="datebased_archive"> <p class="breadcrumbs"> <a href="<$MTBlogURL$>">ホーム</a> > <MTParentCategories glue=" > "> <MTIfNonZero tag="MTCategoryCount"> <a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel encode_php="q"$></a> <MTElse> <$MTCategoryLabel$> </MTIfNonZero> </MTParentCategories> <MTSetVarBlock name="arctitle"><$MTArchiveTitle$></MTSetVarBlock> > <MTVar name="arctitle" regex_replace="/.*\: /",""> </p> </MTIf> </MTIf> <MTIf name="author_archive"> <p class="breadcrumbs"> <a href="<$MTBlogURL$>">ホーム</a> > <$MTArchiveTitle$> </p> </MTIf>
手順2
<MTSetVar name="category_count" value="0"> <p class="breadcrumbs"> <a href="<$MTBlogURL$>"> ホーム</a> > <MTParentCategories glue=" > "> <MTSetVar name="category_count" value="1"> <MTIfNonZero tag="MTCategoryCount"> <a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a> <MTElse><$MTCategoryLabel$> </MTIfNonZero> </MTParentCategories> <MTIf name="category_count"> > </MTIf> <$MTEntryTitle$> </p>
手順3
<p class="breadcrumbs"> <a href="<$MTBlogURL$>">ホーム</a> > <$MTPageTitle$> </p>
手順4
.breadcrumbs { margin: 13px 3px 0 3px; font-size: 83.3%; }
Search this site
Recent Entries
Monthly Archives
2008年12月
[2]
2008年9月
[1]
2008年7月
[1]
2008年2月
[2]
2008年1月
[1]
2007年12月
[1]
2007年11月
[6]
2007年10月
[5]
Links
サンプルデータ
サポート
訂正情報
フィードバック
Counter
3333333333
このブログを購読
Copyright © 2007 www.koikikukan.com All Rights Reserved.