Plays Games Widget
Plays Games Widget lets publishers add a portrait feed of playable HTML5 games to any WordPress page, post or widget area.
Features
- Infinite swipeable HTML5 games feed
- Thousands of playable HTML5 games
- Gutenberg block
- Shortcode support
- Category filtering
- Responsive design
- White-label embedding
- Adjustable width and height
- Adjustable corner radius
- Lazy loading
- Multiple widgets per page
- Privacy-friendly dashboard with opt-in external preview link
Use either:
- The Plays Games block in the block editor.
- The
[pgames_widget]shortcode. - Optional shortcode attributes for width, height, category, corner radius and lazy loading.
The plugin reserves the widget dimensions before loading, supports lazy loading and automatically sends the publisher site’s domain for aggregate attribution.
External service
This plugin displays content provided by Plays-Games.com inside an iframe.
The service provides:
- HTML5 game feed
- Preview videos
- Playable games
The widget loads content from:
https://plays-games.com/index-white-label.php
The website hostname is sent in the pub parameter to identify the publisher.
The plugin itself does not collect or store visitor personal data in WordPress. When the widget is displayed, the visitor’s browser connects directly to Plays-Games.com to load the external feed, and the Plays-Games.com Privacy Policy applies to that connection.
Creating a Plays-Games.com account is optional and is not required to install or use this plugin.
The Plays-Games.com service may display advertisements as part of the game experience, in the same way as when visiting Plays-Games.com directly.
Terms of Use: https://www.plays-games.com/terms-of-use.php
Privacy Policy: https://www.plays-games.com/privacy-policy.php
Documentation: https://plays-games.com/publisher-widget.html
Source code
All plugin JavaScript is included in this plugin in human-readable source form. No minified or compiled JavaScript is distributed and no build step is required.
The source files are:
assets/admin.jsblocks/plays-games/index.js
Shortcode
Basic:
[pgames_widget]
Customized:
[pgames_widget width="100%" height="650" category="arcade" radius="14" lazy="true"]
Categories
Choose from more than 90 categories directly in the widget settings, including:
- Arcade
- Puzzle
- Action
- Racing
- Sports
- Shooting
- Strategy
- Stickman
- Kids
Leave the category empty to display all games.
