该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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 . ”;
}
?>

评价

此插件暂无评价。

更新日志

0.2a

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