Changeset 159038
- Timestamp:
- 09/29/2009 05:54:04 PM (17 years ago)
- File:
-
- 1 edited
-
frontpage-slideshow/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
frontpage-slideshow/trunk/readme.txt
r159034 r159038 68 68 You 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. 69 69 Example : 70 `[FrontpageSlideshow fs_main_width=100% fs_main_color=pink] 70 71 `[FrontpageSlideshow fs_main_width=100% fs_main_color=pink] 72 71 73 <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 72 75 <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 73 77 [/FrontpageSlideshow]` 74 78 75 79 You can use this shortcode into a Text Widget to display the slideshow into the sidebar 76 80 77 = == Inserting the slideshow anywhere into your text ===81 = Inserting the slideshow anywhere into your text = 78 82 79 83 You 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 `<?php echo do_shortcode('[FrontpageSlideshow]'); ?>` 86 81 87 Note that you can use all the features that shortcodes offers : for example, you can specify an alternative content (as the example before) this way. 82 88
Note: See TracChangeset
for help on using the changeset viewer.