這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

SYRON Post Gallery Plugin

描述

Remember! This is still alpha version!

Screenshots

http://syron.se/files/wordpress/plugins/syron_gallery/pics/image_categories.png
http://syron.se/files/wordpress/plugins/syron_gallery/pics/media_albums.png
http://syron.se/files/wordpress/plugins/syron_gallery/pics/plugin_settings.png
http://syron.se/files/wordpress/plugins/syron_gallery/pics/post.png

Official Page

http://syron.se/

Usage Example Video

http://syron.se/

What it does

After installing the plugin, a new page will be added to the settings on ‘wp-admin’. There you have the choice to which post-types you will add the plugin. It currently will even let you add the plugin to attachments (to your media library), but it will not work there!

After you have chosen the post-types, to which you will add the plugin, a new meta box will be visible when adding/editing a post where you can choose the images, which you want to use! 

安裝

  1. Upload the plugin folder to the \’/wp-content/plugins/\’ directory, 
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.

After setting all up, you can just simple put the following code into The Loop of your template:
< ?php
$syron_gallery_images = get_post_meta(get_the_ID(), 'syron_gallery_images', true);
foreach ($syron_gallery_images as $image_id) {
$myimage = get_post($image_id);
$att = wp_get_attachment_image($image_id, "thumbnail");
echo 'guid . ‘” target=”_blank” style=”margin: 10px; padding: 5px;”>’ . $att . ”;
}
?>

評價

There are no reviews for this plugin.

修改日誌

0.2a

  • Added media categories
  • Added a select box when adding a post (it lets you search easier through all your media images)