Plugin Directory

Changeset 159038


Ignore:
Timestamp:
09/29/2009 05:54:04 PM (17 years ago)
Author:
jeff_
Message:

readme.txt typos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontpage-slideshow/trunk/readme.txt

    r159034 r159038  
    6868You can use a customisable shortcode to display the slideshow. You can use the shortcode as an enclosing one : you can put replacement content in case of the slideshow cannot be shown (if it has already been added earlier in the document flow) or is not activated.
    6969Example :
    70 `[FrontpageSlideshow fs_main_width=100% fs_main_color=pink]
     70
     71   `[FrontpageSlideshow fs_main_width=100% fs_main_color=pink]
     72   
    7173<a href="/images/me.png" rel="lightbox" title="This is image caption"><img src="/images/me.png" width="80" height="80" alt="This is image title" /></a>
     74
    7275<a href="/images/me2.png" rel="lightbox" title="This is image caption"><img src="/images/me2.png" width="80" height="80" alt="This is image title" /></a>
     76
    7377[/FrontpageSlideshow]`
    7478
    7579You can use this shortcode into a Text Widget to display the slideshow into the sidebar
    7680
    77 === Inserting the slideshow anywhere into your text ===
     81= Inserting the slideshow anywhere into your text =
    7882
    7983You can insert the slideshow anywhere you want by inserting the following php code where you want it to be displayed :
    80 `<?php echo do_shortcode('[FrontpageSlideshow]'); ?>`
     84
     85    `&lt;?php echo do_shortcode('[FrontpageSlideshow]'); ?>`
     86
    8187Note that you can use all the features that shortcodes offers : for example, you can specify an alternative content (as the example before) this way.
    8288
Note: See TracChangeset for help on using the changeset viewer.