Shortcodes

MeMeMe comes with 3 shortcodes, all of them with many of options, easily configurable clicking on the new smiley button available inside the classic editor for Posts and Pages, or with the NEW Gutenber Blocks.

Display the Meme generator

[mememe]

availabe options:

limit="6" Limit templates number inside carousel (0 = show all)
nocarousel="1" Hide carousel under the generator
random="1" Display random templates inside carousel
tags="" Show only templates with selected tags. Accepts a comma separated list of attachment tag slugs

List Generated Memes

[mememe-list]

availabe options:

category="" accepts a specific meme category slug
columns="0" Number of static columns for the gallery grid (default 0 = responsive)
per_page="10" Posts per page
limit="0" Max number of posts to show (default 0 = show all)
class="" Optional CSS class for the gallery
thumbsize="mememe-thumb" The slug of the thumbnail size (default meme size can be set inside the plugin’s settings)
margin="0" Thumbnails margin
author="1" Show current author’s Memes, default = 0
filters="1" Show gallery filters by category (0 = hide)

List Meme Templates

[mememe-templates]

availabe options:

columns="0" Number of static columns for the gallery grid (default 0 = responsive)
limit="0" Max number of templates to show (default 0 = show all)
random="1" Display random templates
thumbsize="thumbnail" The slug of the thumbnail size
paginate="0" Number of templates to show per page (default 0 = show all)
margin="0" Thumbnails margin
title="1" Show template titles
class="" Optional CSS class for the gallery
filters="1" Show gallery filters by tag (0 = hide)
tags="" Show only templates with selected tags. Accepts a comma separated list of attachment tag slugs


All shortcodes can also be directly called from the template

<?php echo do_shortcode("[mememe]"); ?>
<?php echo do_shortcode("[mememe-list]"); ?>
<?php echo do_shortcode("[mememe-templates]"); ?>