{"id":8141,"date":"2023-08-15T11:06:28","date_gmt":"2023-08-15T18:06:28","guid":{"rendered":"https:\/\/membermouse.com\/?post_type=ht_kb&#038;p=8141"},"modified":"2024-04-25T16:30:24","modified_gmt":"2024-04-25T20:30:24","slug":"codigos-de-acesso-disponiveis-para-os-cursos-do-membermouse","status":"publish","type":"ht_kb","link":"https:\/\/membermouse.com\/pt\/docs\/available-shortcodes-for-membermouse-courses\/","title":{"rendered":"Shortcodes dispon\u00edveis para os cursos do Membermouse"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Courses For MemberMouse Extention includes several shortcodes. These allow you to display courses or sections of courses on arbitrary pages of your site. For logged-in members, you may also display a list of accessible courses.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Display Accessible Courses<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Displays a paginated list of all courses available to the currently logged-in member. When the shortcode is displayed by a visitor who is not logged into the site, no content is displayed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong> <code>[mmcs-my-courses]<\/code><\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Display Course Overview<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Displays the list of all sections and lessons from a specific course. It requires only one of the following two attributes:<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>course_id<\/code>&nbsp; Course ID that you want to display. To get a course ID, open the course in the editor, and the ID is displayed as the value of the&nbsp;<em>post&nbsp;<\/em>parameter in the browser address bar<br><br><\/li>\n\n\n\n<li><code>lesson_id<\/code>&nbsp; The ID of a lesson contained within the course that you want to display. &nbsp;To get a lesson ID, open a course in the editor, click&nbsp;<em>Curriculum<\/em>, and edit one of the lessons in the course. The lesson ID is displayed as the value of the&nbsp;<em>post<\/em>&nbsp;parameter in the browser address bar <br><br><img decoding=\"async\" class=\"wp-image-9839\" style=\"width: 400px;\" src=\"https:\/\/storage.googleapis.com\/wpgcbucket\/wp\/2023\/09\/17b659ae-9sflexpeizvxehnxhktuwax_ipk4baqspw.png\" alt=\"\"><br><br><br><strong>Example:<\/strong> <code>[mmcs-course-overview course_id='472']<\/code><\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Display Section Overview<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Displays the list of all lessons in a specific section of one of your courses. It accepts a&nbsp;lesson_id&nbsp;parameter, which should be set to the ID of one of the lessons contained within the desired section. To get a lesson ID, open a course in the editor, and click&nbsp;<em>Curriculum<\/em>. Edit one of the lessons contained within the desired section. The lesson ID is displayed as the value of the&nbsp;<em>post<\/em>&nbsp;parameter in the browser address bar<br><br><img decoding=\"async\" class=\"wp-image-9840\" style=\"width: 400px;\" src=\"https:\/\/storage.googleapis.com\/wpgcbucket\/wp\/2023\/09\/ba1d34a9-ylr1ijlfxou-gimvpkmnk1avbpzanvwj2q.png\" alt=\"\"><br><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong> <code>[mmcs-section-overview lesson_id='502']<\/code><\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A extens\u00e3o Courses For MemberMouse inclui v\u00e1rios c\u00f3digos de acesso. Eles permitem que voc\u00ea exiba cursos ou se\u00e7\u00f5es de cursos em p\u00e1ginas arbitr\u00e1rias do seu site. Para membros conectados, voc\u00ea tamb\u00e9m pode...<\/p>","protected":false},"author":21411,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"ht-kb-category":[194],"ht-kb-tag":[],"class_list":["post-8141","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-courses-mm"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb\/8141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/users\/21411"}],"replies":[{"embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/comments?post=8141"}],"version-history":[{"count":0,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb\/8141\/revisions"}],"wp:attachment":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/media?parent=8141"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb-category?post=8141"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb-tag?post=8141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}