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

Simplest Post Image Gallery

外掛說明

Simplest Post Image Gallery is the simplest and straightforward way how to attach images to your posts/pages and then be able to display them in your template.

Very basic and straightforward way how to attach images to your post/page via the admin interface. Even your grandma will understand this right away 🙂

螢幕擷圖

  • Select images that are already attached to your media library within the post/page edit screen.

安裝方式

  1. Upload simplest-post-image-gallery to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php $image_array = implest_post_image_gallery_array($post_id); ?> in your template file to retrieve the images for that post/page.

常見問題集

Installation Instructions
  1. Upload simplest-post-image-gallery to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php $image_array = implest_post_image_gallery_array($post_id); ?> in your template file to retrieve the images for that post/page.
Can I change how images are displayed in my theme

Yes, plugin public function returns the ID of images that are attached to the post/page. And them display them with <?php wp_get_attachment_image($image_id,'thumbnail', 1, 1); ?> function for example and place those images where and how you want them within that page. Or you can even use <?php get_post_meta($post->ID, 'post_images', true); ?> function in template and retrieve those IDs yourself.

Can I use Lightbox/Fancybox to display post images

Yes, you display them in your theme in any way how you see it fit. See the above answer

使用者評論

閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simplest Post Image Gallery〉的開發相關工作。

參與者

將〈Simplest Post Image Gallery〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

Stable version, code compiled as a proper plugin