{"id":858,"date":"2017-10-09T18:08:21","date_gmt":"2017-10-09T18:08:21","guid":{"rendered":"http:\/\/veno.es\/mememe\/?p=858"},"modified":"2021-12-30T16:26:36","modified_gmt":"2021-12-30T16:26:36","slug":"shortcodes","status":"publish","type":"post","link":"https:\/\/veno.es\/mememe\/shortcodes\/","title":{"rendered":"Shortcodes"},"content":{"rendered":"\n<p>MeMeMe comes with 3 shortcodes, all of them with many of options, easily configurable with the <a href=\"http:\/\/veno.es\/mememe\/gutenberg-blocks\/\">NEW Gutenberg Blocks<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Display the Meme generator<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">[mememe]<\/pre>\n\n\n\n<p><em>availabe options:<\/em><\/p>\n\n\n\n<p><code>limit=\"6\"<\/code> Limit templates number inside carousel (0 = show all)<br><code>nocarousel=\"1\"<\/code> Hide carousel under the generator<br><code>random=\"1\"<\/code> Display random templates inside carousel<br><code>tags=\"\"<\/code> Show only templates with selected tags. Accepts a comma separated list of attachment tag slugs<br><code>template=\"\"<\/code> Set default template (attachment ID)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">List Generated Memes<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">[mememe-list]<\/pre>\n\n\n\n<p><em>availabe options:<\/em><\/p>\n\n\n\n<p><code>category=\"\"<\/code> Accepts a specific meme category slug<br><code>columns=\"0\"<\/code> Number of static columns for the gallery grid (default 0 = responsive)<br><code>per_page=\"10\"<\/code> Posts per page (default: Global WP posts per page)<br><code>class=\"\"<\/code> Optional CSS class for the gallery<br><code>thumbsize=\"mememe-thumb\"<\/code> The slug of the thumbnail size (default meme size can be set inside the plugin&#8217;s settings)<br><code>margin=\"0\"<\/code> Thumbnails margin<br><code>author=\"1\"<\/code> Show only current author&#8217;s Memes, default = 0<br><code>filters=\"1\"<\/code> Show gallery filters by category (0 = hide)<br><code>search=\"0\"<\/code> Enable search<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">List Meme Templates<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">[mememe-templates]<\/pre>\n\n\n\n<p><em>availabe options:<\/em><\/p>\n\n\n\n<p><code>columns=\"0\"<\/code> Number of static columns for the gallery grid (default 0 = responsive)<br><code>paginate=\"10\"<\/code> Posts per page (default: Global WP posts per page)<br><code>random=\"1\"<\/code> Display random templates<br><code>thumbsize=\"thumbnail\"<\/code> The slug of the thumbnail size<br><code>margin=\"0\"<\/code> Thumbnails margin<br><code>title=\"1\"<\/code> Show template titles<br><code>class=\"\"<\/code> Optional CSS class for the gallery<br><code>filters=\"1\"<\/code> Show gallery filters by tag (0 = hide)<br><code>tags=\"\"<\/code> Show only templates with selected tags. Accepts a comma separated list of attachment tag slugs<br><code>search=\"0\"<\/code> Enable search<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p><strong>All shortcodes can also be directly called from the template<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php echo do_shortcode(\"[mememe]\"); ?&gt;<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php echo do_shortcode(\"[mememe-list]\"); ?&gt;<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php echo do_shortcode(\"[mememe-templates]\"); ?&gt;<br><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>MeMeMe comes with 3 shortcodes, all of them with many of options, easily configurable clicking on the new smiley button available inside the editor for Posts and Pages: Display the Meme generator, List Generated Memes, List Meme Templates. All shortcodes can also be directly called from the template<\/p>\n","protected":false},"author":2,"featured_media":1369,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-858","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-documentation"],"_links":{"self":[{"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/posts\/858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/comments?post=858"}],"version-history":[{"count":20,"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/posts\/858\/revisions"}],"predecessor-version":[{"id":10124,"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/posts\/858\/revisions\/10124"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/media\/1369"}],"wp:attachment":[{"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/media?parent=858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/categories?post=858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/veno.es\/mememe\/wp-json\/wp\/v2\/tags?post=858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}