Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Advanced Random Posts Widget

Descriere

Notice

This plugin is no longer supported, please use 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.

Funcționalități incluse

  • Îți permite să setezi URL titlu.
  • Afișează miniaturi cu dimensiune și aliniere personalizată.
  • Afișează un rezumat cu lungime personalizată.
  • Afișează articole din toate categoriile, articole din categorii specifice sau multiple.
  • Afișează toate etichetele, etichete specifice sau multiple.
  • Display from all, specific or multiple taxonomy.
  • Afișează data articolului.
  • 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.
  • Piese multiple.

Support Me

Explicație scurtcod

Explicație pentru opțiuni scurtcod:

Scurtcod de bază

[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"]

Iată argumentele implicite complete pentru scurtcod

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=""

Capturi ecran

  • Setările piesei

Instalare

Din Panou control

  1. Autentifică-te în Panoul control WordPress și mergi la Module -> Adaugă modul
  2. Type advanced random posts widget in the search box and click on search button.
  3. Find Advanced Random Posts Widget plugin.
  4. Apoi dă clic pe Instalează acum, după care activează modulul.
  5. Mergi la pagina pieselor Aspect -> Piese.
  6. Find Random Posts widget.

Instalare via FTP

  1. Descărca modulul pe hard disk-ul tău.
  2. Dezarhivează.
  3. Upload the advanced-random-posts-widget folder into your plugins directory.
  4. Autentifică-te în Panoul control WordPress și dă clic pe meniul Module.
  5. Apoi activează modulul.
  6. Mergi la pagina pieselor Aspect -> Piese.
  7. Find Random Posts widget.

Întrebări frecvente

No image/thumbnail options?

Tema ta trebuie să accepte miniatură articol, te rog să mergi la https://codex.wordpress.org/Post_Thumbnails pentru a citi mai multe informații și cum s-o activezi în temă.

Dimensiune miniatură

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 Dimensiune miniatură 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 plugin to fix the image size.

Cum să adaug un stil personalizat?

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 {}

Recenzii

10 iunie 2022
this is a great useful plugin but need to be updated!
10 iunie 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?)
28 aprilie 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.
19 noiembrie 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.
Citește toate cele 39 de recenzii

Contributori și dezvoltatori

„Advanced Random Posts Widget” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„Advanced Random Posts Widget” a fost tradus în 2 locale. Mulțumim traducătorilor pentru contribuția lor.

Tradu „Advanced Random Posts Widget” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

2.2.0 – March 07, 2019

  • Support WordPress 5.1
  • Added: Display full post. props Rhys Wynne
  • Added: width and height attribute if using custom image size