Generates a button to prompt the user whether they want to purchase a game on Itch.io or not.
Create a download button for the game, Air Flip Drive by Omiya Games.
[itchio-button game="airflipdrive" user="omiyagames"]
Create a buy button for the game, Air Flip Drive by Omiya Games.
[itchio-button game="airflipdrive" user="omiyagames" text="Buy Now"]
Create a download button for the game, Air Flip Drive by Omiya Games, that's 1280 pixels wide, and 720 pixels tall.
[itchio-button game="airflipdrive" user="omiyagames" width="1280" height="720"]
The following options are supported:
(string) (required) The name (slug) of the game. For example, if the URL of the game is "https://omiyagames.itch.io/airflipdrive
," then fill this field with the string that comes after "itch.io/
," i.e. "airflipdrive
."
(string) (required) The username (slug) of who the game belongs to. For example, if the URL of the game is "https://omiyagames.itch.io/airflipdrive
," then fill this field with the string that comes in between "https://
" and ".itch.io/
," i.e. "omiyagames
."
(string) (optional) The text that'll appear on the button.
Default: "Download"
(integer) (optional) The width of the pop-up that appears after clicking the download button, in pixels.
Default: 650
(integer) (optional) The height of the pop-up that appears after clicking the download button, in pixels.
Default: 400
- Only one button can be created per webpage (so be careful about adding this to a widget). The shortcode does not create a unique ID for each button.