Description
DemoSlot Embed shows free demo versions of online slots on your site. The demos come from the official sources of the game studios, through the free DemoSlot partner network.
- Demo Game block – search the catalogue by game or studio in the editor and pick a game.
- Game Grid block – games of one studio, of one category, random games, or your own list, with optional studio and category filters for visitors. Columns 1–8 or “Auto”, and Wide or Full width on themes that offer it.
- Game Catalogue block – the whole catalogue in one place, with a search field, Provider, Theme and Sort by above it and a “Load more” button:
[demoslot_catalogue]. - Your own real-money button – add your link in the settings and a “Play for real” button appears under every single game; a block can use its own link or hide it.
- Shortcodes for the classic editor and page builders such as Elementor, Divi and WPBakery:
[demoslot_game game="pragmatic-play/sweet-bonanza"]and[demoslot_games studio="hacksaw-gaming" count="8" columns="4"]. - Pasted links – paste a demoslot.com slot page address such as
https://www.demoslot.com/free-slots/sweet-bonanza/into an Embed block or on its own line in the classic editor, and it becomes the same player as the Demo Game block. A/de/,/pt/,/es/,/th/or/id/address opens the game in that language. - Automatic games – optional: every post of the types you choose gets the game its title names (“Sweet Bonanza Review” gets Sweet Bonanza), at the top, after the first paragraph, or before or after the first H2 heading; posts without a matching game get nothing or the 8 newest games. Each post can choose its own game or switch it off, and the Automatic games screen (DemoSlot Embed Automatic games) finds the games first and lists what each post gets before you turn it on.
- Click-to-play – a thumbnail and a Play button; the game loads only after the click, inline or in a pop-up, with a fullscreen button.
- Fast pages – the catalogue is copied to your site and refreshed daily; thumbnails can be stored on your site as WebP.
- Casino games too – besides slots the catalogue holds table games (roulette, blackjack, baccarat, poker, video poker), crash, instant-win, scratch, bingo and keno games, each with its game type.
- schema.org VideoGame markup for each embedded game (optional), with the game type as genre.
- Games that stop working are hidden automatically after the next daily refresh.
- Moving from SlotsLaunch – Tools Migrate from SlotsLaunch finds the SlotsLaunch games, grids and iframes of your site, finds the same games in the DemoSlot catalogue, shows a dry run you can review, and replaces them with DemoSlot shortcodes, with a backup and a rollback. Game pages of the SlotsLaunch plugin keep their addresses after you switch it off. WP-CLI:
wp demoslot-embed slotslaunch. - Ready for translation (text domain
demoslot-embed).
Shortcode attributes
[demoslot_game game="…" lang="…" currency="…" real_url="…" real_text="…" real="hide" align="…"]
game– the game’s slug, orstudio/game.lang–en,de,pt,es,thorid; empty uses the setting.currency– a three-letter code such asEUR; empty uses the setting.real_url,real_text– the link and text of the real-money button for this game; empty uses the settings.real="hide"shows no button.-
align–wideorfull(where the theme supports it).[demoslot_games studio=”…” category=”…” type=”…” games=”a,b” count=”8″ columns=”4″ order=”…” filters=”…”]
-
studio,categoryorgameschoose the games; without any of them the grid is random. type– keep only games of one type:slot,crash,instant,scratch,bingo,keno,roulette,blackjack,baccarat,poker,video-poker,diceorother.count1–48,columns1–8 orauto(as many as fit).order–name,newestorrandom.filters–none,studio,categoryorstudio,category.-
align–wideorfull.[demoslot_catalogue per_page=”24″ columns=”auto” order=”newest” type=”…” provider=”…” align=”…”]
-
per_page12–48 – games shown at first and added by “Load more”. columns–autoor 1–8.order– the sort shown first:newest,nameorname_desc.type– one game type, as above; empty shows every type.provider– one studio, for examplepragmatic-play: only its games, without the Provider list; search, themes, sort and “Load more” stay within it.lang,currency,align– as above.
Visitors search by game or studio name and pick a provider, a theme and the sort; the page is not reloaded. The Theme list appears when the catalogue has at least two themes; for now themes come with the games that have a page on demoslot.com.
External services
This plugin is an interface to the DemoSlot partner network, a service of DemoSlot (https://www.demoslot.com/). It does not work without a DemoSlot partner key, which you get for free by applying on demoslot.com.
- When – only after you save a key: when you save it (a connection check), once a day (the catalogue refresh), when you press “Sync now”, in the background for thumbnails when “Local images” is on, and during a SlotsLaunch migration dry run that you start (Tools Migrate from SlotsLaunch, or WP-CLI).
- What is sent – your partner key in a request header, and the plugin’s version, its edition and your site address in the user agent (for example
DemoSlotEmbed/0.7.0 (wporg); https://example.com/). A migration dry run also sends the names, studios and types of the SlotsLaunch games found on your site, to find the same DemoSlot games. Nothing about your visitors is sent by the plugin. - What your visitors’ browsers load – the game thumbnails from demoslot.com (unless “Local images” serves them from your site), and, only after a visitor clicks Play, the DemoSlot player page, which loads the studio’s demo game. Those pages are run by DemoSlot and the studios. The player’s address carries the address of your page (without its query) after a
#, which the browser never sends over the network; the DemoSlot player page reads it and passes it to DemoSlot with the start of the game. - What DemoSlot does with your page addresses – once a day DemoSlot opens a few of the pages where your games were played and looks for the credit line, so that your partner account can show where it is found. With the edition from WordPress.org this is only reported to you and never stops your games. With the direct edition from demoslot.com, where the line is part of the plugin, a site whose pages lack it is warned by email and its games pause until the line is back.
- Updates – a copy installed from demoslot.com instead of WordPress.org (the “direct” edition) also asks DemoSlot for its updates, at most twice a day.
DemoSlot terms and conditions: https://www.demoslot.com/demoslot-site-terms-conditions/
DemoSlot privacy policy: https://www.demoslot.com/privacy-policy/
SlotsLaunch API (optional, migration only). Only when you press “Look up SlotsLaunch ids” on the migration screen (or set SLOTSLAUNCH_TOKEN for WP-CLI), the plugin asks the SlotsLaunch API (https://slotslaunch.com/api/games) for the names of SlotsLaunch game ids found on your site that have no name there. It sends those ids, the SlotsLaunch token you give for that lookup (or the one your SlotsLaunch plugin saved, if you tick that box), your site’s domain as Origin, and with an API secret a signature. The token is used for that lookup only and never stored. SlotsLaunch is run by its own company: https://slotslaunch.com/ — terms: https://slotslaunch.com/terms-conditions — privacy: https://slotslaunch.com/privacy-policy
Backups of the SlotsLaunch migration. Before the migration replaces a field, it keeps the field’s original in its backup table, byte for byte, so a rollback restores it exactly. A SlotsLaunch iframe pasted into a page often carries your SlotsLaunch token in its address; that token stays in the backup and in its download (Tools Migrate from SlotsLaunch Backups Download, or wp demoslot-embed slotslaunch backup), and the Backups block says so. Keep the downloaded file private, and delete the backup once you no longer need a rollback. Deleting the plugin deletes its backups.
Credit line
The plugin can print the line “Free demo by DemoSlot” with a link to demoslot.com under every player and every grid, in your page’s language. It is off until you choose to show it: once DemoSlot has accepted your key, Settings DemoSlot Embed asks you once, with “Yes, show the link” and “No, thanks”. You can change your answer later under “Credit link”, and make the link nofollow. The games work the same either way.
Blocks
This plugin provides 3 blocks.
- Game Catalogue The whole DemoSlot catalogue with search, provider, theme and sort controls above it.
- Demo Game One free slot demo from DemoSlot, with a click-to-play player.
- Game Grid A grid of free slot demos from DemoSlot: by studio, by category, random, or hand-picked.
Installation
- Install and activate the plugin.
- Apply for a free partner key on demoslot.com and list your site’s domain.
- Paste the key under Settings DemoSlot Embed and save. The first catalogue sync starts at once.
- Add a “Demo Game” or “Game Grid” block, or one of the shortcodes.
FAQ
-
Where do I get the API key?
-
In your DemoSlot partner account: sign in at demoslot.com and open the DemoSlot Embed tab. No account yet? Apply there for free; the key appears once the application is approved. Paste it in Settings DemoSlot Embed; the “Getting started” steps at the top of that page show what is done and what comes next.
-
How do I add a game to a page?
-
In the block editor press + and choose Demo Game (one game) or Game Grid (several), or paste the shortcode
[demoslot_game game="sweet-bonanza"]or[demoslot_games studio="pragmatic-play" count="8"]. The settings page has both examples with a Copy button. -
Why does the player look the same on every theme?
-
The player and the grid carry the DemoSlot look (navy card, yellow Play, the credit line under the game) so visitors recognise the free demos on any site. The styles ship with the plugin, and no web fonts are loaded.
-
The player says the domain is not allowed
-
The DemoSlot player loads only on the domains listed in your partner account. Add the domain the page is on (without “www.”) in your DemoSlot account.
-
A game is missing from my page
-
It is not available at the moment (the studio removed it or its demo stopped working), so the plugin hides it from visitors. Editors see a short note in its place.
-
Can I add my own “Play for real” link?
-
Yes. In Settings DemoSlot Embed, “Real-money link”, enter your link (for example your casino affiliate link). Every single game then shows a “Play for real” button under the player that opens your link in a new tab, marked as a sponsored link. In a Demo Game block (panel “Real-money button”) or in the shortcode you can give one game its own link or hide the button. Grids and the catalogue do not show it.
-
How do I make the games use the whole width?
-
Select the block and choose “Wide width” or “Full width” in its toolbar (the theme decides how wide that is), and set Columns to “Auto” to fit as many games as the width allows. In a shortcode, add
align="full"andcolumns="auto". -
No. The studio’s game may use what it needs inside its own frame after a visitor clicks Play.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“DemoSlot Embed” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “DemoSlot Embed” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.14.2
- A pasted short slot address such as
https://www.demoslot.com/free-slots/sweet-bonanza/becomes the player of that game too; the full address of a slot page still comes first.
0.14.1
- Code clean-up for the WordPress.org review: every text the admin screens and WP-CLI print is escaped where it is printed, the block editor’s preview of a pasted slot link gets the player’s stylesheet through a script, and the WordPress.org package leaves its translations to translate.wordpress.org. Nothing changes on your site.
0.14.0
- DemoSlot Embed has its own item in the admin menu: Settings (the same page as Settings DemoSlot Embed) and Automatic games.
- Automatic games got their own screen: choose the rules, press “Find games” and watch the progress, check the list of posts, then turn it on for those posts. Each post in the list can be switched off, or opened to choose another game. This list replaces “Check matches”.
0.13.0
- Automatic games (off until you switch them on in Settings DemoSlot Embed): every post of the chosen types gets the game its title names, at the place you choose; posts without a matching game get nothing or the 8 newest games; a DemoSlot game box in the editor chooses another game or switches it off for one post; “Check matches” lists what your latest posts get. Posts that already hold a DemoSlot game are left as they are.
0.12.0
- Sharper game pictures: a single game’s player shows DemoSlot’s large poster (up to 1280 px) where the studio publishes one, and shows a small picture whole on a blurred background instead of stretching it. Grids keep the smaller picture.
0.11.1
- The Game Catalogue’s database queries are written out in full for the WordPress.org plugin checks. Nothing changes on your site.
0.11.0
- Direct edition: once DemoSlot accepts an editorial link to demoslot.com from a page of your site (in your partner account), the plugin stops printing the credit line on that site, and Settings DemoSlot Embed says so. If the link is removed, the line comes back.
0.10.0
- Settings DemoSlot Embed: “All shortcodes” in “Getting started” opens a window with every shortcode, what it shows, an example to copy and all of its attributes.
0.9.0
- Game Catalogue for one provider:
[demoslot_catalogue provider="pragmatic-play"](or Provider in the block’s Catalogue panel) shows only that studio’s games, with search, its themes, sort and “Load more”, and without the Provider list.
0.8.3
- Game Grid: the studio and category filters share the whole row above the games, like the catalogue’s controls, instead of sitting at the right end.
0.8.2
- Direct edition: Dashboard Updates shows a new version as compatible with your WordPress instead of “Not tested” when DemoSlot tested it with your WordPress branch.
0.8.1
- Grids with “Auto” columns show two games per row on phones again, like a grid of 4 columns.
- Direct edition: the update screen shows the plugin as tested with your WordPress version.
- Settings “Getting started” names the Game Catalogue block and its shortcode.
0.8.0
- New Game Catalogue block and
[demoslot_catalogue]shortcode: the whole catalogue with a search field, Provider, Theme and Sort by (newest first, name A–Z, Z–A) above it, the number of games found, and “Load more”. Searching and filtering use your site’s copy of the catalogue, without reloading the page. - Real-money button: your own link under every single game (“Play for real”, or your text), opening in a new tab as a sponsored link; a block or shortcode can set its own link or hide it.
- Wide and Full width now work for all three blocks (and
align="wide|full"in the shortcodes); grids take 1–8 columns or “Auto”, and show fewer columns when their space is narrow. - The catalogue copy keeps each game’s themes; after the update the plugin reads the catalogue once in full to learn them.
0.7.3
- Direct edition: “Check again” on Dashboard Updates now shows a new version on that same page (in 0.7.2 it appeared only on the next visit).
0.7.2
- Local images: a game’s picture is stored on your site about a minute after a page first shows it (before, it could take up to an hour). Two runs never work at the same time.
- Direct edition: “Check again” on Dashboard Updates, a new or removed key and the plugin’s own update ask DemoSlot for a new version at once instead of waiting up to 12 hours.
- Game Grid: in a hand-picked grid, people who can edit the page see which games were left out and why (not in the catalogue, or not available). Visitors see the grid as before.
0.7.1
- Block editor: in the game search of the Demo Game and Game Grid blocks, the arrow keys move through the results and Enter picks one also when other blocks follow on the page (before, the arrow keys jumped to the next block).
- Pop-up player: focus stays on the close button while the game loads, so Esc closes the dialog at any time.
0.7.0
- Credit line: off until you choose to show it. Once DemoSlot has accepted your key, the settings page asks you once; you can change the answer under “Credit link” at any time. The SlotsLaunch migration no longer ticks the credit box for you.
- The player tells DemoSlot on which of your pages a game was started (in the part of its address after “#”, which browsers never send over the network); the referrer stays your site’s address.
- Requests to DemoSlot name the plugin’s edition in the user agent.
- The settings page says when DemoSlot has paused the demos on your site.
0.6.0
- Settings: a new key that DemoSlot refuses or cannot check no longer replaces the key that works, empties the catalogue copy or starts a sync. “Getting started” and the key field say what happened, and a key is shown as accepted only once DemoSlot accepted it. An accepted new key keeps the games shown while it syncs. The first sync with another key is always a full one, which hides the games that key does not see. The Connection figure says when DemoSlot could not be reached.
- Catalogue sync: when DemoSlot cannot be reached or answers with a server error, the sync waits (5, 15, 30, then 50 minutes) and goes on from where it stopped instead of starting again. The settings page shows the error and the time of the next try. A sync that read far fewer games than DemoSlot lists, or got an answer without paging or without a total, ends without hiding any game. No request runs past the time of a sync step.
- An update that asks for one full sync keeps asking until such a sync has ended.
- Game grid: visitor filters take only the grid’s own studios and categories, and only requests from your own pages are cached, so random filter values no longer fill the database. The filter lists cover the whole catalogue. “Show all games” shows the games of the page again.
- Blocks: the links to the settings open in a new tab, outside the editor canvas, and the game search list scrolls with the arrow keys.
- A wrong DSEMB_API_BASE in wp-config.php now stops requests with a notice instead of using demoslot.com.
- Multisite: deactivating the plugin for the whole network removes its scheduled events on every site.
- Migrate from SlotsLaunch: a dry run no longer stalls on very long names, broken characters, large grids or a DemoSlot error; each step keeps to its time, and an error shows “Try again”. A step that stopped while writing is checked and counted once. Long WP-CLI runs keep their lock, also while they wait for DemoSlot. The backup and dry-run downloads, the totals and the WP-CLI output work in batches instead of filling the memory on large sites. A step that fails again and again ends with “Try again” after 15 minutes at the latest. Studios and games from DemoSlot are checked before they are written, mixed forms of one shortcode are left for you to replace by hand, and only the Elementor caches of the written posts are cleared.
- Migration backups: the Backups block and
wp demoslot-embed slotslaunch backupsay when a backup holds the SlotsLaunch token of pasted iframes. Keep such a file private.
0.5.1
- Settings: the shortcode and code boxes keep their text readable in a narrow column; the Copy button moves under the code instead of squeezing it.
0.5.0
- Settings: a “Getting started” route of three steps (connect the key, sync the catalogue, add games) that shows what is done and what to do next, the settings in four explained groups, Save always in reach, and the catalogue state with its last error.
- Migrate from SlotsLaunch: the steps of a migration, the result in figures, filters over the found games, the confirmation in the page with the exact number of replacements, and an in-place question before a backup is deleted.
- Blocks: the game search shows pictures and studios and works with the arrow keys and Enter; a site without a key says so and links to the settings.
- Player and grid: the DemoSlot look on every theme, a loading state, Full screen and Close under an inline game, and a “Show all games” button when a filter finds nothing.
0.4.0
- Migration from SlotsLaunch: Tools Migrate from SlotsLaunch and
wp demoslot-embed slotslaunchfind SlotsLaunch shortcodes and iframes, match their games with the DemoSlot catalogue, show a dry run to review, and replace them with DemoSlot shortcodes, with a backup and a rollback. SlotsLaunch game pages keep their addresses after the SlotsLaunch plugin is switched off. - Game Grid block and
[demoslot_games]: a game type filter.
0.3.0
- Game types: the catalogue copy stores each game’s type (slot, roulette, crash and so on), and the VideoGame markup uses it as genre. After the update the plugin reads the whole catalogue once to learn the types.
0.2.2
- Code clean-up for the WordPress.org review: grid queries are fixed SQL statements, and the bundled translations are read only when no language pack from translate.wordpress.org is installed.
0.2.1
- The catalogue sync pages by cursor where DemoSlot offers it, so no game is skipped when the catalogue changes during a sync.
0.2.0
- Pasted demoslot.com slot addresses become the Demo Game player, in the block editor’s Embed block and in the classic editor, with your settings; the editor preview shows the same player.
0.1.0
- First version: settings, catalogue sync, Demo Game and Game Grid blocks, shortcodes, click-to-play player, local WebP thumbnails, VideoGame markup, credit line, translations.
