{"id":31,"date":"2017-02-17T19:57:55","date_gmt":"2017-02-17T19:57:55","guid":{"rendered":"http:\/\/wordpress.library.illinois.edu\/wp-training\/?page_id=31"},"modified":"2022-10-25T20:09:49","modified_gmt":"2022-10-25T20:09:49","slug":"collapsible-panes","status":"publish","type":"page","link":"https:\/\/wordpress.library.illinois.edu\/wp-training\/shortcodes\/collapsible-panes\/","title":{"rendered":"Collapsible Panes"},"content":{"rendered":"<h2>When to use<\/h2>\n<p>Collapsible panes\u00a0allow you to hide chunks of text in a hidden pane and reveal them when a user clicks the pane&#8217;s header. This feature can be helpful, for example, when creating long lists of lists where you want to keep the list headings above-the-fold. Collapsible panes are a bit more involved than some other shortcodes, but they are still relatively easy to master!<\/p>\n<h2>Attributes<\/h2>\n<h3>Optional Attributes<\/h3>\n<ul>\n<li><strong>color<\/strong> &#8212; changes color of panel to either:\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>blue<\/li>\n<li>red<\/li>\n<li>green<\/li>\n<li>yellow<\/li>\n<li>gray<\/li>\n<li>orange<\/li>\n<li>light-gray<\/li>\n<li>dark-blue<\/li>\n<li>illini-orange<\/li>\n<li>juicy-orange<\/li>\n<li>illini-blue<\/li>\n<li>smoky-blue<\/li>\n<li>burgundy<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>open= &#8220;true&#8221; OR &#8220;false&#8221;<\/strong>: determines whether the panel will be open or close on page load. Default value is false.<\/li>\n<li><strong>img=&#8221; link of your image&#8221;: <\/strong>Display an image on the panel.<\/li>\n<\/ul>\n<h3>Required Attributes<\/h3>\n<ul>\n<li><strong>title<\/strong><\/li>\n<\/ul>\n<h2>Basic Usage: <code>[collapse-pane title=\"Heading\"]Content[endcollapse-pane]<\/code><\/h2>\n<ol>\n<li>Begin opening the collapsible pane:<br \/>\n<strong><code>[collapse-pane<\/code><\/strong><\/li>\n<li>Add the required <strong><code>title<\/code><\/strong> attribute, set its value to the heading you would like to appear at the top of the pane, and add the final bracket:<br \/>\n<strong><code>title=\"The heading of a collapsible pane.\"]<\/code><\/strong><\/li>\n<li>Add the content to be shown in the pane:<br \/>\n<strong><code>Content of the collapsible pane.<\/code><\/strong><\/li>\n<li>Close the collapsible pane:<br \/>\n<strong><code>[endcollapse-pane]<\/code><\/strong><\/li>\n<\/ol>\n<h3>Results<\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n<strong><code>[collapse-pane title=\"The heading of a collapsible pane.\"]<br \/>\nContent of the collapsible pane.<br \/>\n[endcollapse-pane]<\/code><\/strong><\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-neutral-200 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">The heading of a collapsible pane.<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id1_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id1_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id1\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id1\" aria-controls=\"ui-lib-coll-pan-id1\" aria-expanded=\"false\" title=\"The heading of a collapsible pane.\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id1\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nContent of the collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/p>\n<h2>Adding an image<\/h2>\n<p><code>[<strong>collapse-pane <\/strong><\/code><br \/>\n<code><strong>color<\/strong>=\"smoky-blue\" <\/code><br \/>\n<code><strong>img<\/strong>=\"https:\/\/www.library.illinois.edu\/rbx\/wp-content\/uploads\/sites\/52\/2019\/07\/Proust.jpg\" <\/code><br \/>\n<code><strong>title<\/strong>=\"The heading of a collapsible pane V2.\"] <\/code><br \/>\n<code>Content of the collapsible pane. <\/code><br \/>\n<code>[<strong>endcollapse-pane<\/strong>]<\/code><\/p>\n<h2>Rendering<\/h2>\n<p>\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-bg-industrial_blue !sh-text-white sh-flex sh-justify-center sh-items-center focus:sh-outline-none focus-visible:sh-ring sh-relative\">\n      <div class=\"shortcode sh-w-2\/6 sh-ml-11\">\n          <img decoding=\"async\" src=\"https:\/\/www.library.illinois.edu\/rbx\/wp-content\/uploads\/sites\/52\/2019\/07\/Proust.jpg\" class=\"shortcode sh-w-full sh-h-full\" alt=\"\">\n      <\/div>\n      <div class=\"shortcode sh-w-4\/6 sh-flex \">\n          <div class=\"shortcode sh-flex sh-justify-center sh-items-center sh-grow\"><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">The heading of a collapsible pane V2.<\/span><\/div>\n          <div> \n            <div class=\"sh-flex sh-flex-col\">  \n              <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-industrial_blue !sh-text-white !sh-no-underline ui-lib-coll-pan-id2_label\" > expand <\/span><\/div>\n              <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-angles-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-industrial_blue !sh-text-white !sh-no-underline ui-lib-coll-pan-id2_arrow\" ><\/i> <\/div>\n            <\/div>\n          <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id2\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id2\" aria-controls=\"ui-lib-coll-pan-id2\" aria-expanded=\"false\" title=\"The heading of a collapsible pane V2.\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id2\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"> Content of the collapsible pane. <\/div><\/div><\/div><\/p>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-red-200 !sh-text-red-800 \"><div><div class=\"\"><span class=\" fa fa-exclamation-triangle\" aria-hidden=\"true\"><\/span> Special characters, quotation marks, asterisks etc. in a <code>title<\/code> value must be entered as HTML entities. See examples below. More about HTML entities at <a href=\"https:\/\/www.w3schools.com\/html\/html_entities.asp\">W3 Schools<\/a><\/div><\/div><\/div><\/p>\n<h2><code>color<\/code> attribute<\/h2>\n<p>Just like regular panes <code>[collapse-pane]<\/code> has one optional attribute: <code>color<\/code>. This attribute changes the background color or the pane. <code>color<\/code> has six allowable values: <code>blue, gray, green, light-gray, orange<\/code> and <code>red<\/code>. Below are <code> color<\/code> attribute usage examples along with HTML entity examples of special characters in titles.<\/p>\n<h3><code>color=\"blue\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n<strong><code>[collapse-pane title=\"The &amp;quot;Title&amp;quot; of a blue collapsible pane with HTML entity double quotation marks around the word title.\" color=\"blue\"]<br \/>\nSome interesting content in a blue collapsible pane.<br \/>\n[endcollapse-pane]<\/code><\/strong><\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-blue-100 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">Add a title<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-blue-100 !sh-text-black !sh-no-underline ui-lib-coll-pan-id3_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-blue-100 !sh-text-black !sh-no-underline ui-lib-coll-pan-id3_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id3\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id3\" aria-controls=\"ui-lib-coll-pan-id3\" aria-expanded=\"false\" title=\"Add a title\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id3\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a blue collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"gray\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n<strong><code>[collapse-pane title=\"A gray collapsible pane with a copyright symbol HTML entity in the heading &amp;copy;\" color=\"gray\"]<br \/>\nSome interesting content in a gray collapsible pane.<br \/>\n[endcollapse-pane]<\/code><\/strong><\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-neutral-300 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">A gray collapsible pane with a copyright symbol HTML entity in the heading \u00a9<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-300 !sh-text-black !sh-no-underline ui-lib-coll-pan-id4_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-300 !sh-text-black !sh-no-underline ui-lib-coll-pan-id4_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id4\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id4\" aria-controls=\"ui-lib-coll-pan-id4\" aria-expanded=\"false\" title=\"A gray collapsible pane with a copyright symbol HTML entity in the heading \u00a9\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id4\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a blue collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"green\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n<strong><code>[collapse-pane title=\"A green collapsible pane with a trademark symbol HTML entity in the heading &amp;reg;\" color=\"green\"]<br \/>\nSome interesting content in a green collapsible pane.<br \/>\n[endcollapse-pane]<\/code><\/strong><\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-light_green !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">A green collapsible pane with a trademark symbol HTML entity in the heading \u00ae<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-light_green !sh-text-black !sh-no-underline ui-lib-coll-pan-id5_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-light_green !sh-text-black !sh-no-underline ui-lib-coll-pan-id5_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id5\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id5\" aria-controls=\"ui-lib-coll-pan-id5\" aria-expanded=\"false\" title=\"A green collapsible pane with a trademark symbol HTML entity in the heading \u00ae\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id5\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a green collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"light-gray\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n<strong><code>[collapse-pane title=\"A light-gray collapsible pane with an apostrophe HTML entity in the heading &amp;apos;\" color=\"light-gray\"]<br \/>\nSome interesting content in a light-gray collapsible pane.<br \/>\n[endcollapse-pane]<\/code><\/strong><\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-neutral-200 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">A light-gray collapsible pane with an apostrophe HTML entity in the heading '<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id6_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id6_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id6\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id6\" aria-controls=\"ui-lib-coll-pan-id6\" aria-expanded=\"false\" title=\"A light-gray collapsible pane with an apostrophe HTML entity in the heading '\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id6\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a light-gray collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"orange\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n<strong><code>[collapse-pane title=\"An orange  collapsible pane with quotation mark and  apostrophe HTML entities in the heading: &amp;quot;Pilgrim&amp;apos;s progress&amp;quot;\" color=\"orange\"]<br \/>\nSome interesting content in a orange collapsible pane.<br \/>\n[endcollapse-pane]<\/code><\/strong><\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-orange-200 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">Add a title<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-orange-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id7_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-orange-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id7_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id7\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id7\" aria-controls=\"ui-lib-coll-pan-id7\" aria-expanded=\"false\" title=\"Add a title\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id7\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in an orange collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"red\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n<strong><code>[collapse-pane title=\"A red collapsible pane with Pound Sterling, Euro, and cent HTML entities in the heading: &amp;pound; &amp;euro; &amp;cent;\" color=\"red\"]<br \/>\nSome interesting content in a red collapsible pane.<br \/>\n[endcollapse-pane]<\/code><\/strong><\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-red-200 !sh-text-red-800 sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">A red collapsible pane with Pound Sterling, Euro, and cent HTML entities in the heading: \u00a3 \u20ac \u00a2<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-red-200 !sh-text-red-800 !sh-no-underline ui-lib-coll-pan-id8_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-red-200 !sh-text-red-800 !sh-no-underline ui-lib-coll-pan-id8_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id8\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id8\" aria-controls=\"ui-lib-coll-pan-id8\" aria-expanded=\"false\" title=\"A red collapsible pane with Pound Sterling, Euro, and cent HTML entities in the heading: \u00a3 \u20ac \u00a2\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id8\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a red collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When to use Collapsible panes\u00a0allow you to hide chunks of text in a hidden pane and reveal them when a user clicks the pane&#8217;s header. This feature can be helpful, for example, when creating long lists of lists where you want to keep the list headings above-the-fold. Collapsible panes are a bit more involved than [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":0,"parent":24,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-31","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":19,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/31\/revisions"}],"predecessor-version":[{"id":3178,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/31\/revisions\/3178"}],"up":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/24"}],"wp:attachment":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/media?parent=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}