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

B7 Random Images

설명

B7 Random Images allows you to display a selection of random images from your media library on any post or page using a simple shortcode. You can easily choose the images you want to display by specifying their media IDs, the total number of images to show, and the size of the images.

Parameters

  • media_ids: (string) A comma-separated list of media attachment IDs (required).
  • total: (integer) The number of random images to display (default: 1, max: 5).
  • size: (string) The size of the images (default: ‘full’). Options include ‘thumbnail’, ‘medium’, ‘large’, ‘full’.

How to use and examples

To use the B7 Random Images plugin, follow these simple steps:

  1. Insert the Shortcode: Add the shortcode to your post or page where you want the random images to appear. The basic format is:
  • media_ids: Replace "1,2,3,4,5" with the actual IDs of the images you want to display, separated by commas.
  • total: Specify the number of random images to show (between 1 and 5). For example, total="3" will display 3 random images.
  • size: Choose the size of the images. Options include thumbnail, medium, large, or full. The default is full.
  1. Example Usage: Here are a few examples of how to use the shortcode:
  • To display 2 random images from specific media IDs in full size:
    [blogvii_random_images media_ids="10,20,30" total="2" size="full"]

  • To display 5 random images in medium size:
    [blogvii_random_images media_ids="5,15,25,35,45" total="5" size="medium"]

  1. View the Results: After adding the shortcode, preview or publish your post/page to see the random images displayed.

스크린샷

  • Using shortcode
  • Random image displayed on a page.

설치

  1. Install and activate the plugin from your WordPress Admin Dashboard.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use the shortcode [blogvii_random_images media_ids="your_ids" total="number" size="image_size"] in your posts or pages.

FAQ

How do I find the media IDs?

You can find the media IDs by going to the Media Library, clicking on an image, and checking the URL in the address bar. The ID will be at the end of the URL (e.g., post=123 means the ID is 123).

Can I display more than one image?

Yes, you can specify the total parameter to display up to 5 random images.

Are the images responsive?

Yes, the layout is built with Flexbox CSS, ensuring that images adapt to different screen sizes.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

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

기여자

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

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

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

변경이력

1.0.0 – Release Date 29th Oct 2024

Initial release.