| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Get control of your email attachments. Connect all your Gmail accounts and in less than 2 minutes, Dokkio will automatically organize your file attachments. You can also connect Dokkio to Drive, Dropbox, and Slack. Sign up for free.

View
 

Random Posts and Random Excerpts

Page history last edited by Ben 10 years, 4 months ago

General

Both of these are pillars of simplicity. One will pull up a list of random posts and the other a list of random excerpts. Random excerpts is aimed at photobloggers who post photo thumbnails into the excerpt field.

 

 

Installation & Usage

  1. Download and extract.
  2. Upload to /wp-content/plugins/ directory.
  3. Enable the plugin.
  4. The plugins are called using:

 

random_posts($limit, $len, $before_title, $after_title, $before_post, $after_post, $show_pass_post, $show_excerpt);

 

or

 

random_excerpt($limit, $len, $before_title, $after_title, $before_post, $after_post, $show_pass_post, $show_excerpt);

 

Where:

 

  • $limit - No. of posts to show.
  • $len - Lenght of the auto-generated excerpt.
  • $before_title - Text to appear before the entry title.
  • $after_title - Text to appear after the entry title.
  • $before_post - Text to appear before the entry excerpt.
  • $after_post - Text to appear after the entry excerpt.
  • $show_pass_post = Include/exclude password protected entries (Default: false).
  • $show_excerpt = Show/hide excerpt (Default: false).

 

Download

 

 

Random Posts

Random Excerpts

Comments (0)

You don't have permission to comment on this page.