Changeset 540576
- Timestamp:
- 05/06/2012 08:22:02 PM (14 years ago)
- File:
-
- 1 edited
-
wp-lipsum/trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-lipsum/trunk/readme.txt
r540575 r540576 32 32 You can also use “t” and “r” as parameter shortcuts. 33 33 34 = Image Dimensions =35 36 37 For the image templates, you can also pass in custom dimensions with the "width", "height" and "align" parameters (shorcuts w, h and a). This works for the img, caption, portfolio & portfolio_item, and gallery & gallery_item templates.38 39 `[lipsum template=img width=300 height=150]`40 41 `[lipsum t=caption w=300 h=150 a=right]`42 43 `[lipsum t=gallery w=500 h=220]`44 45 `[lipsum t=portfolio w=100 h=100]`46 47 Align can be set to "left", "right", "center" or "none". These parameters default to 200x200, and alignleft.48 34 49 35 = Lipsum Templates and Fragments = … … 85 71 86 72 Templates use Bedrock conventions, including class names (like .table-style and .post-nav), using H1s and H2s only for titles, and other concepts. 73 74 75 = Image Dimensions = 76 77 78 For the image templates, you can also pass in custom dimensions with the "width", "height" and "align" parameters (shorcuts w, h and a). This works for the img, caption, portfolio & portfolio_item, and gallery & gallery_item templates. 79 80 `[lipsum template=img width=300 height=150]` 81 82 `[lipsum t=caption w=300 h=150 a=right]` 83 84 `[lipsum t=gallery w=500 h=220]` 85 86 `[lipsum t=portfolio w=100 h=100]` 87 88 Align can be set to "left", "right", "center" or "none". These parameters default to 200x200, and alignleft. 89 90 87 91 88 92 = Using the Template Tag =
Note: See TracChangeset
for help on using the changeset viewer.