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

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!


Random Posts and Random Excerpts

Page history last edited by Ben 14 years, 5 months ago


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);




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




  • $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).





Random Posts

Random Excerpts

Comments (0)

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