이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Randomize

설명

Randomize simply displays randomized text. You’re able to deposit text passages, quotes and HTML code in the administration backend by categories. You can use the widget, a shortcode or template tag to show up randomized content on your site.

Ready for translation

Since version 1.4 was released Randomize is ready for translation. Feel free to add or support your language on translate.wordpress.org!

Development Notice

The original author has discontinued the development, so that I decided to continue the free distribution under the new name “Randomize”. It’s based on “Random Text” by pantsonhead.

스크린샷

  • Sample output on frontend
  • Single import with HTML
  • Bulk import with multiple lines of content
  • Randomize overview
  • Widget configuration

설치

  1. Upload the zip to your WordPress installation and activate it.
  2. Switch to “Appearance” -> “Widgets” for using the widget OR embed a shortcode/template tag.
  3. Manage your entries in “Settings” -> “Randomize”.

Note: During installation, Randomize creates a new table to your WP database to store the entries by category. After setup you should see two sample entries.
By uninstalling the plugin the DB tables will be removed also.

FAQ

Can I use shortcodes?

Yes, you can use…
[randomize]
for all strings, or
[randomize category=’EXAMPLE_CATEGORY’]
for a specific category, or even
[randomize category=’EXAMPLE_CATEGORY’ random=’1′]
for a specific category also, but with randomization instead of rotating.

What about template tags?

You can use something like this, where ‘EXAMPLE_CATEGORY’ is the group you wish to select items from:

<?php randomize('EXAMPLE_CATEGORY'); ?>

Can I embed images?

You are able to embed images by using the general HTML tag. Maybe you would like to create an own category for images in Randomize.

후기

2022년 8월 30일
The plugin does what it should and the bulk actions and categories are super solved! It would still be nice if you could output each widget with an indvidual class or format such as Div, H1, H2.
2022년 6월 5일
It is a really simple plugin and it works as intended but there are no docs on the plugin page about what the shortcode syntax, turn to the FAQ here and you will find that there is a spelling mistake in the shortcode docs, with randomise instead of randomize, only the american spelling 'randomize' will work. Author if you are still about, can you correct this please and maybe add a little to the plugin config page with the shortcode syntax so we don't have to hunt it down here. Thanks
2019년 2월 10일 1 reply
I utilized this plugin to generate random text links. It works fine on the default rotation setting but not at all on the random setting. On your widget you state that when using large numbers of entries, that some will never show up in random mode. I'm using 9 (soon to be 12) text links and it only brings up the first row in the database. Could this be because the random function has a static number used as the maximum random value? I know PHP but am just learning Wordpress hooks & functions. I will try and look at the underlying code when I get a chance. When I use the random function in a LAMP environment I make 2 database queries. One to get the row count of files, then I use that variable as the maximum value when I call the random function.
2016년 10월 4일
I have problem, i just started with WP and migrate my web from another CMS, so I have enabled debug mode and it says: Notice: The called constructor method for WP_Widget in randomize is deprecated since version 4.3.0! Use __construct() instead. Can comebody fix this plugin? Yes, I know if I disable debug mode, message goes away.
모든 8 평가 읽기

기여자 & 개발자

“Randomize”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Randomize”(이)가 8(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Randomize”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

v1.4.2 2018-08-01

  • Deleted local language files (no longer necessary)
  • added a small donation link in admin area

v1.4 2018-04-27

  • Internationalized
  • added german language file
  • requires WordPress 4.6+ now
  • requires PHP 5.6+ now

v1.3.1 2018-04-26

  • tested with WP 4.9.5
  • Updated licence to GPLv3
  • Updated assets
  • Updated FAQ for PHP template tags
  • Updated required PHP version

v1.3 2017-03-05

  • Hotfix

v1.1 2016-10-20

  • Replaced function “WP_Widget()” with “parent::__construct()”, which is deprecated since version 4.3.0 of WordPress

v1.0 2014-06-03

  • Initial release