Changeset 126 for trunk/templates/source
- Timestamp:
- Mar 20, 2009, 9:50:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/source/authors_block.html
r121 r126 2 2 The template tag of the following list can be used. 3 3 <{$block.err_message}> // When the block cannot be displayed, this outputs the reason. Please do not delete it. 4 <{$block.data_count}> // The number of archives is displayed. 5 <{$block.contents}> // Data array of archives. 6 // Examples of <{$block.contents}> 7 <{foreach from=$block.contents item=content}> // Loop 8 <{$content.author}> // the author name is displayed as a link to their posts. Optionally this tag displays each author's post count. 9 <{/foreach}> // End of Loop 4 <{$block.authors}> // Displays Authors from wp_list_authors() function 10 5 ************************* End of usage ************************ *}> 11 6 <{* Start Template *}> … … 14 9 <{$block.err_message}> 15 10 <div class="xpress_authors_block"> 16 <ul> 17 <{foreach from=$block.contents item=content}> 18 <li> 19 <{$content.author}> 20 </li> 21 <{/foreach}> 22 </ul> 11 <{$block.authors}> 23 12 </div> 24 13 </div>
Note: See TracChangeset
for help on using the changeset viewer.