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

Shuffle

外掛說明

Shuffle lets you:

  1. Attach an item (Image, Audio, Video) to anything (Post, Page, Custom Post Type, another Attachment)!

Use these functions in your Theme to get your re-ordered Media:

<?php
//In the Loop:
get_images();

//Outside of the Loop:
get_images( get_the_ID() );

// Audio
get_audio();

// Video
get_video();

?>

Read more: http://scotty-t.com/2010/11/15/my-first-plugin-shuffle/

螢幕擷圖

  • In your Post library, rollover actions have added to conveniently point you to all of your item’s attachments

  • You can now attach an attachment to ANYTHING, why not another attachment! Since all we are doing is setting post_parent, and attachments are Posts in the database, it is now easy to manage your associations. We also make sure you can’t attach an attachment to itself 🙂

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈Shuffle〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.5

  • Update the code, remove things that are now in WordPress core

0.4

  • Re-wrote the whole thing

0.3

  • Removed =& wherever it was unnecessarily being used, important so no Notices / Errors will not be thrown when error_reporting(-1)

0.2

  • get_images() will now exclude the post’s featured image / post thumbnail by default
  • all Theme functions will now take query_posts() params as the only argument if desired, ‘and_featured’ => true will force the return of the post thumnbail in the result

0.1

  • Initial release