{"id":159,"date":"2015-02-15T17:29:23","date_gmt":"2015-02-15T17:29:23","guid":{"rendered":"https:\/\/www1.stepfox.studio\/deus\/?p=159"},"modified":"2015-04-02T13:12:17","modified_gmt":"2015-04-02T13:12:17","slug":"159","status":"publish","type":"post","link":"https:\/\/stepfoxthemes.com\/deus\/2015\/02\/15\/159\/","title":{"rendered":"Spring is Here, Let&#8217;s Celebrate"},"content":{"rendered":"<p>OK, so images can get quite complicated as we have a few variables to work with! For example the image below has had a caption entered in the WordPress image upload dialog box, this creates a  shortcode which then in turn wraps the whole thing in a <code>div<\/code> with inline styling! Maybe one day they&#8217;ll be able to use the <code>figure<\/code> and <code>figcaption<\/code> elements for all this. Additionally, images can be wrapped in links which, if you&#8217;re using anything other than <code>color<\/code> or <code>text-decoration<\/code> to style your links can be problematic.<\/p>\n<p>&nbsp;<\/p>\n<p>The next issue we face is image alignment, users get the option of <em>None<\/em>, <em>Left<\/em>, <em>Right<\/em> &amp; <em>Center<\/em>. On top of this, they also get the options of <em>Thumbnail<\/em>, <em>Medium<\/em>, <em>Large<\/em> &amp; <em>Fullsize<\/em>. You&#8217;ll probably want to add floats to style the image position so important to remember to clear these to stop images popping below the bottom of your articles.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28\" title=\"Your Title\" src=\"http:\/\/www.wpfill.me.s3-website-us-east-1.amazonaws.com\/img\/img_full.png\" alt=\"Your Alt Title\" width=\"840\" height=\"300\" \/><\/p>\n<p>Additionally, to add further confusion, images can be wrapped inside paragraph content, lets test some examples here.<img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-28\" title=\"Your Title\" src=\"http:\/\/www.wpfill.me.s3-website-us-east-1.amazonaws.com\/img\/img_medium.png\" alt=\"Your Alt Title\" width=\"300\" height=\"200\" \/><br \/>\nVivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean lacinia bibendum nulla sed consectetur.<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-28\" title=\"Your Title\" src=\"http:\/\/www.wpfill.me.s3-website-us-east-1.amazonaws.com\/img\/img_thumb.png\" alt=\"Your Alt Title\" width=\"150\" height=\"150\" \/>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean lacinia bibendum nulla sed consectetur.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-thumbnail wp-image-28\" title=\"Your Title\" src=\"http:\/\/www.wpfill.me.s3-website-us-east-1.amazonaws.com\/img\/img_thumb.png\" alt=\"Your Alt Title\" width=\"150\" height=\"150\" \/>Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Donec ullamcorper nulla non metus auctor fringilla. Aenean lacinia bibendum nulla sed consectetur.<\/p>\n<p>And then&#8230; Finally, users can insert a WordPress<\/p>\n<p>&nbsp;<\/p>\n<p>, which is kinda ugly and comes with some CSS stuck into the page to style it (which doesn&#8217;t actually validate, nor does the markup for the gallery). The amount of columns in the gallery is also changable by the user, but the default is three so we&#8217;ll work with that for our example with an added fouth image to test verticle spacing.<\/p>\n<div id=\"gallery-1\" class=\"gallery galleryid-1 gallery-columns-3 gallery-size-thumbnail\"><\/div>\n<table>\n<thead>\n<tr>\n<th>TABLE HEAD COLUMN ONE<\/th>\n<th>TABLE HEAD COLUMN TWO<\/th>\n<th>TABLE HEAD COLUMN THREE<\/th>\n<\/tr>\n<\/thead>\n<tfoot>\n<tr>\n<td>TABLE FOOTER COLUMN ONE<\/td>\n<td>TABLE FOOTER COLUMN TWO<\/td>\n<td>TABLE FOOTER COLUMN THREE<\/td>\n<\/tr>\n<\/tfoot>\n<tbody>\n<tr>\n<td>Table Row Column One<\/td>\n<td>Short Text<\/td>\n<td>Testing a table cell with a longer amount of text to see what happens, you&#8217;re not using tables for site layouts are you?<\/td>\n<\/tr>\n<tr>\n<td>Table Row Column One<\/td>\n<td>Table Row Column Two<\/td>\n<td>Table Row Column Three<\/td>\n<\/tr>\n<tr>\n<td>Table Row Column One<\/td>\n<td>Table Row Column Two<\/td>\n<td>Table Row Column Three<\/td>\n<\/tr>\n<tr>\n<td>Table Row Column One<\/td>\n<td>Table Row Column Two<\/td>\n<td>Table Row Column Three<\/td>\n<\/tr>\n<tr>\n<td>Table Row Column One<\/td>\n<td>Table Row Column Two<\/td>\n<td>Table Row Column Three<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol>\n<li>Ordered list item one.<\/li>\n<li>Ordered list item two.<\/li>\n<li>Ordered list item three.<\/li>\n<li>Ordered list item four.<\/li>\n<li>By the way, WordPress does not let you create nested lists through the visual editor.<\/li>\n<\/ol>\n<ul>\n<li>Unordered list item one.<\/li>\n<li>Unordered list item two.<\/li>\n<li>Unordered list item three.<\/li>\n<li>Unordered list item four.<\/li>\n<li>By the way, WordPress does not let you create nested lists through the visual editor.<\/li>\n<\/ul>\n<blockquote><p>Currently WordPress blockquotes are just wrapped in blockquote tags and have no clear way for the user to define a source. Maybe one day they&#8217;ll be more semantic (and easier to style) like the version below.<\/p><\/blockquote>\n<blockquote cite=\"http:\/\/html5doctor.com\/blockquote-q-cite\/\"><p>HTML5 comes to our rescue with the footer element, allowing us to add semantically separate information about the quote.<\/p>\n<footer><cite><br \/>\n<a href=\"http:\/\/html5doctor.com\/blockquote-q-cite\/\">Oli Studholme, HTML5doctor.com<\/a><br \/>\n<\/cite><\/footer>\n<\/blockquote>\n<h1>Level One Heading<\/h1>\n<h2>Level Two Heading<\/h2>\n<h3>Level Three Heading<\/h3>\n<h4>Level Four Heading<\/h4>\n<h5>Level Five Heading<\/h5>\n<h6>Level Six Heading<\/h6>\n<p>This is a standard paragraph created using the WordPress TinyMCE text editor. It has a <strong>strong tag<\/strong>, an <em>em tag<\/em> and a <del>strikethrough<\/del> which is actually just the del element. There are a few more inline elements which are not in the WordPress admin but we should check for incase your users get busy with the copy and paste. These include <cite>citations<\/cite>, <abbr title=\"abbreviation\">abbr<\/abbr>, bits of <code>code<\/code> and <var>variables<\/var>, <q>inline quotations<\/q>, <ins datetime=\"2011-12-08T20:19:53+00:00\">inserted text<\/ins>, text that is <s>no longer accurate<\/s> or something <mark>so important<\/mark> you might want to mark it. We can also style subscript and superscript characters like C0<sub>2<\/sub>, here is our 2<sup>nd<\/sup> example. If they are feeling non-semantic they might even use <b>bold<\/b>, <i>italic<\/i>, <big>big<\/big> or <small>small<\/small> elements too.\u00a0Incidentally, these HTML4.01 tags have been given new life and semantic meaning in HTML5, you may be interested in reading this <a title=\"HTML5 Semantics\" href=\"http:\/\/csswizardry.com\/2011\/01\/html5-and-text-level-semantics\">article by Harry Roberts<\/a> which gives a nice excuse to test a link.\u00a0\u00a0It is also worth noting in the &#8220;kitchen sink&#8221; view you can also add <span style=\"text-decoration: underline;\">underline<\/span>\u00a0styling and set <span style=\"color: #ff0000;\">text color<\/span> with pesky inline CSS.<\/p>\n<p style=\"text-align: left;\">Additionally, WordPress also sets text alignment with inline styles, like this left aligned paragraph.\u00a0Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cras mattis consectetur purus sit amet fermentum.<\/p>\n<p style=\"text-align: right;\">This is a right aligned paragraph.\u00a0Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cras mattis consectetur purus sit amet fermentum.<\/p>\n<p style=\"text-align: justify;\">This is a justified paragraph.\u00a0Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cras mattis consectetur purus sit amet fermentum.<\/p>\n<p style=\"padding-left: 30px;\">Finally, you also have the option of an indented paragraph.\u00a0Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cras mattis consectetur purus sit amet fermentum.<\/p>\n<p>And last, and by no means least, users can also apply the <code>Address<\/code> tag to text like this:<\/p>\n<address>123 Example Street,<br \/>\nTestville,<br \/>\nWest Madeupsburg,<br \/>\nCSSland,<br \/>\n1234<\/address>\n<p>&#8230;so there you have it, all our text elements<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK, so images can get quite complicated as we have a few variables to work with! For example the image below has had a caption entered in the WordPress image upload dialog box, this creates a shortcode which then in turn wraps the whole thing in a div with inline styling! Maybe one day they&#8217;ll be able to use the figure and figcaption elements for all this. Additionally, images can be wrapped in links which, if you&#8217;re using anything other than color or text-decoration to style your links can be problematic. &nbsp; The next issue we face is image alignment, users get the option of None, Left, Right &amp; Center. On top of this, they also get the options of [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":199,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5,3],"tags":[17,19,18],"class_list":["post-159","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-design","category-illustration","category-photography","tag-games","tag-responsive","tag-retina"],"_links":{"self":[{"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":0,"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/media\/199"}],"wp:attachment":[{"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stepfoxthemes.com\/deus\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}