{"id":25491487,"url":"https://github.com/deepanker70/twg-amp-related-posts","last_synced_at":"2026-05-01T00:31:51.805Z","repository":{"id":263975835,"uuid":"891970565","full_name":"deepanker70/twg-amp-related-posts","owner":"deepanker70","description":"TWG AMP Related Posts displays related posts on AMP pages with titles, images, and links for users to discover more content.","archived":false,"fork":false,"pushed_at":"2025-11-06T22:03:45.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-07T00:07:01.925Z","etag":null,"topics":["amp","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://thewpguides.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepanker70.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-21T09:34:08.000Z","updated_at":"2025-11-06T22:03:48.000Z","dependencies_parsed_at":"2024-11-21T10:30:12.827Z","dependency_job_id":"042367da-f185-4654-9d11-1ebca9ff2034","html_url":"https://github.com/deepanker70/twg-amp-related-posts","commit_stats":null,"previous_names":["deepanker70/twg-amp-related-posts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepanker70/twg-amp-related-posts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanker70%2Ftwg-amp-related-posts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanker70%2Ftwg-amp-related-posts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanker70%2Ftwg-amp-related-posts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanker70%2Ftwg-amp-related-posts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepanker70","download_url":"https://codeload.github.com/deepanker70/twg-amp-related-posts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepanker70%2Ftwg-amp-related-posts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32481553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amp","wordpress","wordpress-plugin"],"created_at":"2025-02-18T22:11:33.605Z","updated_at":"2026-05-01T00:31:51.784Z","avatar_url":"https://github.com/deepanker70.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TWG AMP Related Posts\n\n## Description\n\n**TWG AMP Related Posts** displays related posts on AMP pages with titles, images, and links for users to discover more content. This plugin integrates with AMP-enabled WordPress sites and ensures that related posts are only shown when viewing AMP content.\n\nThe related posts are displayed below the main content on single post pages, based on shared categories. If no post thumbnail is found for any related post, a placeholder image is shown instead.\n\n## Features\n- Automatically displays related posts on AMP pages.\n- Fetches related posts based on categories.\n- Displays a thumbnail (or a placeholder image if not available) along with the post title.\n- Customizable related posts query to show a desired number of related posts.\n- Compatible with the official AMP plugin for WordPress.\n\n## Installation\n\n1. Clone or download the plugin files to your local machine.\n2. Upload the plugin files to the `/wp-content/plugins/twg-amp-related-posts` directory, or install the plugin through the WordPress plugin admin page.\n3. Activate the plugin through the 'Plugins' screen in WordPress.\n4. The related posts will automatically be shown on AMP-enabled posts.\n\n## Frequently Asked Questions\n\n### Will this plugin work with my theme?\nThis plugin is designed to work with any theme that supports AMP. If your theme is AMP-compatible or you're using the official AMP plugin for WordPress, the related posts will display properly.\n\n### How do I customize the number of related posts?\nThe number of related posts displayed can be adjusted by modifying the `'posts_per_page'` parameter in the code. The default is set to 5 related posts.\n\n### Can I change the placeholder image?\nYes, you can replace the placeholder image located in the `/assets/placeholder.jpg` file within the plugin directory. Just upload your own image there to use as the placeholder.\n\n## Screenshots\n1. Screenshot showing related posts displayed below the main content on an AMP page.\n2. Screenshot showing the related posts with a placeholder image.\n\n\n## Demo\nYou can check these AMP URLs, where I am using the same plugin for addin related post.\n\n[https://techlomedia.in/2025/11/realme-gt-8-pro-launching-in-india-on-november-20-118079/amp/](https://techlomedia.in/2025/11/realme-gt-8-pro-launching-in-india-on-november-20-118079/amp/)\n\n[https://techlomedia.in/2025/11/motorola-edge-70-with-120hz-poled-display-and-ultra-slim-design-launched-117972/amp/](https://techlomedia.in/2025/11/motorola-edge-70-with-120hz-poled-display-and-ultra-slim-design-launched-117972/amp/)\n\n## Changelog\n\n### 1.0\n* Initial release.\n\n## Upgrade Notice\n\n### 1.0\nThis is the first version of the plugin, which displays related posts on AMP pages with images and titles.\n\n## Acknowledgments\n- This plugin is built with the help of the official AMP plugin for WordPress.\n- Placeholder image is provided by [placeholder.com](https://placeholder.com).\n\n## Support\n\nFor support or questions, please visit the [plugin support page](https://github.com/deepankerverma/twg-amp-related-posts/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepanker70%2Ftwg-amp-related-posts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepanker70%2Ftwg-amp-related-posts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepanker70%2Ftwg-amp-related-posts/lists"}