=== TWG AMP Related Posts ===
Contributors: deepanker70
Tags: AMP, related posts, WordPress, customization, thumbnails  
Requires at least: 5.0  
Tested up to: 6.7  
Requires PHP: 7.2  
Stable tag: 1.3  
License: GPL-2.0+  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Display related posts on AMP pages with images and titles. Allows customization of the number of related posts, sorting order, and thumbnail display.

== Description ==

**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.

== Installation ==

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.

== Frequently Asked Questions ==

= 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**.

== License ==

This plugin is licensed under **GPL-2.0+**.  
For more details, visit [GNU License](https://www.gnu.org/licenses/gpl-2.0.html).
