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.

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 (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

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

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]"); ?>