Title: random post list
Author: rogi073
Published: <strong>27 de febrer de 2009</strong>
Last modified: 28 de febrer de 2009

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/random-post-list.svg)

# random post list

 Per [rogi073](https://profiles.wordpress.org/rogi073/)

[Baixa](https://downloads.wordpress.org/plugin/random-post-list.0.2.zip)

 * [Detalls](https://ca.wordpress.org/plugins/random-post-list/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/random-post-list/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/random-post-list/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/random-post-list/#developers)

 [Suport](https://wordpress.org/support/plugin/random-post-list/)

## Descripció

To add random list of submitted posts and one random link with customized link string.

**Usage**

To put previous posts list randomly, you shuould just add below string at the place
where you want to place it.

    ```
    <?php rpl_random_lists(); ?>
    ```

And if you want to customize the list, youcan use 5 options

    ```
    <?php rpl_random_lists(num_limit,exclude,date_limit,echo,list); ?>
    ```

num_limit : default value is «5»
 set the maximum number to show in output list.
exclude : default value is «» set the post ID which you never want to show in output
list. date_limit : default value is «» set date limit. posts which is later than
this date limit never be shown in output list. the date will be evaluate by strtotime
function, so available format for this option is same as strtotime function. echo:
default value is true If set this value as true then function returns result as 
output as html, and set as false then function returns result as string. list : 
default value is true If set this value as true then function returns result as 
list style using ul and li tag, and set this value as false then function returns
result as string devided by \n.

To put one random link with customized title like «feeling lucky!», you shuould 
just add below string at the place where you want to place it.

    ```
    <?php rpl_feelinig_lucky(); ?>
    ```

And if you want to customize the list, youcan use 3 options

    ```
    <?php rpl_feelinig_lucky(text,exclude,date_limit,echo); ?>
    ```

text : default value is «feeling lucky!»
 set text string to show as hyperlink string.
for example in case of default the output is like this [feeling lucky!](https://ca.wordpress.org/plugins/random-post-list/randomly-selected-url?output_format=md).
exclude : default value is «» set the post ID which you never want to show in output
list. date_limit : default value is «» set date limit. posts which is later than
this date limit never be shown in output list. the date will be evaluate by strtotime
function, so available format for this option is same as strtotime function. echo:
default value is true If set this value as true then function returns result as 
output as html, and set as false then function returns result as string.

**Customization**

The plug in provides the following CSS classes:

    ```
    * ul.random-post-link: for rpl_random_lists function (if list is activated)
    * li.random-post-link: for rpl_random_lists function (if list is activated)
    * a.random-post-link: for rpl_feelinig_lucky function
    ```

### Contact

Suggestion, fixes, rants, congratulations, gifts et al to help[at]seunze.com

## Instal·lació

 1. Upload `random-post-list` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«random post list» és programari de codi obert. La següent gent ha col·laborat en
aquesta extensió.

Col·laboradors

 *   [ rogi073 ](https://profiles.wordpress.org/rogi073/)

[Traduïu «random post list» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/random-post-list)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/random-post-list/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/random-post-list/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/random-post-list/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/random-post-list/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versió **0.2**
 *  Darrera actualització **fa 17 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 2.0 o posterior **
 *  Provada fins a **2.7.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/random-post-list/)
 * Etiquetes
 * [list](https://ca.wordpress.org/plugins/tags/list/)[posts](https://ca.wordpress.org/plugins/tags/posts/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/random-post-list/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/random-post-list/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/random-post-list/reviews/)

## Col·laboradors

 *   [ rogi073 ](https://profiles.wordpress.org/rogi073/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/random-post-list/)