Last change
on this file since 43 was
38,
checked in by toemon, 16 years ago
|
ブロックのスタイルシートはテンプレート変数<{$xoops_block_header}>にアサインします。
使い方としては、xoopsテーマの<{$xoops_module_header}>の直後に<{$xoops_block_header}>を書き加えます。
上記実装 #44
ブロックのレンダリングを行う部分と、ブロック用CSSの場所をWordPressテーマ内にblocksというフォルダーを作成してその中に置く。 #46
|
File size:
849 bytes
|
Rev | Line | |
---|
[35] | 1 | <ul class="xpress_recent_comments">
|
---|
[38] | 2 | <!-- The template tag of the following list can be used.
|
---|
| 3 | <{$content.from_auther_to_post}>
|
---|
| 4 | <{$content.comment_ID}>
|
---|
| 5 | <{$content.comment_post_ID}>
|
---|
| 6 | <{$content.comment_date}>
|
---|
| 7 | <{$content.comment_date_time}>
|
---|
| 8 | <{$content.comment_content}>
|
---|
| 9 | <{$content.comment_excerpt}>
|
---|
| 10 | <{$content.comment_link}>
|
---|
| 11 | <{$content.comment_title}>
|
---|
| 12 | <{$content.comment_title_link}>
|
---|
| 13 | <{$content.post_link}>
|
---|
| 14 | <{$content.post_title}>
|
---|
| 15 | <{$content.post_title_link}>
|
---|
| 16 | <{$content.author_link}>
|
---|
| 17 | <{$content.author_name}>
|
---|
| 18 | <{$content.author_name_link}>
|
---|
| 19 | <{$content.comment_type}>
|
---|
| 20 | -->
|
---|
| 21 |
|
---|
[35] | 22 | <{foreach from=$block.contents item=content}>
|
---|
| 23 | <li>
|
---|
[38] | 24 | <{$content.from_auther_to_post}><br />
|
---|
| 25 | <{$content.comment_excerpt}><br />
|
---|
| 26 | <{$content.comment_date_time}><br />
|
---|
[35] | 27 | </li>
|
---|
| 28 | <{/foreach}>
|
---|
| 29 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.