Shortcodes

Intro

This is a living document on how to insert shortcodes.

Shortcodes

The most crucial rule of inserting shortcodes into the content is to insert a line-break before, and after the shortcode:


  1. Some content text
  2.  
  3. shortcode
  4.  
  5. Some content text

CTA Button

This shortcode will autogenerate localized buttons that link to the web apps.

button-cta id=“never-have-i-ever”

Default

Button Text: Play Never have I Ever online

button-cta id=“never-have-i-ever”

Custom text

Button Text: Never ever

button-cta id=“never-have-i-ever” title=“Never ever”

Short

Button Text: Play Online

button-cta id=“never-have-i-ever” type=“short”

Plain

If you add class="plain" to the shortcode, it will look like a regular link.

button-cta id=“never-have-i-ever” class=“plain”

App Store Buttons

This shortcode will place side-by-side app store buttons in an article.

button-appstore id=“never-have-i-ever”

List of all available apps: Apps. Copy the last part of the url, example: psycatgames.com/games/party-trivia/

button-appstore id=“party-trivia”

Other apps

If you want to link to other app store apps that are not from us, you have to manually input the app IDs and app name:

button-appstore apple=“1234567890” google=“com.google.id” text=“App Name”

If the app is only available on one store:

button-appstore apple=“1234567890” text=“App Name”

Image

Places an image into the content.

img src=“some-image.jpg” title=“title of the image” alt=“alternative description”

YouTube Video

Places a YouTube video into the content.

youtube “video_id”

Compact Lists

Some list contain only single words. An example is the Charades Ideas page.

This shortcode transforms the list into a “Chip Cloud”. See Charades Ideas page.


  1. Some content text
  2.  
  3. chips-list
  4.  
    • List entry one
    • List entry two
    • List entry three

chips-list

Trivia Answer

This shortcode can be used to make an answer to a question visible.

On this page, we can ask a question and have a button below that says Show answer. Try it out!

This shortcode requires 2 parts: trivia-answer and /trivia-answer


  1. Which movie is Prince Charming from?
  2. A: Cinderella
  3. B: Little Mermaid
  4.  
  5. {{< trivia-answer >}}
  6.  
  7. A: Cinderella
  8.  
  9. {{< /trivia-answer >}}

Affiliate

Here is an example how it looks: On this Anime Board Games

Image + Amazon button

affiliate url=“https://ahref.cash/JQlreF" image=“https://m.media-amazon.com/images/I/41Z5Rm9c8lL._SL500_.jpg"

Amazon button only

affiliate url=“https://ahref.cash/JQlreF"

Magazine list

This shortcode generates article lists, based on a keyword.

magazine-list section=“party-games” id=“trivia” count=“all”

Here is an example how it looks: On this Party Games

Name generator list

This shortcode generates a list, based on a name generator ID.

name-generators-list list=“alien, demon, dragon”

Here is an example how it looks: On this Name Generators

Interactive Game

Places a game into the content. Use the app property to define which game should be displayed.

Important: There can only be one interactive game shortcode per page!

Currently available games:

game app=“most-likely-to”