RestPX is a powerful WordPress plugin and Elementor add-on that allows you to seamlessly fetch and display posts from external WordPress sites via the REST API. Perfect for aggregating content from multiple sites, creating news portals, or displaying related posts.
- Smart URL Parsing: Automatically detects and handles:
- Language Detection: Supports Polylang prefixes (e.g.,
/en/,/ka/) for multilingual sites. - Category Filtering: Automatically filters posts when a Category URL is provided (e.g.,
/category/news/).
- Language Detection: Supports Polylang prefixes (e.g.,
- Elementor Integration: Dedicated widget with extensive customization options.
- Responsive Design: Beautiful, fully responsive post cards with featured images.
- Performance Optimized: Caches API responses to reduce load times and server requests.
- Flexible Templates: Multiple card layouts (default, minimal, overlay).
- Shortcode Support: Use via shortcode for non-Elementor pages.
- WordPress 5.0 or higher
- Elementor 3.0 or higher
- PHP 7.4 or higher
- Download the plugin ZIP from GitHub Releases.
- Go to WordPress Admin > Plugins > Add New > Upload Plugin.
- Upload the ZIP file and activate the plugin.
- Upload the plugin files to the
/wp-content/plugins/rest-api-postsdirectory. - Activate the plugin through the 'Plugins' screen in WordPress.
- Edit your page with Elementor.
- Drag the RestPX widget to your page.
- Configure the settings:
- API URL: Enter the URL of the external WordPress site.
- Example:
https://example.com/ - Specific Category:
https://example.com/category/news/ - Specific Language:
https://example.com/en/
- Example:
- Posts Count: Set the number of posts to display (1-400).
- Language: (Optional) JavaScript language fallback if not present in URL.
- Card Template: Choose from Default, Minimal, or Overlay styles.
- API URL: Enter the URL of the external WordPress site.
Use the shortcode in any post or page:
[restpx api_url="https://example.com" count="5" language="en"]
- Enhancement: Increased maximum posts limit from 20 to 400 for better content aggregation capabilities
- Major Enhancement: Added comprehensive styling controls to Elementor widget, matching other Elementor widgets
- New Features:
- Advanced card styling (background colors, borders, shadows, spacing, hover effects)
- Image customization (height, border radius, borders)
- Enhanced typography controls for titles, dates, and excerpts
- Custom arrow uploads for navigation buttons
- Background options (colors, gradients, images) for the widget container
- Excerpt display toggle with full styling options
- UI Improvements: Expanded style tabs with organized sections for better user experience
- Enhanced performance with improved caching
- Added new overlay card template
- Better error handling for API requests
- Updated Elementor compatibility
- Initial release with basic functionality
- Smart URL parsing for categories and languages
- Elementor widget integration
- Responsive card designs
For support, bug reports, or feature requests, please open an issue on GitHub.
Contributions are welcome! Please fork the repository and submit a pull request.
This plugin is licensed under the GPL v2 or later.
Abe Prangishvili
- GitHub: @prangishviliAbe
