{"id":129129,"date":"2014-06-12T08:30:13","date_gmt":"2014-06-12T12:30:13","guid":{"rendered":"http:\/\/premium.wpmudev.org\/blog\/?p=129129"},"modified":"2017-10-24T00:44:45","modified_gmt":"2017-10-24T00:44:45","slug":"the-secret-to-creating-great-looking-wordpress-content","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/the-secret-to-creating-great-looking-wordpress-content\/","title":{"rendered":"The Secret To Creating Great Looking WordPress Content"},"content":{"rendered":"<p>Keeping readers&#8217; attention is everything and the longer the content, the harder it is.<\/p>\n<p>A steady scroll of text and embedded images is going to have a tough time maintaining the interest, which is why so many sites go to great lengths for formats that vary considerably.<\/p>\n<p>Bringing these techniques to your own WordPress site is not difficult, once\u00a0you know the secret to\u00a0creating great looking content.<\/p>\n<p><!--more--><\/p>\n<figure id=\"attachment_129939\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129939\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/simple_grid-700x262.jpg\" alt=\"Composite image showing 3 screenshots of content elements created using a grid\" width=\"700\" height=\"262\" \/><figcaption class=\"wp-caption-text\">Don&#8217;t be fooled by the name &#8211; grids bring immense power to content layout<\/figcaption><\/figure>\n\n<p>Kicked-off spectacularly by award-winning New York Times article <a title=\"View the NYT's Snowfall article\" href=\"http:\/\/www.nytimes.com\/projects\/2012\/snow-fall\/#\/?part=tunnel-creek\" rel=\"noopener\" target=\"_blank\">Snowfall<\/a>, longer form storytelling\u00a0has proved to be more than just a bandwagon.<\/p>\n<p>Whilst some online publications such as <a title=\"Visit The Great Discontent\" href=\"http:\/\/thegreatdiscontent.com\/\" rel=\"noopener\" target=\"_blank\">The Great Discontent<\/a> only publish longer form others such as the New York Times, <a title=\"Read PitchFork's long form article on Daft Punk\" href=\"http:\/\/pitchfork.com\/features\/cover-story\/reader\/daft-punk\/\" rel=\"noopener\" target=\"_blank\">PitchFork<\/a> and Australia&#8217;s public service broadcaster the <a title=\"Read the ABC's long form article on the Socceroos coach\" href=\"http:\/\/www.abc.net.au\/news\/interactives\/in-ange-we-trust\/\" rel=\"noopener\" target=\"_blank\">ABC<\/a>, are adding long form to their existing mix.<\/p>\n<p>Long-form needs a different approach to the traditional shorter post. There&#8217;s no point trying to shoehorn longer content into a traditional 3-column layout (just like we repeatedly try on this site!). You need a more flexible approach to laying out your content, an approach that allows you to move beyond the constraints of the WordPress visual editor.<\/p>\n<p>You need the power and simplicity of a grid.<\/p>\n<h2>The Power Of Grids<\/h2>\n<p>The best approach is nearly always the simplest. Simplest to implement, simplest to understand, simplest to use.<\/p>\n<p>Grids fit this criteria and have been used for page layout both offline and online for many, many years.<\/p>\n<p>They are simple to understand: the page is split into columns of each width; content spans a certain number of columns. They are simple to implement especially online where it&#8217;s a case of structured markup and appropriate CSS. And they are simple to use: a basic mechanism for identifying columns is all that is required.<\/p>\n<p>Above all, though, grids can provide incredible flexibility.<\/p>\n<p>There are many existing frameworks out there, from Bootstrap to Zurb Foundation that contain grids\u00a0and can layout content. They also often come with a swag of bells and whistles which may, or, as is most likely when it comes to pure content, may not be useful.<\/p>\n<p>For this article, I simply wanted a grid and nothing else and so I chose <a title=\"Read more about Simple Grid\" href=\"http:\/\/thisisdallas.github.io\/Simple-Grid\/\" target=\"_blank\">Simple Grid<\/a>\u00a0by Dallas Bass.<\/p>\n<p>Simple Grid is a responsive grid of 12 columns, with an optional 20px gutter, and a maximum width of 1140px. Twelve is a great number, divisible by\u00a06, 4, 3 and 2 it provides a wide range of layout choices.<\/p>\n<p>Simple Grid is also responsive, changing the behavior of the columns as the screen size changes, meaning that for 90% of the time your content will respond perfectly across platforms.<\/p>\n\n<h2>Adding Simple Grid To WordPress<\/h2>\n<p>I&#8217;ve created a plugin to add Simple Grid to your WordPress site. <a title=\"Download the Simple Grid plugin from GitHub\" href=\"https:\/\/github.com\/pommiegranit\/simplegrid\/archive\/master.zip\" rel=\"noopener\" target=\"_blank\">Download it<\/a> and install it as you would any plugin.<\/p>\n<p>The plugin performs 3 tasks:<\/p>\n<ol>\n<li>adds the<em> simple.css<\/em> stylesheet to the output for posts, pages and custom post types<\/li>\n<li>adds 2 new shortcodes, <em>sgrow<\/em> and <em>sgcol<\/em><\/li>\n<li>changes the output of images with captions to use <em>&lt;figure&gt;<\/em> and <em>&lt;figcaption&gt;<\/em> (this adds better flexibility for styling)<\/li>\n<\/ol>\n<h2>Creating Content With Simple Grid<\/h2>\n<figure id=\"attachment_129948\" class=\"wp-caption alignright\" data-caption=\"true\"><a rel=\"lightbox[129129]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/12-column-grid-template.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-129948 size-ratio-2-3\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/12-column-grid-template-312x175.png\" alt=\"A 12 column grid template\" width=\"312\" height=\"175\" \/><\/a><figcaption class=\"wp-caption-text\">Download and print this template<\/figcaption><\/figure>\n<p>Before you create any content with a grid you need to plan it out first. This could be as simple as sketching it out on a piece of paper: it doesn&#8217;t have to be too detailed, just enough to know where you want to put the various content elements.<\/p>\n<p>It&#8217;s then a matter of creating the rows and columns that correspond to your layout using the new shortcodes, <em>sgrow<\/em> and <em>sgcol<\/em>.<\/p>\n<h3>Shortcode : [sgrow pad=&#8221;&#8221; background=&#8221;&#8221;]<\/h3>\n<p>An <em>sgrow<\/em> contains one or more <em>sgcol<\/em>. It has 2\u00a0attributes, <em>pad<\/em> and <em>background<\/em>. Pad determines whether gutters will be used\u00a0and is a simple\u00a0<em>yes<\/em> or <em>no<\/em> (default is yes). The only scenario where you don&#8217;t want to pad is if you want content, such as an image, to fill\u00a0the entire width.<\/p>\n<p>Background allows you to specify the url for an image that will be used as the background for the row. In the\u00a0examples below you&#8217;ll find see how to use this attribute for overlaying text on an image.<\/p>\n<h3>Shortcode : [sgcol span=&#8221;&#8221; margin=&#8221;&#8221;]<\/h3>\n<p>The <em>sgcol<\/em> defines the column and can have 2 attributes: <em>span<\/em> and <em>margin<\/em>.<\/p>\n<p>Span is used to describe how wide the column will be and is expressed as a fraction. For example, <em>span=&#8221;1-2&#8243;<\/em> equates to half the columns (6 columns), <em>span=&#8221;3-4&#8243;<\/em> is three-quarters of the columns (9 columns).<\/p>\n<p>Margin allows content to start at a particular column. For example, <em>margin=&#8221;1-4&#8243;<\/em> starts the content in the <em>sgcol<\/em> at column 4.<\/p>\n<p>Let&#8217;s step through some\u00a0examples so you can\u00a0see Simple Grid in action.<\/p>\n\n<h2>Grid Content Examples<\/h2>\n<h3>Full-width\u00a0Text<\/h3>\n<p>The simplest example is text that takes up the full width.<\/p>\n<h4>Mock-up<\/h4>\n<figure id=\"attachment_129940\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129940\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-8.51.39-PM-700x126.png\" alt=\"Screen element spanning 12 columns on a grid \" width=\"700\" height=\"126\" \/><figcaption class=\"wp-caption-text\">This text element will take the whole 12 columns<\/figcaption><\/figure>\n<h4>Mark-up<\/h4>\n<p><code><\/p>\n<p>[sgrow pad=\"yes\"]<\/p>\n<p>[sgcol span=\"1-1\"] text\u00a0[\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p><\/code><\/p>\n<h4>Result<\/h4>\n<figure id=\"attachment_129906\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129906\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-3.21.20-PM-700x141.png\" alt=\"Screengrab of loreum ipsum text that spans the entire width\" width=\"700\" height=\"141\" \/><figcaption class=\"wp-caption-text\">The simplest option is text that spans the full 12 columns<\/figcaption><\/figure>\n<h3>Sidebars<\/h3>\n<h4>Mock-up<\/h4>\n<figure id=\"attachment_129941\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129941\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-8.51.54-PM-700x141.png\" alt=\"Mockup showing an 8 column element and a 4 column element\" width=\"700\" height=\"141\" \/><figcaption class=\"wp-caption-text\">Text element spanning 8 columns (two-thirds) with a 4 column (one-third) sidebar<\/figcaption><\/figure>\n<figure id=\"attachment_129942\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129942\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-8.52.03-PM-700x121.png\" alt=\"Mockup of left sidebar of 3 columns and main element of 9 columns\" width=\"700\" height=\"121\" \/><figcaption class=\"wp-caption-text\">Side element spanning 3 columns (one quarter) and a main element spanning 9 columns (three quarters)<\/figcaption><\/figure>\n<h4>Mark-up<\/h4>\n<p><code><\/p>\n<p>&lt;!-- right-hand sidebar --&gt;<\/p>\n<p>[sgrow pad=\"yes\"]<\/p>\n<p>[sgcol span=\"2-3\"] text [\/sgcol]<\/p>\n<p>[sgcol span=\"1-3\"] &lt;img&gt; [\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p>&lt;!-- left-han sidebar --&gt;<\/p>\n<p>[sgrow pad=\"yes\"]<\/p>\n<p>[sgcol span=\"1-4\"] quote\u00a0[\/sgcol]<\/p>\n<p>[sgcol span=\"3-4\"] text\u00a0[\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p>&lt;!-- even split --&gt;<\/p>\n<p>[sgrow pad=\"yes\"]<\/p>\n<p>[sgcol span=\"1-2\"] &lt;img&gt; [\/sgcol]<\/p>\n<p>[sgcol span=\"1-2\"]\u00a0text\u00a0[\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p><\/code><\/p>\n<h4>Result<\/h4>\n<figure id=\"attachment_129907\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129907\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-3.24.46-PM-700x547.png\" alt=\"Screengrab showing maint text occupying two-thirds and the right-sidebar occupying one-third of the available real estate\" width=\"700\" height=\"547\" \/><figcaption class=\"wp-caption-text\">Create a right-hand sidebar that is one third of the screen width<\/figcaption><\/figure>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129926\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-3.47.47-PM-700x311.png\" alt=\"Screengrab showing quote formatted as red text in a left-hand sidebar\" width=\"700\" height=\"311\" \/><\/p>\n<p>Sidebars are really handy for quotes and notes especially when easily distinguished<\/p>\n<p>Changing the span, automatically alters the\u00a0size of the image. Here&#8217;s the\u00a0example where the text and the image span half (&#8220;1-2&#8221;) the area:<\/p>\n<figure id=\"attachment_129921\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129921\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-3.49.14-PM-700x681.png\" alt=\"Screengrab showing two equal columns with an image in one\" width=\"700\" height=\"681\" \/><figcaption class=\"wp-caption-text\">Simply change the span to change the size of the image<\/figcaption><\/figure>\n<h3>Image Grids<\/h3>\n<p>Using an image width of 100% ensures that images always fill the space available to them (obviously if the image is smaller than the width it will pixelate).<\/p>\n<h4>Mock-up<\/h4>\n<figure id=\"attachment_129944\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129944\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-9.22.27-PM-700x304.png\" alt=\"Mockup of a 2 and 4 image grid\" width=\"700\" height=\"304\" \/><figcaption class=\"wp-caption-text\">Image grids are easy to create for 2, 3, 4 or 6 images<\/figcaption><\/figure>\n<h4>Mark-up<\/h4>\n<p><code><\/p>\n<p>&lt;!-- 2 image grid --&gt;<\/p>\n<p>[sgrow pad=\"yes\"]<\/p>\n<p>[sgcol span=\"1-2\"] &lt;img&gt; [\/sgcol]<\/p>\n<p>[sgcol span=\"1-2\"] &lt;img&gt; [\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p>&lt;!-- 4 image grid --&gt;<\/p>\n<p>[sgrow pad=\"yes\"]<\/p>\n<p>[sgcol span=\"1-4\"] &lt;img&gt; [\/sgcol]<\/p>\n<p>[sgcol span=\"1-4\"] &lt;img&gt; [\/sgcol]<\/p>\n<p>[sgcol span=\"1-4\"] &lt;img&gt; [\/sgcol]<\/p>\n<p>[sgcol span=\"1-4\"] &lt;img&gt; [\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p><\/code><\/p>\n<h4>Result<\/h4>\n<figure id=\"attachment_129910\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129910\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-3.36.00-PM-700x539.png\" alt=\"Two images taking up half the available space each.\" width=\"700\" height=\"539\" \/><figcaption class=\"wp-caption-text\">Two images, side-by-side, width determined by column span.<\/figcaption><\/figure>\n<p>To include more images in the grid, simply add more images and change the span &#8211; no need to specify widths. For 4 images use &#8220;1-4&#8221;, for 6 images use &#8220;1-6&#8221;.<\/p>\n<p>Here&#8217;s the\u00a04 image grid:<\/p>\n<figure id=\"attachment_129923\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129923\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-3.59.04-PM-700x390.png\" alt=\"4 images equally spaced in a grid\" width=\"700\" height=\"390\" \/><figcaption class=\"wp-caption-text\">The image width is constrained by the column giving consistent widths<\/figcaption><\/figure>\n<h3>Large Image With Side Caption<\/h3>\n<h4>Mock-up<\/h4>\n<figure id=\"attachment_129943\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129943\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-8.52.11-PM-700x152.png\" alt=\"An image with a width of 75% leaving 25% for the caption\" width=\"700\" height=\"152\" \/><figcaption class=\"wp-caption-text\">It&#8217;s easy to customize your own layouts based on the grid<\/figcaption><\/figure>\n<h4>Mark-up<\/h4>\n<p><code><\/p>\n<p>[sgrow pad=\"yes\"]<\/p>\n<p>[sgcol span=\"1-1\"]<\/p>\n<p>&lt;caption&gt;&lt;img class=\"large\" src=\"https:\/\/www.test.dev\/wp-content\/uploads\/2013\/03\/man-of-steel1.jpg\" alt=\"Man Of Steel\" width=\"940\" height=\"1394\" \/&gt;Does being the \"nice guy\" of superheroes make Superman the most boring?&lt;caption&gt;<\/p>\n<p>[\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p><\/code><\/p>\n<p>Note that the image has had the &#8220;large&#8221; class added to it. This is a\u00a0custom\u00a0class that sets the image width to 75%, allowing space for the caption.<\/p>\n<h4>Result<\/h4>\n<figure id=\"attachment_129914\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129914\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-3.42.59-PM-700x779.png\" alt=\"Large image with caption aligned right in its own column\" width=\"700\" height=\"779\" \/><figcaption class=\"wp-caption-text\">Moving captions around helps introduce white-space and break up the content<\/figcaption><\/figure>\n<h3>Content With A Margin<\/h3>\n<h4>Mock-up<\/h4>\n<figure id=\"attachment_129945\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129945\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-9.22.57-PM-700x151.png\" alt=\"Mockup of half-width content being centered\" width=\"700\" height=\"151\" \/><figcaption class=\"wp-caption-text\">To center elements that aren&#8217;t full-width use a spacer margin<\/figcaption><\/figure>\n<h4>Mark-up<\/h4>\n<p><code><\/p>\n<p>[sgrow pad=\"yes\"]<\/p>\n<p>[sgcol span=\"1-2\" margin=\"1-4\"] text\u00a0[\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p><\/code><\/p>\n<h3>Result<\/h3>\n<figure id=\"attachment_129925\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129925\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-3.53.10-PM-700x476.png\" alt=\"Centered text that is 6 columns wide\" width=\"700\" height=\"476\" \/><figcaption class=\"wp-caption-text\">A centered narrower column is achieved by setting a margin<\/figcaption><\/figure>\n<h3>Row With A Background Image<\/h3>\n<h4>Mock-up<\/h4>\n<figure id=\"attachment_129946\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129946\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-9.49.29-PM-700x272.png\" alt=\"Mockup of a full-width background image and a half-width text element\" width=\"700\" height=\"272\" \/><figcaption class=\"wp-caption-text\">Add a background then &#8220;overlay&#8221; text for visual impact<\/figcaption><\/figure>\n<h4>Mark-up<\/h4>\n<p><code><\/p>\n<p>[sgrow pad=\"yes\" background=\"full url\"]<\/p>\n<p>[sgcol span=\"1-2\" margin=\"1-2\"] text\u00a0[\/sgcol]<\/p>\n<p>[\/sgrow]<\/p>\n<p><\/code><\/p>\n<h4>\u00a0Results<\/h4>\n<figure id=\"attachment_129932\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129932\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-4.33.11-PM-700x488.png\" alt=\"Screengrab with an image overlaid to the right-hand side with text\" width=\"700\" height=\"488\" \/><figcaption class=\"wp-caption-text\">Adding a background image can create a visual impact<\/figcaption><\/figure>\n<h2>How Simple Grid Responds<\/h2>\n<p>Simple Grid responds well to screen size changes with minimal use of media queries.<\/p>\n<figure id=\"attachment_129933\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-129933\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-11-at-4.55.59-PM.png\" alt=\"Screengrab of thin screen \" width=\"511\" height=\"1010\" \/><figcaption class=\"wp-caption-text\">SImple Grid with it&#8217;s almost exclusive use of percentage responds well to changing screen sizes<\/figcaption><\/figure>\n<p>However, you should always test for your theme and your preferences, adjusting the media queries as appropriate.<\/p>\n<h2>A Quick Word About&#8230;<\/h2>\n<h3>Themes<\/h3>\n<p>Whilst this technique will generally work with any theme, a theme that doesn&#8217;t use sidebars &#8211; that is gives content the full-width or close to it, is going to work best.<\/p>\n<p>For the examples I&#8217;ve use the recently released <a title=\"Read more about this theme\" href=\"http:\/\/eighties.me\/\" rel=\"noopener\" target=\"_blank\">Eighties theme<\/a>.<\/p>\n<p>The other option, especially for established sites, is to use a specific template for content that you are going to layout using grids. The easiest way to achieve this would be to create a custom post type, for example story and then by creating a single-{name}.php (i.e. single-story.php) you can let the WordPress template hierarchy do all the hard work.<\/p>\n<h3>Whitespace<\/h3>\n<p>Whitespace in your WordPress posts can be a real pain. In these examples, I&#8217;ve spaced out the mark-up for clarity but often WordPress will insert extra &lt;br&gt; and &lt;p&gt; tags which will impact on your layout.<\/p>\n<p>If you find that you are having whitespace issues then try removing linebreaks from around the shortcodes.<\/p>\n<h3>The\u00a0CSS<\/h3>\n<p>In the plugin, you&#8217;ll see that I&#8217;ve extended the CSS a little for this article, in particular adding the styling for the large class applied to images and their captions.<\/p>\n<p>Not all fractions or margins are present, so you may need to add more as you delve into the grid approach and you may also have your own special needs.<\/p>\n<h3>Workflow<\/h3>\n<p>The laying out of the content should be treated as an additional step to be performed after the content has been\u00a0written, edited and approved.<\/p>\n<p>The mark-up can make it a little tricky to edit afterwards and will greatly increase the likelihood of mistakes.<\/p>\n<p>If you do go down the custom post type, then having separate fields for the raw content and the marked-up content would likely be invaluable.<\/p>\n<h2>Whet Your Appetite?<\/h2>\n<p>These are just some simple examples to whet your appetite and show you the power of laying out your content using grids.<\/p>\n<p>The plugin itself is very simple and\u00a0putting together great looking content is relatively straight forward, so long as you plan beforehand &#8211; which I cannot recommend enough.<\/p>\n<p>Of course, a healthy dose of imagination and great content won&#8217;t hurt either.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating great looking WordPress content is not difficult, once you know the secret. Hint: it&#8217;s got everything to do with grids. <\/p>\n","protected":false},"author":262394,"featured_media":129939,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[263],"tags":[38,1044,9901],"tutorials_categories":[],"class_list":["post-129129","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-design","tag-css","tag-grids"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/129129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/262394"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=129129"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/129129\/revisions"}],"predecessor-version":[{"id":168888,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/129129\/revisions\/168888"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/129939"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=129129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=129129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=129129"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=129129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}