<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Gutenberg &#8211; In The Digital</title>
	<atom:link href="https://inthedigital.co.uk/category/wordpress/gutenberg/feed/" rel="self" type="application/rss+xml" />
	<link>https://inthedigital.co.uk</link>
	<description>Web Design, Development and Digital Marketing</description>
	<lastBuildDate>Fri, 28 Aug 2020 17:10:09 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/inthedigital.co.uk/wp-content/uploads/2018/10/cropped-in-the-digital-icon-padded.png?fit=32%2C32&#038;ssl=1</url>
	<title>Gutenberg &#8211; In The Digital</title>
	<link>https://inthedigital.co.uk</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">153467252</site>	<item>
		<title>Using Gutenberg and/or the Classic Editor</title>
		<link>https://inthedigital.co.uk/using-gutenberg-and-or-the-classic-editor/</link>
		
		<dc:creator><![CDATA[Mervyn Booth]]></dc:creator>
		<pubDate>Fri, 07 Dec 2018 12:55:43 +0000</pubDate>
				<category><![CDATA[Gutenberg]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Classic Editor]]></category>
		<guid isPermaLink="false">https://inthedigital.co.uk/?p=1511</guid>

					<description><![CDATA[<img width="300" height="251" src="https://i1.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor-settings.png?fit=300%2C251&amp;ssl=1" class="attachment-medium size-medium wp-post-image" alt="Set Writing Settings to use Classic Editor only" style="float: none; margin: auto;" decoding="async" fetchpriority="high" />It&#8217;s common knowledge that WordPress&#8217;s new editor, codenamed Gutenberg, will shake up the landscape for many, many websites that use the awesome platform. For some of us it&#8217;s a welcomed step for WP, however, for others, it is not. Yet. For Web agencies and freelance developers this is just a hurdle (albeit a potentially big [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="300" height="251" src="https://i1.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor-settings.png?fit=300%2C251&amp;ssl=1" class="attachment-medium size-medium wp-post-image" alt="Set Writing Settings to use Classic Editor only" style="float: none; margin: auto;" decoding="async" loading="lazy" /><p>It&#8217;s common knowledge that WordPress&#8217;s new editor, codenamed <em>Gutenberg</em>, will shake up the landscape for many, many websites that use the awesome platform.</p>
<p>For some of us it&#8217;s a welcomed step for WP, however, for others, it is not. Yet.</p>
<p>For Web agencies and freelance developers this is just a hurdle (albeit a potentially big one), but for clients that love the old setup, this is a much bigger challenge (as clients come first).</p>
<h2>Why do our clients love the old editor?</h2>
<p>This is simple. For many of our clients, we&#8217;ve built templates that control the flow of content that they need to provide for each page/custom post type. This gives them the confidence that they will not break the site&#8217;s design, SEO performance and so on.</p>
<p>By providing an environment with structured editing parameters we can keep their site looking and performing as it was designed to do. So embracing Gutenberg in a way that doesn&#8217;t break this flow will take some time to figure out in a considered way.</p>
<p>For this reason, many of our clients will be sticking with the old editing experience for the time being. At least for pages and custom post types.</p>
<h2>How to keep the &#8220;Classic Editor&#8221;</h2>
<p>The old editor (known now as the &#8220;Classic Editor&#8221;) isn&#8217;t going anywhere, just yet, as <a href="https://wordpress.org/plugins/classic-editor/" rel="nofollow noopener" target="_blank">WordPress is&nbsp;officially supporting it until 2022</a>. So there&#8217;s no need to send all your clients into a spin until you&#8217;ve figured out a solution that meets their needs.</p>
<p>To use the old editor, and keep everything acting as it previously has, simply download the plugin from the official WordPress plugins repository. The easiest way to do this is via composer (from the site&#8217;s root directory):</p>
<pre><code class="lang-php">$ composer require wpackagist-plugin/classic-editor
$ wp plugin activate classic-editor
</code></pre>
<p>Or, through the site&#8217;s WP admin, <code>Plugins &gt; Add New</code>&nbsp;and search for <strong>Classic Editor</strong>:</p>
<p><img decoding="async" class="size-full wp-image-1518 alignnone" src="https://i2.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor.png?resize=1000%2C379&#038;ssl=1" alt="The WordPress Classic Editor plugin" width="1000" height="379" srcset="https://i2.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor.png?w=1000&amp;ssl=1 1000w, https://i2.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor.png?resize=300%2C114&amp;ssl=1 300w, https://i2.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor.png?resize=768%2C291&amp;ssl=1 768w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /></p>
<p>Then install and activate it.</p>
<p><img decoding="async" class="alignnone size-full wp-image-1537" src="https://i1.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor-settings.png?resize=400%2C335&#038;ssl=1" alt="Set Writing Settings to use Classic Editor only" width="400" height="335" srcset="https://i1.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor-settings.png?w=400&amp;ssl=1 400w, https://i1.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/wp-classic-editor-settings.png?resize=300%2C251&amp;ssl=1 300w" sizes="(max-width: 400px) 100vw, 400px" data-recalc-dims="1" /></p>
<p>Now your clients are all set up to continue using WordPress as they did prior to version 5.0.</p>
<h2>When should I switch to Gutenberg?</h2>
<p>Personally, I think this depends on numerous variables;</p>
<ul>
<li>does the client like what they currently have and not want to change?</li>
<li>do you push changes to all sites, therefore need one flow for all?</li>
<li>do all the plugins that you use fully support Blocks?</li>
<li>do the clients have the budget to back custom solutions with Blocks?</li>
</ul>
<p>We aim to move all clients over at the earliest opportunity, but this doesn&#8217;t mean we&#8217;ll have them all using the new Editor at the same time, our object is to have everyone catered for long before WordPress drops support for the <strong>Classic Editor</strong>.</p>
<p>If you&#8217;re looking for assistance with migrating to the new editor get in touch and we&#8217;ll see what we can do to help.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1511</post-id>	</item>
		<item>
		<title>Getting your plugins ready for Gutenberg</title>
		<link>https://inthedigital.co.uk/getting-your-plugins-ready-for-gutenberg/</link>
		
		<dc:creator><![CDATA[Mervyn Booth]]></dc:creator>
		<pubDate>Wed, 05 Dec 2018 09:10:38 +0000</pubDate>
				<category><![CDATA[Gutenberg]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Dev Tricks]]></category>
		<category><![CDATA[Preparing for Gutenberg]]></category>
		<guid isPermaLink="false">https://inthedigital.co.uk/?p=1477</guid>

					<description><![CDATA[<img width="300" height="300" src="https://i1.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/gutenberg-block-selector.png?fit=300%2C300&amp;ssl=1" class="attachment-medium size-medium wp-post-image" alt="Adding a Gutenberg block" style="float: none; margin: auto;" decoding="async" loading="lazy" />Is your site, its plugins, custom post types, custom meta and your content ready for Gutenberg? Remember the release date: 5th 6th 7th December 2018. TL;DR Until you&#8217;ve tested everything, a short-term fix could be to turn off the Gutenberg experience: add_filter(&#039;use_block_editor_for_post&#039;, &#039;__return_false&#039;); If you own, manage, develop or have any vested interest in a [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="300" height="300" src="https://i1.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/gutenberg-block-selector.png?fit=300%2C300&amp;ssl=1" class="attachment-medium size-medium wp-post-image" alt="Adding a Gutenberg block" style="float: none; margin: auto;" decoding="async" loading="lazy" /><p>Is your site, its plugins, custom post types, custom meta and your content ready for Gutenberg?</p>
<p><em>Remember the release date: <del>5th</del> <del>6th</del> 7th December 2018.</em></p>
<div class="callout" style="padding: 2rem; background-color: #eee; margin: 1.5rem 0">
<h2 class="callout-title">TL;DR</h2>
<p>Until you&#8217;ve tested everything, a short-term fix could be to turn off the Gutenberg experience:</p>
<pre><code class="lang-php">add_filter(&#039;use_block_editor_for_post&#039;, &#039;__return_false&#039;);
</code></pre>
</div>
<p>If you own, manage, develop or have any vested interest in a WordPress powered website, or blog, then the imminent WordPress Version 5, with the all-new Gutenberg editor, will either be welcomed or feared (we&#8217;re in both camps).</p>
<p>Before we go any further, let&#8217;s quickly get an overview of what this Gutenberg thing is.</p>
<h2>What is Gutenberg?</h2>
<p>At the heart of WordPress is the editor, where the majority of content is created (hence why it&#8217;s displayed to the webpage by calling <code>the_content()</code>). Up until Gutenberg <a href="https://www.tiny.cloud" target="_blank" rel="noopener noreferrer nofollow">composing content was done in a TinyMCE editor</a>. But not with the Gutenberg revolution.</p>
<p>Gutenberg dramatically shifts the editing experience, moving the focus away from a single, confined editing pane and replacing it with a block-based, drag and drop content composer.</p>
<p><img loading="lazy" decoding="async" src="https://i2.wp.com/inthedigital.co.uk/wp-content/uploads/2018/12/img_2297.gif?resize=954%2C674&#038;ssl=1" class="size-full wp-image-1484" height="674" width="954" alt="Getting your plugins ready for Gutenberg. In The Digital. img 2297" data-recalc-dims="1"></p>
<p>So Gutenberg can be seen more as a page builder than its more confined predecessor.</p>
<p>This leads us to the elephant in the room:</p>
<h2>Will Gutenberg break my site?</h2>
<h3>The short answer</h3>
<p><em>Possibly not, but definitely check, especially the editing experience!</em></p>
<h3>The longer answer</h3>
<p><em>Test everything in a development and/or staging environment.</em></em></p>
<ul>
<li>Do all plugins behave as expected?</li>
<li>Does the Gutenberg editor show all your custom metaboxes?</li>
<li>Does all the custom content appear on the frontend?</li>
<li>Can existing content be edited in Gutenberg?</li>
</ul>
<p>I could walk through each of these with you and suggest fixes for each, but the article would take a whole lot more time to write (that said, the next section touches on this). Delicious Brains has a great article on <a href="https://deliciousbrains.com/preparing-wordpress-plugins-gutenberg/" target="_blank" rel="noopener noreferrer nofollow">preparing your plugins for Gutenberg</a>, that walks through testing and updating plugins and post types to be compatible, I&#8217;d strongly suggest reading it, as it covers a lot of the issues you may encounter.</p>
<h2>Do I have to use Gutenberg &#8211; can&#8217;t I just use the old editor?</h2>
<p><em>YES, you can continue using the old editor!</em></p>
<p>There&#8217;s quite a bit of flexibility, too, as you can opt to ignore Gutenberg globally (for now), or conditionally opt out.</p>
<h3>Gobally ignore Gutenberg</h3>
<p>To stay with the old editor and ignore the new Gutenberg editor entirely (for now at least), add the following code to your theme&#8217;s <code>functions.php</code> file:</p>
<pre><code class="lang-php">add_filter(&#039;use_block_editor_for_post&#039;, &#039;__return_false&#039;);
</code></pre>
<h3>Conditionally ignore Gutenberg for pages</h3>
<p>If you&#8217;re feeling confident that Gutenberg is fine on blog posts, but would prefer to stick with the old editor on pages, then add the following filter to your theme&#8217;s <code>functions.php</code> files:</p>
<pre><code class="lang-php">add_filter(&#039;use_block_editor_for_post_type&#039;, function ($is_enabled, $post_type) {
    // pages will not Gutenberg
    if ($post_type === &#039;page&#039;) return false;
    
    return $is_enabled;
}, 10, 2);
</code></pre>
<h3>Conditionally ignore Gutenberg when using custom meta boxes</h3>
<p>If you only want to disable it on pages and posts that have specific custom meta boxes, then you can to add <code>__block_editor_compatible_meta_box&#039; =&gt; false</code> to the meta box&#8217;s <code>callback_args</code> array. For example:</p>
<pre><code class="lang-php">add_meta_box(
    &#039;your_metabox_id&#039;,     // $id       string
    &#039;Your Metabox Title&#039;,  // $title    string
    &#039;metabox_callback&#039;,    // $callback callable
     null,                 // $screen   string|array|WP_Screen
    &#039;normal&#039;,              // $context  string
    &#039;default&#039;,             // $priority string
    array(&#039;__block_editor_compatible_meta_box&#039; =&gt; false) // $callback_args array
);
</code></pre>
<p>For more info on meta boxes, please refer to the official <a href="https://developer.wordpress.org/reference/functions/add_meta_box/" target="_blank" rel="noopener noreferrer nofollow">WordPress Developer</a> pages.</p>
<h2>Conclusion</h2>
<p>WordPress 5 + Gutenberg is <del datetime="2018-12-07T08:14:14+00:00">imminent</del> here! This is definitely a great step forwards for WP and if you update your sites to work with it, you will enjoy all the goodness of working with blocks. If you have a WordPress site and you would like help with updating to version 5, please get in touch and we will help you through the process.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1477</post-id>	</item>
	</channel>
</rss>
