Not a developer? Go to MovableType.com

Plugin and Theme Directory

Random Entries v1.0.1

By Dan Wolfgang
Posted August 6, 2013, in MT Tags, Templates, Widgets.

Details

This plugin provides a single argument to be used with the Entries block tag to return a random entry each time a template is published. A simple example that returns all entries in a random order:

<mt:Entries random="1">
    <p>Random entry: <a href="<mt:EntryPermalink>"><mt:EntryTitle></a></p>
</mt:Entries>

Any of the Entries block tag attributes can be specified as valid arguments, which makes it easy to retreive less random and more targeted entries. An example to show one entry in the Movies category:

<mt:Entries category="Movies" random="1" limit="1">
    <p>Random movie review: <a href="<mt:EntryPermalink>"><mt:EntryTitle></a></p>
</mt:Entries>

Prerequisites

Movable Type 4.x or 5.x

Installation

To install this plugin follow the instructions found here:

http://tinyurl.com/easy-plugin-install

Compatibility

Movable Type versions: 4.35.05.15.26.0


Back

4 Comments

joninugraha

joninugraha on November 1, 2016, 2:16 p.m. Reply

i like this website because give me more information.,,. sorry, I want to ask your website theme to be used what? thank’s guys :) Obat Luka Diabetes Obat Kanker Kelenjar Getah Bening

arridersz

arridersz on November 23, 2016, 12:36 a.m. Reply

really nice to read your sharing, its really inspiring, thank you obat keputihan alami

Leave a Comment

Dan Wolfgang

Dan is an engineering creative and uses his vast knowledge of the web to solve unique client problems with specialized solutions. Complex or straightforward, his focus is to find the most efficient, functional, elegant, and stable solutions for each project. 10 years in web engineering and 14 more in the print publishing industry give him a special insight to the needs, restrictions, and workflows of content publishers, both traditional and new media. Dan is an active Movable Type community member who has written and contributed to countless plugins including some of the most popular: More Custom Fields, Poll Position, and Asset Image Quality.

Website: http://uinnovations.com
Twitter: @danwolfgang