{"id":340,"date":"2013-11-15T20:50:41","date_gmt":"2013-11-15T20:50:41","guid":{"rendered":"http:\/\/engage.augsburg.edu\/mannj\/?p=340"},"modified":"2015-12-30T11:22:16","modified_gmt":"2015-12-30T16:22:16","slug":"infobar-and-infobox","status":"publish","type":"post","link":"https:\/\/engage.augsburg.edu\/mannj\/2013\/11\/15\/infobar-and-infobox\/","title":{"rendered":"Infobar and Infobox"},"content":{"rendered":"<h2>Infobar<\/h2>\n<p>You can put an infobar on your page using this shortcode:<\/p>\n<pre>[infobar link=\"your_url_here\" text=\"Register for our event\"]<\/pre>\n<p>link=&#8221;x&#8221; contains the URL it will link to, and the text=&#8221;x&#8221; contains the text that will display in your infobar.<!--more--><\/p>\n<h3>Customize<\/h3>\n<p>You can customize certain attributes of the infobar.<\/p>\n<p>color=&#8221;x&#8221; &#8211; The infobar is green by default. Your other color options are maroon, blue, and orange.<\/p>\n<ul>\n<li>Example: color=&#8221;maroon&#8221;<\/li>\n<\/ul>\n<p>align=&#8221;x&#8221; &#8211; The text aligns to on the left side of the infobar, but you can change that to center or right.<\/p>\n<ul>\n<li>Example: align=&#8221;center&#8221;<\/li>\n<\/ul>\n<p>Here&#8217;s an example of an infobar using all these attributes:<\/p>\n<pre>[infobar link=\"your_url_here\" text=\"Register for our event\" align=\"center\" color=\"maroon\"]<\/pre>\n<h2>Infobox<\/h2>\n<p>An infobox is more complicated than the infobar, so use the infobar if that suits your needs. But if you want an infobox instead, here&#8217;s how you do it.<\/p>\n<p>You can put an infobox on your page using this shortcode:<\/p>\n<pre>[infobox link=\"your_url_here\"]\r\n\r\nWhat the Box Says\r\n\r\n[\/infobox]<\/pre>\n<h3>Customize<\/h3>\n<p>You can customize certain attributes of the box.<\/p>\n<p>textsize=&#8221;x&#8221; &#8211; Use this to make the text in the box larger or smaller. It&#8217;s based on the em size system. Default size is 1.2, so go up or down by decimal points to resize. If you want the text bigger, try 1.3 or 1.4; if you want it smaller, try 1.1 or 1.0.<\/p>\n<ul>\n<li>Example: textsize=&#8221;1.4&#8243;<\/li>\n<\/ul>\n<p>color=&#8221;x&#8221; &#8211; Default color is maroon. Other options are blue, green, and orange. Make sure the word is all lowercase letters.<\/p>\n<ul>\n<li>Example: color=&#8221;blue&#8221;<\/li>\n<\/ul>\n<p>bottomtext=&#8221;x&#8221; &#8211; Default bottom text is &#8220;Register Now&#8221;. If you want it to be something else, like &#8220;Apply Now&#8221; or &#8220;Learn more&#8221;, you can make that change.<\/p>\n<ul>\n<li>Example: bottomtext=&#8221;Apply Now&#8221;<\/li>\n<\/ul>\n<p>align=&#8221;x&#8221; &#8211; Default alignment is left. You can also do right or center.<\/p>\n<ul>\n<li>Example: align=&#8221;center&#8221;<\/li>\n<\/ul>\n<p>Pro Tip: Your text may look better in all-caps.<\/p>\n<p>Here&#8217;s an example using all of these attributes. Remember that these are all optional except for the link.<\/p>\n<pre>[infobox link=\"your_URL_here\" color=\"blue\" bottomtext=\"Apply Now\" textsize=\"1.4\" align=\"center\"]\r\n\r\nWHAT THE BOX SAYS\r\n\r\n[\/infobox]<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Infobar You can put an infobar on your page using this shortcode: [infobar link=&#8221;your_url_here&#8221; text=&#8221;Register for our event&#8221;] link=&#8221;x&#8221; contains the URL it will link to, and the text=&#8221;x&#8221; contains the text that will display in your infobar.<\/p>\n","protected":false},"author":112,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/posts\/340"}],"collection":[{"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/users\/112"}],"replies":[{"embeddable":true,"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/comments?post=340"}],"version-history":[{"count":8,"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/posts\/340\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/posts\/340\/revisions\/471"}],"wp:attachment":[{"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/media?parent=340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/categories?post=340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/engage.augsburg.edu\/mannj\/wp-json\/wp\/v2\/tags?post=340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}