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

RSS Responsive Caption

外掛說明

This plugin allows publishers to better control the width of photos that use the WordPress caption shortcode feature, when that content is displayed in RSS feed readers like Google Reader, as displayed on small-screen mobile devices.

This plugin accomplishes the same thing that adjusting the “function img_caption_shortcode” code in includes/media.php would, but allows the user to automatically update WordPress without worrying about losing these changes.

It is the author’s hope that in future releases of WordPress (post 3.3), this plugin will prove unnecessary if (hard-working, responsive-minded) WordPress core developers decide to include the fix in newer versions of the awesome great open source software we have all come to love.

The code for this plugin was inspired by code found on this page of the codex:
https://codex.wordpress.org/Function_Reference/add_filter

Read more about RSS Responsive Caption on the author’s website here:
http://brandonmoeller.com/blog/2011/12/18/rss-responsive-caption/

螢幕擷圖

  • This
  • Is better than this

安裝方式

  1. Upload this directory to your plugins directory. It will create a ‘wp-content/plugins/rss-responsive-caption/’ directory.’
  2. Activate the plugin through the Plugins menu in WordPress.
  3. That’s it! The plugin will begin adding inline CSS code to the parsed caption shortcode that will allow RSS readers to better display your images that have captions.

常見問題集

Why would I need this plugin?

If you read your WordPress site in Google Reader on your mobile device – and if your site uses images with captions – you’ve probably noticed how some images look too big for the reader. This plugin fixes that problem by making the photos more responsive, in that they will never be wider than the screen that is viewing them.

What else can I do with this plugin?

You can re-name it and edit it to further alter the way that the default caption shortcode works. Making these changes in a plug-in is better than altering wp-includes/media.php because your changes will still be there next time you automatically update WordPress. Everyone wants to automatically update WordPress. It makes life better.

Read more about RSS Responsive Caption on the author’s website here: http://brandonmoeller.com/blog/2011/12/18/rss-responsive-caption/

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0

  • This is the first version of this plugin.