{"id":3606,"date":"2024-12-11T15:55:22","date_gmt":"2024-12-11T20:55:22","guid":{"rendered":"https:\/\/www.montclair.edu\/university-communications\/?page_id=3606"},"modified":"2024-12-11T15:55:22","modified_gmt":"2024-12-11T20:55:22","slug":"steps","status":"publish","type":"page","link":"https:\/\/www.montclair.edu\/university-communications\/web-development-and-experience\/montclair-edu-website-framework\/wordpress-shortcodes\/steps\/","title":{"rendered":"Steps"},"content":{"rendered":"<p>The shortcodes <strong>stepgroup<\/strong> and <strong>step<\/strong> can be used to display an ordered list of steps for users to follow. Use the <strong>number <\/strong>attribute for the <strong>step <\/strong>element to set the step number.<\/p>\n<p>Steps are displayed as special labels for drawers. We recommend getting familiar with <a href=\"\/university-communications\/web-development-and-experience\/montclair-edu-website-framework\/\nwordpress-shortcodes\/drawers\/\">how to add drawers to your website<\/a> before reading this section. Each individual step can be displayed as closed (default) or open.<\/p>\n<p>Here&#8217;s an example implementation of content placed within steps.<\/p>\n<div class=\"prpl-step-group\"><div class=\"prpl-step\"><div class=\"prpl-step-number\"><span class=\"label-part\">Step<\/span> <span class=\"number-part\">1<\/span><\/div>\n<div class=\"prpl-step-content\"><div class=\"prpl-drawer open\"><div class=\"prpl-drawer-header\">Do This First<\/div><div class=\"prpl-drawer-content\">\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam gravida dignissim porta. Etiam sollicitudin mattis erat, vitae volutpat risus dictum et. Praesent nisi dolor, suscipit sed enim non, tincidunt auctor ex. Phasellus tempus augue dolor, ut porta justo ultrices pellentesque. Nam ut ante vitae nisl mollis aliquam. Nullam nec dolor sapien. Vestibulum tempor sapien non pretium varius. Fusce vulputate nibh nec mauris pellentesque posuere.<\/p>\n<\/div><\/div><\/div><\/div><div class=\"prpl-step\"><div class=\"prpl-step-number\"><span class=\"label-part\">Step<\/span> <span class=\"number-part\">2<\/span><\/div>\n<div class=\"prpl-step-content\"><div class=\"prpl-drawer\"><div class=\"prpl-drawer-header\">Do This Next<\/div><div class=\"prpl-drawer-content\">\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam gravida dignissim porta. Etiam sollicitudin mattis erat, vitae volutpat risus dictum et. Praesent nisi dolor, suscipit sed enim non, tincidunt auctor ex. Phasellus tempus augue dolor, ut porta justo ultrices pellentesque. Nam ut ante vitae nisl mollis aliquam. Nullam nec dolor sapien. Vestibulum tempor sapien non pretium varius. Fusce vulputate nibh nec mauris pellentesque posuere.<\/p>\n<\/div><\/div><\/div><\/div><div class=\"prpl-step\"><div class=\"prpl-step-number\"><span class=\"label-part\">Step<\/span> <span class=\"number-part\">3<\/span><\/div>\n<div class=\"prpl-step-content\"><div class=\"prpl-drawer\"><div class=\"prpl-drawer-header\">Do This Last<\/div><div class=\"prpl-drawer-content\">\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam gravida dignissim porta. Etiam sollicitudin mattis erat, vitae volutpat risus dictum et. Praesent nisi dolor, suscipit sed enim non, tincidunt auctor ex. Phasellus tempus augue dolor, ut porta justo ultrices pellentesque. Nam ut ante vitae nisl mollis aliquam. Nullam nec dolor sapien. Vestibulum tempor sapien non pretium varius. Fusce vulputate nibh nec mauris pellentesque posuere.<\/p>\n<\/div><\/div><\/div><\/div><\/div>\n<h2>Stepgroup Attributes<\/h2>\n<p>The <strong>stepgroup<\/strong> shortcode has no attributes.<\/p>\n<h2>Step Attributes<\/h2>\n<table class=\"responsive-table\">\n<thead>\n<tr>\n<th scope=\"col\">Name<\/th>\n<th scope=\"col\">Possible Values<\/th>\n<th scope=\"col\">Required<\/th>\n<th scope=\"col\">Notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>number<\/td>\n<td><strong>a number<\/strong><\/td>\n<td>Yes<\/td>\n<td>The step number<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Code Samples<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;stepgroup]&#x5B;step number=&quot;1&quot;]&#x5B;drawer label=&quot;Do This First&quot; open=&quot;true&quot;]\r\n\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. \r\n\r\n&#x5B;\/drawer]&#x5B;\/step]&#x5B;step number=&quot;2&quot;]&#x5B;drawer label=&quot;Do This Next&quot;]\r\n\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. \r\n\r\n&#x5B;\/drawer]&#x5B;\/step]&#x5B;step number=&quot;3&quot;]&#x5B;drawer label=&quot;Do This Last&quot;]\r\n\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. \r\n\r\n&#x5B;\/drawer]&#x5B;\/step]&#x5B;\/stepgroup]\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The shortcodes stepgroup and step can be used to display an ordered list of steps for users to follow. Use the number attribute for the step element to set the step number. Steps are displayed as special labels for drawers. We recommend getting familiar with how to add drawers to your website before reading this [&hellip;]<\/p>\n","protected":false},"author":411,"featured_media":3554,"parent":3552,"menu_order":14,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-3606","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/users\/411"}],"replies":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/comments?post=3606"}],"version-history":[{"count":4,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3606\/revisions"}],"predecessor-version":[{"id":3823,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3606\/revisions\/3823"}],"up":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/media\/3554"}],"wp:attachment":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/media?parent=3606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}