{"id":283,"date":"2014-05-24T06:29:33","date_gmt":"2014-05-24T11:29:33","guid":{"rendered":"http:\/\/theme.co\/x\/demo\/integrity\/10\/?page_id=283"},"modified":"2018-03-21T09:18:22","modified_gmt":"2018-03-21T14:18:22","slug":"code","status":"publish","type":"page","link":"https:\/\/demo.theme.co\/integrity-1\/shortcodes\/code\/","title":{"rendered":"Code"},"content":{"rendered":"<p>Using the code shortcode, you can easily add html, css, or any other markup to your site like this:<\/p>\n<pre  class=\"x-code\" ><code>&lt;div class=\"example\" style=\"color:#333333\"&gt;This is an example of the code shortcode. And interestingly enough, we are using the code shortcode to show you how to use the code shortcode (so meta).&lt;\/div&gt;<\/code><\/pre>\n<h2  class=\"h-custom-headline h5 accent\" ><span>Code<\/span><\/h2>\n<pre  class=\"x-code\" ><code>&#091;code&#093;&lt;div class=\"example\" style=\"color:#333333\"&gt;This is an example of the code shortcode. And interestingly enough, we are using the code shortcode to show you how to use the code shortcode (so meta).&lt;\/div&gt;&#091;\/code&#093;<\/code><\/pre>\n<h2  class=\"h-custom-headline h5 accent\" ><span>Options<\/span><\/h2>\n<ul class=\"x-ul-icons\"  >\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>id<\/strong>: add a unique ID to the shortcode.<\/li>\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>class<\/strong>: add a class or multiple classes to the shortcode. <\/li>\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>style<\/strong>: add inline styles to the shortcode.<\/li>\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>sanitize<\/strong>: set to &#8220;true&#8221; to escape special characters.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Using the code shortcode, you can easily add html, css, or any other markup to your site like this:<\/p>\n","protected":false},"author":16,"featured_media":0,"parent":259,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"_links":{"self":[{"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/pages\/283"}],"collection":[{"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":1,"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/pages\/283\/revisions"}],"predecessor-version":[{"id":7842,"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/pages\/283\/revisions\/7842"}],"up":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/pages\/259"}],"wp:attachment":[{"href":"https:\/\/demo.theme.co\/integrity-1\/wp-json\/wp\/v2\/media?parent=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}