Title: Advanced Random Posts Widget
Author: Ga Satrya
Published: <strong>11 février 2013</strong>
Last modified: 5 août 2023

---

Recherche d’extensions

![](https://ps.w.org/advanced-random-posts-widget/assets/banner-772x250.png?rev=
2046099)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/advanced-random-posts-widget/assets/icon-256x256.png?rev=2046099)

# Advanced Random Posts Widget

 Par [Ga Satrya](https://profiles.wordpress.org/satrya/)

[Télécharger](https://downloads.wordpress.org/plugin/advanced-random-posts-widget.2.2.1.zip)

 * [Détails](https://fr.wordpress.org/plugins/advanced-random-posts-widget/#description)
 * [Avis](https://fr.wordpress.org/plugins/advanced-random-posts-widget/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/advanced-random-posts-widget/#installation)
 * [Développement](https://fr.wordpress.org/plugins/advanced-random-posts-widget/#developers)

 [Support](https://wordpress.org/support/plugin/advanced-random-posts-widget/)

## Description

#### Notice

This plugin is no longer supported, please use [Recent posts widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
instead.

This plugin will enable a custom, flexible and advanced random posts. It allows 
you to display a list of random posts via shortcode or widget with thumbnail, excerpt
and post date, also you can display it from all or specific or multiple taxonomy.

#### Fonctionnalités incluses

 * Allow you to set title url.
 * Display thumbnails, with customizable size and alignment.
 * Display excerpt, with customizable length.
 * Display from all, specific or multiple category.
 * Display from all, specific or multiple tag.
 * Display from all, specific or multiple taxonomy.
 * Display post date.
 * Display post modified date.
 * Post types.
 * Post status.
 * Allow you to set custom css class per widget.
 * Add custom html or text before and/or after random posts.
 * Multiple widgets.

#### Support Me

 * Purchase or download my [WordPress themes](https://wp.idenovasi.com/).
 * Purchase my [Services](https://www.fiverr.com/idenovasi).
 * Try another [WordPress plugin](https://profiles.wordpress.org/idenovasi/#content-plugins)
   from me.
 * Contribute on [Github](https://github.com/idenovasi/advanced-random-posts-widget).

### Shorcode Explanation

Explanation of shortcode options:

Basic shortcode

    ```
    [arpw]
    ```

Display 10 random posts

    ```
    [arpw limit="10"]
    ```

Display with thumbnail and set the size

    ```
    [arpw thumbnail="true" thumbnail_size="arpw-thumbnail"]
    ```

Display posts based on category by id

    ```
    [arpw thumbnail="true" cat="10"]
    ```

Display portfolio post type

    ```
    [arpw post_type="portfolio"]
    ```

**Here’s the full default shortcode arguments**

    ```
    title=""
    offset=""
    limit="5"
    post_type="post"
    post_status="publish"
    ignore_sticky="1"
    taxonomy=""
    cat=""
    tag=""
    thumbnail="false"
    thumbnail_size="arpw-thumbnail"
    thumbnail_align="left"
    excerpt="false"
    excerpt_length="10"
    date="false"
    date_modified="false"
    date_relative="false"
    css_class=""
    before=""
    after=""
    ```

## Captures d’écrans

 * [[
 * The widget settings

## Installation

**Through Dashboard**

 1. Log in to your WordPress admin panel and go to Plugins -> Add New
 2. Type **advanced random posts widget** in the search box and click on search button.
 3. Find **Advanced Random Posts Widget** plugin.
 4. Then click on Install Now after that activate the plugin.
 5. Go to the widgets page **Appearance -> Widgets**.
 6. Find **Random Posts** widget.

**Installing Via FTP**

 1. Download the plugin to your hardisk.
 2. Unzip.
 3. Upload the **advanced-random-posts-widget** folder into your plugins directory.
 4. Log in to your WordPress admin panel and click the Plugins menu.
 5. Then activate the plugin.
 6. Go to the widgets page **Appearance -> Widgets**.
 7. Find **Random Posts** widget.

## FAQ

### No image/thumbnail options?

Your theme needs to support Post Thumbnail, please go to https://codex.wordpress.
org/Post_Thumbnails to read more info and how to activate it in your theme.

### Thumbnail Size

By default it uses **arpw-thumbnail** which have **50×50** size. If you want to 
use custom image size, you can install https://wordpress.org/plugins/simple-image-
sizes/ then create new image size, it will appear in the **Thumbnail Size** selectbox
in the widget option.

### Thumbnail Size Not Working Properly

I have mentioned it in the plugin description. If you use images that were uploaded
to the media library before you installed this plugin and/or you have your own custom
image sizes, please install [Regenerate Thumbnails](https://wordpress.org/plugins/force-regenerate-thumbnails/)
plugin to fix the image size.

### How to add custom style?

The plugin comes with a very basic style, if you want to add custom style please
do `wp_dequeue_style` to remove the default stylesheet. Place the code below in 
your theme `functions.php`.

    ```
    function prefix_remove_arpw_style() {
        wp_dequeue_style( 'arpw-style' );
    }
    add_action( 'wp_enqueue_scripts', 'prefix_remove_arpw_style', 10 );
    ```

Then you can add your custom style using Custom CSS plugin or in your theme `style.
css`. Here’s the plugin selector

    ```
    /* ul */
    .arpw-ul {}

    /* li */
    .arpw-li {}

    /* title */
    .arpw-title {}

    /* thumbnail */
    .arpw-thumbnail {}

    /* date */
    .arpw-time {}

    /* excerpt */
    .arpw-summary {}
    ```

## Avis

![](https://secure.gravatar.com/avatar/e2541aa13db908241bc9b79ecc7605c9d2033b5f878c02d87c681ffc21a019bf?
s=60&d=retro&r=g)

### 󠀁[Thank you so much for this plugin](https://wordpress.org/support/topic/thank-you-so-much-for-this-plugin-7/)󠁿

 [diraph](https://profiles.wordpress.org/diraph/) 12 août 2023

This is a super helpful plugin. Thank you so much for this.

![](https://secure.gravatar.com/avatar/e6f414bcf3e60a0e28a300af720731045e25dafda5ea60e4bbc99fe00490feb1?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-34343/)󠁿

 [saeed](https://profiles.wordpress.org/saeedr/) 10 juin 2022

this is a great useful plugin but need to be updated!

![](https://secure.gravatar.com/avatar/f48fd83a431fc94c3d2556d45ac75a21040cce1960e84ec3b0ca8183a01eb1dd?
s=60&d=retro&r=g)

### 󠀁[It’s awesome – but needs « update » to clear security flag](https://wordpress.org/support/topic/its-awesome-but-needs-update-to-clear-security-flag/)󠁿

 [WebSprite](https://profiles.wordpress.org/contentsprite/) 10 juin 2021

This plug-in works so well it hasn’t needed any updates for 2 years. Nothing out
there matches it. However, because it hasn’t been updated in so long my security
software is now flagging it as « abandoned. » Please « update » the plug-in! (Maybe
to include not stripping formatting from the excerpt?)

![](https://secure.gravatar.com/avatar/43cc879acb24819aa26aecbd0685b4950de9b82fcfb9689fdc8968140c84603f?
s=60&d=retro&r=g)

### 󠀁[The best plugin for random posts](https://wordpress.org/support/topic/the-best-plugin-for-random-posts/)󠁿

 [sylvsteph](https://profiles.wordpress.org/sylvsteph/) 28 avril 2021

This plugin is really excellent. It works for me with Wordpress 5.7. I would be 
nice that the Developer makes a test and declare the plugin compabible (or not) 
for the last version of wordpress.

![](https://secure.gravatar.com/avatar/19c464ed3127dbcd5cf8468c51cf5c68c4c8064a15835231eb3ea00e58c917f1?
s=60&d=retro&r=g)

### 󠀁[So boring](https://wordpress.org/support/topic/so-boring/)󠁿

 [mistermozg](https://profiles.wordpress.org/mistermozg/) 20 décembre 2020

U don’t have support AVIF.

![](https://secure.gravatar.com/avatar/b5f8bb119c01663fa4fe63a1718e3e76145fde5210ef0f52d8c7427e9fac499f?
s=60&d=retro&r=g)

### 󠀁[Plugin abandoned](https://wordpress.org/support/topic/plugin-abandoned-59/)󠁿

 [primeratoma](https://profiles.wordpress.org/primeratoma/) 19 novembre 2020

In the beginning this plugin was great, but several months ago, the developer has
abandoned it. No answers in the support forum, and not updates. Best regards.

 [ Lire les 39 avis ](https://wordpress.org/support/plugin/advanced-random-posts-widget/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Advanced Random Posts Widget » est un logiciel libre. Les personnes suivantes 
ont contribué à cette extension.

Contributeurs

 *   [ Ga Satrya ](https://profiles.wordpress.org/satrya/)

“Advanced Random Posts Widget” a été traduit dans 2 locales. Remerciez [l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/advanced-random-posts-widget/contributors)
pour ses contributions.

[Traduisez « Advanced Random Posts Widget » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/advanced-random-posts-widget)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/advanced-random-posts-widget/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/advanced-random-posts-widget/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/advanced-random-posts-widget/)
par [RSS](https://plugins.trac.wordpress.org/log/advanced-random-posts-widget/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 2.2.0 – March 07, 2019

 * Support WordPress 5.1
 * Added: Display full post. props [Rhys Wynne](https://profiles.wordpress.org/rhyswynne/)
 * Added: `width` and `height` attribute if using custom image size

## Méta

 *  Version **2.2.1**
 *  Dernière mise à jour **il y a 3 ans**
 *  Installations actives **10 000+**
 *  Version de WordPress ** 4.5 ou plus **
 *  Testé jusqu’à **6.1.10**
 *  Langues
 * [English (US)](https://wordpress.org/plugins/advanced-random-posts-widget/), 
   [Persian](https://fa.wordpress.org/plugins/advanced-random-posts-widget/), et
   [Russian](https://ru.wordpress.org/plugins/advanced-random-posts-widget/).
 *  [Traduisez la dans votre langue](https://translate.wordpress.org/projects/wp-plugins/advanced-random-posts-widget)
 * Étiquettes
 * [Random Posts](https://fr.wordpress.org/plugins/tags/random-posts/)[sidebar](https://fr.wordpress.org/plugins/tags/sidebar/)
   [thumbnail](https://fr.wordpress.org/plugins/tags/thumbnail/)[widget](https://fr.wordpress.org/plugins/tags/widget/)
   [widgets](https://fr.wordpress.org/plugins/tags/widgets/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/advanced-random-posts-widget/advanced/)

## Évaluations

 4 sur 5 étoiles.

 *  [  23 avis à 5 étoiles     ](https://wordpress.org/support/plugin/advanced-random-posts-widget/reviews/?filter=5)
 *  [  5 avis à 4 étoiles     ](https://wordpress.org/support/plugin/advanced-random-posts-widget/reviews/?filter=4)
 *  [  2 avis à 3 étoiles     ](https://wordpress.org/support/plugin/advanced-random-posts-widget/reviews/?filter=3)
 *  [  7 avis à 2 étoiles     ](https://wordpress.org/support/plugin/advanced-random-posts-widget/reviews/?filter=2)
 *  [  2 avis à 1 étoiles     ](https://wordpress.org/support/plugin/advanced-random-posts-widget/reviews/?filter=1)

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

[Voir tous les avis](https://wordpress.org/support/plugin/advanced-random-posts-widget/reviews/)

## Contributeurs

 *   [ Ga Satrya ](https://profiles.wordpress.org/satrya/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/advanced-random-posts-widget/)