このプラグインは 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)