> Random Related Posts Based on Category wordpress plugin resources analysis

Random Related Posts Based on Category wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Random Related Posts Based on Category
Version 1.0.2
Author Tristar Web Design
Rating 0
Last updated 2011-01-10 10:48:00
Downloads
3255
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
Random Related Posts Based on Category plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

Random Related Posts Based on Category plugin added 4 bytes of resources to the Home page and 7 bytes of resources to the sample Post page.

Random Related Posts Based on Category plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! Random Related Posts Based on Category plugin ads no tables to your Wordpress blog database.

This plugin allows you to list any number of related posts from the same category as the current post. You can also randomise these results. It is very lightweight, at only 3KB.

There are a number of options available:

  • Choose the number of Posts to show
  • Choose whether it displays these posts randomly, or in order specified by you.
  • Choose whether to display a title, what tags to use, and what text should be displayed (e.g. H3)
  • Choose a class for the main UL

To display the random related posts in its simplest form, simply place the following code in your single.php file - <?php relatedPosts(); ?>.

To edit the options availble, use the following codes:

<?php relatedPosts(
    $ppp = 4, 
    $rand = true, 
    $rPinctitle = true, 
    $rPtitletag = 'h3', 
    $rPtitle = 'Related Posts', 
    $rPulclass = 'related_posts',
    $orderby = 'title', 
    $order = 'ASC'
); ?>

Where:

  • $ppp = Number of posts to display (Any integer allowed)
  • $rand = sets the display to random (true/false)
  • $rPinctitle = Displays the title (true/false)
  • $rPtitletag = The type of tag to wrap the title in (Default h3, but it can be any valid HTML tag)
  • $rPtitle = The title to be displayed (This can be any text value)
  • $rPulclass = This sets the class of the ul (This can be any text value)
  • $rPexcerpt = Displays the post excerpt (true/false)
  • $orderby = This allows you to order the posts by certain parameters (title/author/date/modified/menu_order/parent/ID/none/comment_count) If you want to choose the order of your posts, be sure to set $rand to false
  • $order = This can either be Ascending or Descending (ASC/DESC)
Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Superhero screenshot

Superhero

by: automattic

78511
86%
Docu screenshot

Docu

by: kosinix

2372
100%