Plugin Directory

Changeset 540576


Ignore:
Timestamp:
05/06/2012 08:22:02 PM (14 years ago)
Author:
dylanized
Message:

fixed readme for 1.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-lipsum/trunk/readme.txt

    r540575 r540576  
    3232You can also use “t” and “r” as parameter shortcuts.
    3333
    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.
    4834
    4935= Lipsum Templates and Fragments =
     
    8571
    8672Templates 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
     78For 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
     88Align can be set to "left", "right", "center" or "none". These parameters default to 200x200, and alignleft.
     89
     90
    8791
    8892= Using the Template Tag =
Note: See TracChangeset for help on using the changeset viewer.