Shortcodes
MeMeMe comes with 3 shortcodes, all of them easily configurable clicking on the new smiley button available inside the editor for Posts and Pages.
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
List Generated Memes
[mememe-list]
availabe options:
category=""
accepts a specific meme category slug
columns="0"
Number of static columns for the gallery grid (0 = responsive)
order="DESC"
Available order: ‘ASC’, ‘DESC’
orderby="date"
Available orderby: ‘title’, ‘date’, ‘ID’, ‘rand’)
per_page="10"
Post per page (default is taken from WordPress settings posts per page)
limit="0"
Max number of posts to show (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
List Meme Templates
[mememe-templates]
availabe options:
columns="0"
Number of static columns for the gallery grid (0 = responsive)
limit="0"
Max number of templates to show (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 (0 = show all)
margin="0"
Thumbnails margin
title="1"
Show template titles
class=""
Optional CSS class for the gallery
All shortcodes can also be directly called from the template
<?php echo do_shortcode("[mememe]"); ?>