Plugin Directory

Changeset 591413


Ignore:
Timestamp:
08/28/2012 04:50:56 PM (14 years ago)
Author:
ivycat
Message:

Updated documentation in readme.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ivycat-ajax-testimonials/trunk/readme.txt

    r588084 r591413  
    4040== Usage ==
    4141
    42 Shortcode usage:
     42To actually pull testimonials into your site, you can use:
    4343
    44     *[ic_do_testimonials] - Adds a testimonial, Defaults to three testimonials.
     441. widgets
     451. shortcodes
     461. PHP functions
    4547
    46     *[ic_do_testimonials group='my-created-group'] - Adds testimonials from a custom group.  Defaults to three testimonials.
     48### Use a widget:
    4749
    48     *[ic_do_testimonials quantity='5'] - changes default quantity to 5.
     50In your WordPress Dashboard, go to Appearance/Widgets and use the IvyCat Testimonial Widget.
    4951
     52### Using shortcodes:
     53
     54* [ic_do_testimonials] - Adds a testimonial, Defaults to three testimonials.
     55* [ic_do_testimonials group='my-created-group'] - Adds testimonials from a custom group.  Defaults to three testimonials.
     56* [ic_do_testimonials quantity='5'] - changes default quantity to 5.
     57
     58### Using PHP functions:
     59
     60If you'd like to embed your testimonials into a template file rather than a widget or editor, you can use shortcodes within a PHP function like so:
     61
     62`<?php echo do_shortcode("[ic_do_testimonials]"); ?>`
    5063
    5164== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.