Changeset 8292
- Timestamp:
- 03/16/2007 11:55:14 AM (19 years ago)
- File:
-
- 1 edited
-
subpage-listing/tags/0.6.1/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
subpage-listing/tags/0.6.1/readme.txt
r8288 r8292 47 47 There is also a new function for use in your templates. Many people wanted to show subpages or siblings in their sidebar, so now you can do that. `<?php txfx_wp_subpages(); ?>` is the most basic form, but it can take many parameters. 48 48 49 `<?php txfx_wp_subpages(5, false, false, '<ul>', '</ul>', true); ?>` will show 5 pages deep (first parameter), hide the parent (second parameter), hide the siblings (third parameter), wrap the whole thing in '<ul>' and '</ul>'(fourth and fifth parameters), and will echo the result (sixth parameter). These happen to be the default settings, that I have just illustrated.49 (fourth and fifth parameters), and will echo the result (sixth parameter). These happen to be the default settings, that I have just illustrated.
Note: See TracChangeset
for help on using the changeset viewer.