前回の記事、サブカテゴリーを一段下げて表示させる方法の応用編です。

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<MTSubCategories>
<tr valign="top">
<td align="left" valign="middle">
<MTHasParentCategory>
<a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryLabel$>">
<img src="http://www.hosoitoshiya.jp/images/icon_archives.gif" border="0" alt="<$MTCategoryLabel$>" width=13 hight=11 align="absmiddle">
<$MTCategoryLabel$></MTHasParentCategory><MTHasSubCategories>
</td>
</tr>
<tr valign="top">
<td valign="middle">
<img alt="<$MTCategoryLabel$> INFO" src="<$MTBlogURL$>catimages/cat<$MTCategoryID$>.gif" align="middle" border="0" />
</MTHasSubCategories></MTHasSubCategories><MTHasParentCategory></a>
</MTHasParentCategory>
</td>
<td align="right" valign="middle"><MTHasParentCategory>[<$MTCategoryCount$>]</MTHasParentCategory></td>
</tr>
<MTHasSubCategories>
<$MTSubCatsRecurse$></MTHasSubCategories></MTSubCategories>
</table>

表示例はこちらの右下部MENU部分。

関連記事:サブカテゴリーを一段下げて表示させる方法


TRACKBACK:

Comments

ADD YOUR COMMENT:
NAME:
E-MAIL:
URL:
COMMENT:

Blog Elements

Related Site and more...