TWG AMP Related Posts

外掛說明

TWG AMP Related Posts is a lightweight WordPress plugin that displays related posts on AMP pages based on post categories. It includes an admin settings page for customization.

Features:

  • Display related posts on AMP pages.
  • Choose number of related posts to display.
  • Sort by Recent or Random.
  • Enable/Disable thumbnails.
  • Uses wp_get_attachment_image() for optimized images.
  • Fully translation-ready.

This plugin is optimized for performance and security, ensuring a smooth AMP experience.

License

This plugin is licensed under GPL-2.0+.
For more details, visit GNU License.

螢幕擷圖

安裝方式

  1. Download the plugin ZIP file and extract it.
  2. Upload the twg-amp-related-posts folder to /wp-content/plugins/.
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Go to Settings > AMP Related Posts to configure the plugin.

常見問題集

Where can I find the settings?

Go to WordPress Admin > Settings > AMP Related Posts.

Does this plugin work with non-AMP pages?

No, this plugin is specifically designed for AMP pages only.

How does it determine related posts?

It finds posts from the same categories as the current post.

Can I customize the layout?

Yes! You can modify the CSS inside twg_amp_related_posts_inline_styles() in the main plugin file.

Is this plugin translation-ready?

Yes, it supports WordPress localization.

使用者評論

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

參與者及開發者

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

參與者

將〈TWG AMP Related Posts〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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