{"id":5215,"date":"2023-11-11T13:48:30","date_gmt":"2023-11-11T13:48:30","guid":{"rendered":"https:\/\/docs.redsun.design\/marni\/?page_id=5215"},"modified":"2023-11-11T13:56:46","modified_gmt":"2023-11-11T13:56:46","slug":"shortcodes","status":"publish","type":"page","link":"https:\/\/docs.redsun.design\/marni\/shortcodes\/","title":{"rendered":"Shortcodes"},"content":{"rendered":"\n<p>Using shortcodes is very easy. To use one, create a new post (or edit an existing one), and in the the editor type a shortcode in brackets. You can find a demonstration and the code for all included shortcodes on the&nbsp;<a href=\"http:\/\/marni.redsun.design\/shortcodes\/\" target=\"_blank\" rel=\"noreferrer noopener\">Shortcodes page<\/a>&nbsp;of the theme demo.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Dropcaps<\/h4>\n\n\n\n<p><code>[dropcap_large]First Letter[\/dropcap_large]<br>[dropcap]First Letter[\/dropcap]<br>[dropcap2_large]First Letter[\/dropcap2_large]<br>[dropcap2]First Letter[\/dropcap2]<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Pullquotes<\/h4>\n\n\n\n<p><code>[pullquote_left] Quote text [\/pullquote_left]<br>[pullquote_right] Quote text [\/pullquote_right]<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Highlight<\/h4>\n\n\n\n<p>Highlight 1 uses black text, hightlight 2 white text.<code>[highlight color=\"#a3d7df\"] highlighted text [\/highlight]<br>[highlight2 color=\"#101020\"] highlighted text [\/highlight2]<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Buttons<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"258\" src=\"https:\/\/docs.redsun.design\/marni\/wp-content\/uploads\/sites\/5\/2023\/11\/buttonshortcode.png\" alt=\"\" class=\"wp-image-5220\" style=\"width:500px\" srcset=\"https:\/\/docs.redsun.design\/marni\/wp-content\/uploads\/sites\/5\/2023\/11\/buttonshortcode.png 984w, https:\/\/docs.redsun.design\/marni\/wp-content\/uploads\/sites\/5\/2023\/11\/buttonshortcode-300x79.png 300w, https:\/\/docs.redsun.design\/marni\/wp-content\/uploads\/sites\/5\/2023\/11\/buttonshortcode-768x201.png 768w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p>Button which uses the button color as set in the Customizer:<code>[button link=\"http:\/\/www.fullURL.com\"]Click me![\/button]<\/code><\/p>\n\n\n\n<p>Button with custom color and which opens in a new tab:<code>[button window=\"new\" color=\"#DEC7CD\" link=\"http:\/\/www.fullURL.com\"]Click me![\/button]<\/code><\/p>\n\n\n\n<p>Button with custom color, with outline style and which opens in a new tab:&nbsp;<code>[button window=\"new\" color=\"#A3D7DF\" style=\"outline\" link=\"http:\/\/www.fullURL.com\"]Click me![\/button]<\/code><\/p>\n\n\n\n<p>Large button which uses the button color as set in the Customizer:<code>[button size=\"large\" link=\"http:\/\/www.fullURL.com\"]Click me![\/button]<\/code><\/p>\n\n\n\n<p>Large button with custom color and which opens in a new tab:<code>[button size=\"large\" window=\"new\" color=\"#DEC7CD\" link=\"http:\/\/www.fullURL.com\"]Click me![\/button]<\/code><\/p>\n\n\n\n<p>Large button with custom color, with outline style and which opens in a new tab:&nbsp;<code>[button size=\"large\" window=\"new\" color=\"#A3D7DF\" style=\"outline\" link=\"http:\/\/www.fullURL.com\"]Click me![\/button]<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Divider<\/h4>\n\n\n\n<p>Fullwidth divider<br><code>[divider]<\/code><\/p>\n\n\n\n<p>Short divider<br><code>[divider]<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Column Shortcodes<\/h4>\n\n\n\n<p>Please find a demonstration and the code for the column shortcodes on the&nbsp;<a href=\"http:\/\/marni.redsun.design\/shortcodes\/\" target=\"_blank\" rel=\"noreferrer noopener\">Shortcodes page<\/a>&nbsp;of the theme demo.<\/p>\n","protected":false},"excerpt":{"rendered":"Using shortcodes is very easy. To use one, create a new post (or edit an existing one), and in the the editor type a shortcode in brackets. You can find ...","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5215","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/docs.redsun.design\/marni\/wp-json\/wp\/v2\/pages\/5215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.redsun.design\/marni\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.redsun.design\/marni\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.redsun.design\/marni\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.redsun.design\/marni\/wp-json\/wp\/v2\/comments?post=5215"}],"version-history":[{"count":2,"href":"https:\/\/docs.redsun.design\/marni\/wp-json\/wp\/v2\/pages\/5215\/revisions"}],"predecessor-version":[{"id":5221,"href":"https:\/\/docs.redsun.design\/marni\/wp-json\/wp\/v2\/pages\/5215\/revisions\/5221"}],"wp:attachment":[{"href":"https:\/\/docs.redsun.design\/marni\/wp-json\/wp\/v2\/media?parent=5215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}