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

Random Content Shortcode

설명

Check out the plugins page to see it in action.

Simple Shortcode for displaying random content on your site. Just wrap the shortcode arround the lines of content you want one to be displayed at random.

The following example will display one of the two videos or one of the two lines of text, empty lines will ignored.

[random_content]

A line with some text in it.

[arve url="https://youtu.be/b1rTZJxEnAQ" title="A Video Embedded with ARVE" maxwidth="350"]

A bold line.

[arve url="https://vimeo.com/124400795" title="A Video Embedded with ARVE" maxwidth="400"]

[/random_content]

By default the newline \n character is used to separate content. You can also choose another separator, do this if you have problems with the default or like to have random content with multiple lines on one piece like this:

[random_content separator="|||"]
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Aenean commodo ligula eget dolor. Aenean massa.
|||
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
|||
Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate

Aenean commodo ligula eget dolor. Aenean massa.
[/random_content]

Or have a compact single line like this:

[random_content separator="#"]One#Two#Three#Four[/random_content]

FAQ

Installation Instructions

Please refer to codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation.

후기

모든 1 평가 읽기

기여자 & 개발자

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

기여자

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

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

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

변경이력

2018-02-03 – 2.1.0

  • Fixed new version not working in sidebars.

2018-02-03 – 2.0.1

  • Namespace fix.

2018-02-02 – 2.0.0

  • Fix: Plugin not working correctly. Sometimes displaying nothing …
  • Improved: Added [random_content] shortcode because I read that dashes work but are not recommended. [random-content] still works for backwards compatibility but you should use [random_content].
  • Improved: Rewritten the the JavaScript and some PHP code. Removed jQuery dependancy.
  • Improved: Loads script early and dequeue it in case its not needed.

2016-11-07 – 1.3.3

  • Fix php error on admin screen.

2016-11-05 – 1.3.1

  • Fix spelling error the seperator attribute is now separator.
  • Fix plugin sometimes showing nothing.

1.2.1 – 2016-09-09

  • Fix plugin not working correctly.

1.1.0 – 2016-09-08

  • Rewrite some php and addind Javascript to make it work with chaching.

1.0.0 – 2016-09-07

  • Release