<?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/"
	>

<channel>
	<title>Wordpress &#8211; Marcos Rego</title>
	<atom:link href="https://marcosrego.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://marcosrego.com</link>
	<description>Web Development</description>
	<lastBuildDate>Mon, 05 Feb 2024 15:25:53 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>Create custom utility classes and breakpoints for Mr.Utils</title>
		<link>https://marcosrego.com/blog/custom-utility-classes-breakpoints/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Sat, 27 Jan 2024 19:13:33 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Mr.Dev.'s Framework]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=3083</guid>

					<description><![CDATA[Mr.Utils includes a good preset of utility classes, for spacing, colors, sizes, components and much more. And when using it on WordPress, you and other users can even select them via the block editor. But there might be occasions, that you need to have your own custom classes, and you might want them to be [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-3083"></span>
<!--noteaser-->



<p>Mr.Utils includes a good preset of utility classes, for spacing, colors, sizes, components and much more. And when using it on WordPress, you and other users can even select them via the block editor.</p>



<p>But there might be occasions, that you need to have your own custom classes, and you might want them to be available on the editor also.</p>



<p>And maybe you want to use those custom classes on specific breakpoints: The 4 preset breakpoints might not be enough for you, if that&#8217;s the case, you can also create custom breakpoints.</p>



<p>On this tutorial, you will learn how you can add your own custom utility classes and breakpoints to Mr.Utils. There are two ways to do it:</p>



<ul class="wp-block-list">
<li><strong>Using Mr.Dev.&#8217;s Framework</strong> &#8211; is the easiest way on WordPress.</li>



<li><strong>Manual implementation on Mr.Utils</strong></li>
</ul>



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   has-main-text-color-color has-text-color wp-block-heading"><strong>Did you know?</strong></h3>



<figure class="    wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png" alt="Mr.Utils Opengraph Image" class="wp-image-1029" title="mrutils marcosrego opengraph - Create custom utility classes and breakpoints for Mr.Utils" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color"><strong><a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a></strong> gives you a set of classes with a clear syntax, such as <em><strong>mr-phone-hide</strong></em> clearly saying to hide an element on a phone, <strong><em>mr-marginright</em></strong> to add a margin on the right side of an element and <strong><a rel="noreferrer noopener" href="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes" data-type="URL" data-id="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes" target="_blank">so much more</a></strong>&#8230;</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/client-area/downloads/?product=mrutils"><strong>Get it now (free)</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading" id="using-mr-dev-s-framework-on-wordpress"><strong>Using Mr.Dev.&#8217;s Framework on WordPress</strong></h2>



<h3 class="  wp-block-heading" id="create-custom-utility-classes-using-mr-dev-s-framework"><strong>Create custom utility classes using Mr.Dev.&#8217;s Framework</strong></h3>



<ol class="  wp-block-list">
<li>Once on WordPress, go to &#8220;Settings&#8221; &gt; &#8220;Mr.Dev.&#8221; (or your website name, depending of the configuration).</li>



<li>Go to the &#8220;Utilities&#8221; tab (If the tab is not available, you&#8217;ll need to enable the option on the &#8220;Configuration&#8221; tab, at &#8220;Utilities configuration&#8221;).</li>



<li>On &#8220;Default options&#8221; click on &#8220;Choose available features&#8221; and select &#8220;Custom&#8221; on each breakpoint where you&#8217;ll want your custom classes to be available.</li>



<li>Below on &#8220;Custom Utilities&#8221;, click on + to add the first class.</li>



<li>Choose the class name (the class will be generated from this name).</li>



<li>Choose the CSS property (A list of some properties will appear while you write, those properties can be used for the block editor. You can still use any CSS property you want, even the ones not listed, the only downside is those might not appear on the block editor, you&#8217;ll need to copy &amp; paste the class).</li>



<li>Choose the CSS variable / value (If you have the &#8220;Styles&#8221; tab enabled, you can create the variables there, they will appear in here after. And you don&#8217;t have to use variables, you can also write the intended values directly here if you prefer.)</li>
</ol>



<p>Tip: If you want a class to have multiple properties, you can do it, by having the same class name repeated multiple times.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img decoding="async" width="1024" height="538" data-id="3104" src="https://marcosrego.com/wp-content/uploads/2024/01/mrdev-framework_mr-utils_custom-classes-1024x538.jpg" alt="custom utility classes on Mr.Utils with Mr.Dev.&#039;s Framework" class="wp-image-3104" title="mrdev framework mr utils custom classes - Create custom utility classes and breakpoints for Mr.Utils" srcset="https://marcosrego.com/wp-content/uploads/2024/01/mrdev-framework_mr-utils_custom-classes-1024x538.jpg 1024w, https://marcosrego.com/wp-content/uploads/2024/01/mrdev-framework_mr-utils_custom-classes-300x158.jpg 300w, https://marcosrego.com/wp-content/uploads/2024/01/mrdev-framework_mr-utils_custom-classes-768x403.jpg 768w, https://marcosrego.com/wp-content/uploads/2024/01/mrdev-framework_mr-utils_custom-classes.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</figure>



<h4 class="  wp-block-heading" id="using-the-custom-utility-classes"><strong>Using the custom utility classes</strong></h4>



<p>Once you create the custom utility classes, you will see inputs showing how the class looks for each breakpoint (that you selected on the 3rd step). You can click on the input to copy the class and then paste into your HTML, CSS, etc. </p>



<p>If the option &#8220;Show utilities on the block editor&#8221; is active, you can use the block editor to use the custom classes, for options related to spacing, coloring and sizes.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img decoding="async" width="772" height="250" data-id="2289" src="https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1.png" alt="Mr.Utils options on WordPress block editor" class="wp-image-2289" title="banner 772x250 1 - Create custom utility classes and breakpoints for Mr.Utils" srcset="https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1.png 772w, https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1-300x97.png 300w, https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1-768x249.png 768w" sizes="(max-width: 772px) 100vw, 772px" /><figcaption class="wp-element-caption">Mr.Utils options on WordPress block editor</figcaption></figure>
</figure>



<h3 class="  wp-block-heading" id="add-custom-breakpoints-using-mr-dev-s-framework"><strong>Add custom breakpoints using Mr.Dev.&#8217;s Framework</strong></h3>



<ol class="  wp-block-list">
<li>Once on WordPress, go to &#8220;Settings&#8221; &gt; &#8220;Mr.Dev.&#8221; (or your website name, depending of the configuration).</li>



<li>Go to the &#8220;Styles&#8221; tab (If the tab is not available, you&#8217;ll need to enable the option on the &#8220;Configuration&#8221; tab, at &#8220;Styles configuration&#8221;).</li>



<li>Scroll down to the &#8220;Breakpoints&#8221; section, where you will find 4 preset breakpoints already created, that you can change the values.</li>



<li>Click on &#8220;+&#8221; on &#8220;Number of Breakpoints&#8221; to add a custom breakpoint.</li>



<li>Choose the name for the breakpoint and define the min/max &#8211; width/height. </li>
</ol>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="951" height="963" data-id="2687" src="https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints.jpg" alt="ressanogarciaarq styles base breakpoints" class="wp-image-2687" title="ressanogarciaarq styles base breakpoints - Create custom utility classes and breakpoints for Mr.Utils" srcset="https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints.jpg 951w, https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints-296x300.jpg 296w, https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints-768x778.jpg 768w" sizes="auto, (max-width: 951px) 100vw, 951px" /><figcaption class="wp-element-caption">Example of using custom breakpoints on <a href="https://marcosrego.com/websites/ressanogarcia/" data-type="post" data-id="1795">Ressano Garcia Aquitectos website</a>.</figcaption></figure>
</figure>



<h4 class="  wp-block-heading" id="using-the-custom-breakpoints"><strong>Using the custom breakpoints</strong></h4>



<p>Once you create the custom breakpoints, you can select them on the &#8220;Utilities&#8221; tab or/and on the &#8220;Files / Media&#8221; tab. </p>



<p>On the &#8220;Files/Media&#8221; tab, you can choose on which breakpoints each spreadsheet should load (In production, do not forget to use a cache plugin with minifying options, to combine these spreadsheets, while keeping the breakpoints and their media queries).</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="693" data-id="956" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Files page" class="wp-image-956" title="mrdev framework files - Create custom utility classes and breakpoints for Mr.Utils" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">On the Files / Media tab you can decide on which breakpoints a stylesheet should load.</figcaption></figure>
</figure>



<h2 class="wp-block-heading" id="manual-implementation-on-mr-utils"><strong>Manual implementation on Mr.Utils</strong></h2>



<h3 class="  wp-block-heading" id="create-custom-utility-classes"><strong>Create custom utility classes</strong></h3>



<ol class="  wp-block-list">
<li><a href="https://marcosrego.com/client-area/downloads/?product=mrutils" target="_blank" data-type="link" data-id="https://marcosrego.com/client-area/downloads/?product=mrutils" rel="noreferrer noopener">Download Mr.Utils.</a></li>



<li>Go to &#8220;dev/css&#8221;. Each folder located in here corresponds to one breakpoint (except for &#8220;utils&#8221; that is global).</li>



<li>Go to each folder/breakpoint where you want your custom classes to be available and create a utils_<em>breakpoint</em>_custom.css file on each one.</li>



<li>Open all the created files and add a class, following the utilities rules. Example: &#8220;<code>.mr-<em>breakpoint</em>-fontsize10 { }</code>&#8220;.</li>



<li>Add the intended CSS properties to each class. Example: &#8220;<code>font-size: var(--font-size-10,60px);</code>&#8220;.</li>



<li>Once you created all classes on all utils_custom.css, go to the main file on each folder/breakpoint, titled &#8220;utils_<em>breakpoint</em>.css&#8221;.</li>



<li>Add the following line: <code>@import url("utils_<em>breakpoint</em>_custom.css"); </code>Replacing &#8220;breakpoint&#8221; with the actual breakpoint name.</li>



<li><strong>For development</strong>, you can load each of the main &#8220;dev/css/utils_<em>breakpoint</em>/utils_<em>breakpoint</em>.css&#8221; files, with media queries. <br><strong>For production,</strong> you should use your favourite compiler, to compile the main files into the main &#8220;css&#8221; folder (located in the root folder). Use media queries to load all files inside that folder and then, use a page/html minifier to join all those media queried files into one.</li>
</ol>



<h3 class="  wp-block-heading" id="add-custom-breakpoints"><strong>Add custom breakpoints</strong></h3>



<p>With more files you can add more breakpoint names and media queries:</p>



<ol class="  wp-block-list">
<li>Start by copying one of the given breakpoint files. For this example, copy the file &#8216;utils_desktop.css&#8217;.</li>



<li>Change the file name to the name of your breakpoint. For this example rename it &#8216;utils_notmobile.css&#8217; .</li>



<li>Use your favorite code editor to find and replace all instances of &#8216;-desktop-&#8216; with &#8216;-notmobile-&#8216;.</li>



<li>Save the file next to other breakpoints and load it with your own media query. For this example, the easiest would be to add the following to the&nbsp;<code>&lt;head&gt;</code>&nbsp;section:<br><code>&lt;link rel='stylesheet' href='mr-utils/css/utils_notmobile.css' media='(min-width: 768px)' /&gt;</code></li>
</ol>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>5 cool extras from Mr.Dev&#8217;s Framework that you should know</title>
		<link>https://marcosrego.com/blog/mrdev-framework-extras/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Fri, 05 Aug 2022 18:39:56 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Mr.Dev.]]></category>
		<category><![CDATA[Mr.Dev.'s Framework]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2668</guid>

					<description><![CDATA[Besides the usual tasks, the framework brings some handy extra features such as white labelling WordPress, block editor on WooCommerce, dequeue CSS and JS files, changing the backend style, setting CSS root variables and more&#8230; In this post, I&#8217;ll be focusing on those useful extras. Whitelabel WordPress and Mr.Dev. for a more friendly and professional [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Besides <a href="https://marcosrego.com/development/mrdev-framework/#features" data-type="post" target="_blank" rel="noreferrer noopener">the usual tasks</a>, the framework brings some handy extra features such as white labelling WordPress, block editor on WooCommerce, dequeue CSS and JS files, changing the backend style, setting CSS root variables and more&#8230;</p>



<span id="more-2668"></span>



<p>In this post, I&#8217;ll be focusing on those useful extras.</p>



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   has-main-text-color-color has-text-color wp-block-heading"><strong>Did you know?</strong></h3>



<figure class="    wp-block-image size-large"><a href="https://marcosrego.com/development/mrdev-framework/"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-1024x538.png" alt="Mr.Dev.&#039;s Framework Opengraph Image" class="wp-image-1026" title="mrdevframework marcosrego opengraph - 5 cool extras from Mr.Dev&#039;s Framework that you should know" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<p class="  has-main-text-color-color has-text-color">When <strong>Mr.Dev.</strong> sells his <strong>framework</strong>, <strong>one unique payment</strong> gives you <strong>updates forever</strong> and for <strong>unlimited websites</strong>!</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/development/mrdev-framework/"><strong>Know more</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading"><strong>Whitelabel WordPress and Mr.Dev. for a more friendly and professional look</strong></h2>



<h3 class="  wp-block-heading"><strong>Whitelabel WordPress and Mr.Dev. titles and logos</strong></h3>



<p>Mr.Dev&#8217;s Framework can replace the main instances of WordPress title and logo with the site&#8217;s name and favicon, this will better personalize the backend and login page to you or your client. Giving that extra friendly and professional touch shows that you care and leaves a good impression on your client.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-whitelabel-backend-login.jpg"><img loading="lazy" decoding="async" width="1024" height="518" data-id="2685" src="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-whitelabel-backend-login-1024x518.jpg" alt="itemzero whitelabel backend login" class="wp-image-2685" title="itemzero whitelabel backend login - 5 cool extras from Mr.Dev&#039;s Framework that you should know" srcset="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-whitelabel-backend-login-1024x518.jpg 1024w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-whitelabel-backend-login-300x152.jpg 300w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-whitelabel-backend-login-768x389.jpg 768w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-whitelabel-backend-login-1536x777.jpg 1536w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-whitelabel-backend-login.jpg 1749w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Replace the WordPress logo on the login page with your own.</figcaption></figure>
</figure>



<p>Mr.Dev.&#8217;s Framework can also replace its own title and logo, that way your client can easily find where the framework settings and make changes. It&#8217;s much easier for you to explain and for your client to remember that he/she needs to &#8220;go to <em>Settings &gt; Website name &gt; Styles, </em>to change the colours<em>&#8220;</em> compared to saying &#8220;Settings &gt; Mr.Dev.&#8217;s Framework &gt; Styles&#8221;.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-mrdev-whitelabel-backend.jpg"><img loading="lazy" decoding="async" width="1901" height="963" data-id="2684" src="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-mrdev-whitelabel-backend.jpg" alt="itemzero mrdev whitelabel backend" class="wp-image-2684" title="itemzero mrdev whitelabel backend - 5 cool extras from Mr.Dev&#039;s Framework that you should know" srcset="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-mrdev-whitelabel-backend.jpg 1901w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-mrdev-whitelabel-backend-300x152.jpg 300w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-mrdev-whitelabel-backend-1024x519.jpg 1024w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-mrdev-whitelabel-backend-768x389.jpg 768w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-mrdev-whitelabel-backend-1536x778.jpg 1536w" sizes="auto, (max-width: 1901px) 100vw, 1901px" /></a><figcaption class="wp-element-caption">Replace WordPress&#8217; and Mr.Dev.&#8217;s name and logo with your website name and favicon.</figcaption></figure>
</figure>



<h3 class="  wp-block-heading"><strong>Whitelabel WordPress active theme</strong></h3>



<p>If you are using a theme that changes looks over time, or it uses a name that does not match the website, it can also be friendly and looks professional, to change the look of the active theme on WordPress theme list, to show the current look and name of the website.</p>



<p>By enabling the &#8220;Active theme&#8221; white label, the active theme will always show a screenshot and the name of the website, as shown on the image below.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-7 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2022/08/giftncraft-active-theme-whitelabel.jpg"><img loading="lazy" decoding="async" width="1920" height="954" data-id="2698" src="https://marcosrego.com/wp-content/uploads/2022/08/giftncraft-active-theme-whitelabel.jpg" alt="Giftncraft active theme whitelabel" class="wp-image-2698" title="giftncraft active theme whitelabel - 5 cool extras from Mr.Dev&#039;s Framework that you should know" srcset="https://marcosrego.com/wp-content/uploads/2022/08/giftncraft-active-theme-whitelabel.jpg 1920w, https://marcosrego.com/wp-content/uploads/2022/08/giftncraft-active-theme-whitelabel-300x149.jpg 300w, https://marcosrego.com/wp-content/uploads/2022/08/giftncraft-active-theme-whitelabel-1024x509.jpg 1024w, https://marcosrego.com/wp-content/uploads/2022/08/giftncraft-active-theme-whitelabel-768x382.jpg 768w, https://marcosrego.com/wp-content/uploads/2022/08/giftncraft-active-theme-whitelabel-1536x763.jpg 1536w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></a><figcaption class="wp-element-caption">On the left side the list of themes without whitelabel, on the right side the list with the active theme whitelabel with site name and screenshot. (From <a href="https://marcosrego.com/websites/giftncraft/" target="_blank" data-type="post" data-id="120" rel="noreferrer noopener">Gift &amp; Craft website</a>)</figcaption></figure>
</figure>



<h3 class="  wp-block-heading"><strong>Change WordPress backend styling</strong></h3>



<p>With some themes, you can find the option to style the backend in the Configuration tab of the Framework. By enabling it, the styles configured on the styles tab will be automatically applied on the backend.</p>



<p>Currently, the Mr.Dev_s theme shows that option if you have Beta Test enabled.</p>



<p>If your theme does not give you that option, all you need to do is to create a file named <em>style-admin.css</em> on the root folder. Edit the file to add styles accordingly <em>(you can use the variables you set on the Framework)</em> and enable the option to see the results on the backend.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-8 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2022/08/marcosrego-backend-style-mrdev.jpg"><img loading="lazy" decoding="async" width="1920" height="964" data-id="2686" src="https://marcosrego.com/wp-content/uploads/2022/08/marcosrego-backend-style-mrdev.jpg" alt="marcosrego backend style mrdev" class="wp-image-2686" title="marcosrego backend style mrdev - 5 cool extras from Mr.Dev&#039;s Framework that you should know" srcset="https://marcosrego.com/wp-content/uploads/2022/08/marcosrego-backend-style-mrdev.jpg 1920w, https://marcosrego.com/wp-content/uploads/2022/08/marcosrego-backend-style-mrdev-300x151.jpg 300w, https://marcosrego.com/wp-content/uploads/2022/08/marcosrego-backend-style-mrdev-1024x514.jpg 1024w, https://marcosrego.com/wp-content/uploads/2022/08/marcosrego-backend-style-mrdev-768x386.jpg 768w, https://marcosrego.com/wp-content/uploads/2022/08/marcosrego-backend-style-mrdev-1536x771.jpg 1536w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></a><figcaption class="wp-element-caption">Style the backend with the variables set on Mr.Dev.&#8217;s Framework</figcaption></figure>
</figure>



<h2 class="wp-block-heading"><strong>Dequeue CSS and JS files from WordPress or plugins</strong></h2>



<p>Another cool and handy feature on Mr.Dev&#8217;s Framework is the File Manager, not only it allows adding new styles and scripts, it also allows to dequeue files that were already loaded, not only by the framework but also from other plugins or even WordPress itself.</p>



<p>To do this, go to the &#8220;Files&#8221; tab and increase the number of files (Styles or Scripts).</p>



<p>Then, for the new &#8220;File ID&#8221; field, you&#8217;ll grab the ID of the file that you want to dequeue, without -css or -js. </p>



<p>For example, if you wanted to dequeue the styles of the block editor, you would inspect the source of a page and find something like this:</p>



<pre class="wp-block-code"><code>&lt;link rel='stylesheet' id='wp-block-library-css'  href='/wp-includes/css/dist/block-library/style.min.css?ver=6.0.1' media='all' /&gt;</code></pre>



<p>The part &#8220;wp-block-library&#8221; is what you need to copy and paste on the &#8220;File ID&#8221; field.</p>



<p>Then, on the load part, you&#8217;ll choose &#8220;Do not load&#8221;.</p>



<p>Save and that&#8217;s it!</p>



<p>You don&#8217;t need to add the File URL in this situation.</p>



<p>Combine this with assignments if you want to remove a style or script from specific posts / categories / post-types&#8230;</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-9 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="693" data-id="956" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Files page" class="wp-image-956" title="mrdev framework files - 5 cool extras from Mr.Dev&#039;s Framework that you should know" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Add files or external urls, choose when to load each one and edit them directly in WordPress with the default plugins editor.</figcaption></figure>
</figure>



<h2 class="wp-block-heading"><strong>How to set the base for rem sizes</strong></h2>



<p>If you are using rem sizes on your CSS variables, you might want to set the base size for rem and change it depending on the breakpoints.</p>



<p>It&#8217;s really easy to do it with Mr.Dev.&#8217;s Framework, just set one variable name to &#8220;base&#8221; and save. Once you save, you&#8217;ll notice that also the breakpoints now have the option to change the base value accordingly.</p>



<p>On the back side of things, Mr.Dev.&#8217;s Framework adds the font-size to the html element once it recognizes the &#8220;base&#8221; variable, on the same stylesheet.</p>



<h2 class="wp-block-heading"><strong>Add root variables instead of body for styling</strong></h2>



<p>Most times, adding CSS variables to the <em>body</em> is the way to go if you want to make them available to use anywhere on your pages (for example: WordPress block editor and FSE [Full site editor] do exactly that), that&#8217;s why Mr.Dev.&#8217;s Framework does it.</p>



<p>But there are specific situations, that you might want to have the variables available to elements before the body. For example: setting a value for <em>scroll-padding-top</em> (to have a scroll offset) with a variable can only be done on the html or on the root element.</p>



<p>Those are very specific situations, so the way to do it might not be very obvious, but it&#8217;s very easy. All you have to do on the framework is to include one of the following words on your variable name/slug:<br>&#8220;<strong>base</strong>&#8220;, &#8220;<strong>root</strong>&#8221; or &#8220;<strong>offset</strong>&#8220;.</p>



<p>By doing that, the framework will add those variables to the root element when creating the <em>vars.css</em> file.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-10 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints.jpg"><img loading="lazy" decoding="async" width="951" height="963" data-id="2687" src="https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints.jpg" alt="ressanogarciaarq styles base breakpoints" class="wp-image-2687" title="ressanogarciaarq styles base breakpoints - 5 cool extras from Mr.Dev&#039;s Framework that you should know" srcset="https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints.jpg 951w, https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints-296x300.jpg 296w, https://marcosrego.com/wp-content/uploads/2022/08/ressanogarciaarq-styles-base-breakpoints-768x778.jpg 768w" sizes="auto, (max-width: 951px) 100vw, 951px" /></a><figcaption class="wp-element-caption">Example of using offset and base on Mr.Dev.&#8217;s Framework Styles (example from <a href="https://marcosrego.com/websites/ressanogarcia/" target="_blank" data-type="post" data-id="1795" rel="noreferrer noopener">Ressano Garcia Arquitectos</a>).</figcaption></figure>
</figure>



<h2 class="wp-block-heading"><strong>Enable the block editor on WooCommerce product pages and remove WooCommerce default styles</strong></h2>



<p>If you have WooCommerce enabled, you will find options for it on the Configuration tab of Mr.Dev.&#8217;s Framework.</p>



<p>One option allows removing all WooCommerce default styles, this is very helpful if you want to style WooCommerce from scratch.</p>



<p>Another option is to enable the block editor on WooCommerce product pages. This option is currently only visible when the Beta test option is enabled, but it&#8217;s already on a stable status. It&#8217;s totally safe to enable beta test to use this feature. The only reason this is not yet on the master build is because I&#8217;m still considering whether to create or not a &#8220;post type manager &amp; builder&#8221;, if so this option will move to that feature.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-11 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-example-using-woocommerce-block-editor.jpg"><img loading="lazy" decoding="async" width="1920" height="918" data-id="2689" src="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-example-using-woocommerce-block-editor.jpg" alt="itemzero example using the block editor on woocommerce" class="wp-image-2689" title="itemzero example using woocommerce block editor - 5 cool extras from Mr.Dev&#039;s Framework that you should know" srcset="https://marcosrego.com/wp-content/uploads/2022/08/itemzero-example-using-woocommerce-block-editor.jpg 1920w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-example-using-woocommerce-block-editor-300x143.jpg 300w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-example-using-woocommerce-block-editor-1024x490.jpg 1024w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-example-using-woocommerce-block-editor-768x367.jpg 768w, https://marcosrego.com/wp-content/uploads/2022/08/itemzero-example-using-woocommerce-block-editor-1536x734.jpg 1536w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></a><figcaption class="wp-element-caption">Using the block editor on WooCommerce Product page (example from <a href="https://marcosrego.com/websites/itemzero/" target="_blank" data-type="post" data-id="1" rel="noreferrer noopener">itemzero&#8217;s shop</a>)</figcaption></figure>
</figure>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>More than 6 essential mouseover effects for the block editor</title>
		<link>https://marcosrego.com/blog/block-editor-mouseover-effects/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Thu, 21 Apr 2022 23:50:55 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Block editor]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2567</guid>

					<description><![CDATA[Know how to add mouseover effects such as zoom, ease in-out, font-size and others, when mouse hovering a block on WordPress using Mr.Utils&#8230; Get mouseover options on the block editor One of the cool features of Mr.Utils is the ability to easily install it as a WordPress plugin for free. When you do so, an [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Know how to add mouseover effects such as zoom, ease in-out, font-size and others, when mouse hovering a block on WordPress using Mr.Utils&#8230;</p>



<span id="more-2567"></span>



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   has-main-text-color-color has-text-color wp-block-heading"><strong>Did you know?</strong></h3>



<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png" alt="Mr.Utils Opengraph Image" class="wp-image-1029" title="mrutils marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color"><strong><a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a></strong> can be installed as a <strong>WordPress plugin</strong>.<br>Give to the <strong>block editor</strong> super-powers such as <strong>pagination or components</strong> and apply changes <strong>depending of the device</strong>!</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/client-area/downloads/?product=mrutils"><strong>Get it now (free)</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading"><strong>Get mouseover options on the block editor</strong></h2>



<p>One of the cool features of <a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a> is the ability to easily install it as a WordPress plugin for free.</p>



<p>When you do so, an interface will appear on the block editor, allowing you to easily use the utility classes of this front-end toolkit.</p>



<p>One type of utility class is the mouse hover state, let&#8217;s focus on that for this post.</p>



<p><em>Note: If you prefer, you can <a href="https://github.com/marcosrego-web/mr-utils/wiki#installation" data-type="URL" data-id="https://github.com/marcosrego-web/mr-utils/wiki#installation" target="_blank" rel="noreferrer noopener">install Mr.Utils</a> without the interface and use the classes on each block Advanced section.</em></p>



<div style="height:30px" aria-hidden="true" class="  wp-block-spacer"></div>


<div class="wp-block-image">
<figure class="     aligncenter size-full"><img loading="lazy" decoding="async" width="275" height="714" src="https://marcosrego.com/wp-content/uploads/2022/04/screenshot-4.png" alt="Mr.Utils interface on block editor showing mouseover options" class="wp-image-2572" title="screenshot 4 - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2022/04/screenshot-4.png 275w, https://marcosrego.com/wp-content/uploads/2022/04/screenshot-4-116x300.png 116w" sizes="auto, (max-width: 275px) 100vw, 275px" /><figcaption class="wp-element-caption">Mr.Utils interface on block editor showing mouse hover options</figcaption></figure></div>


<div style="height:50px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Animations</strong></h2>



<p>On the Animation section of the <em>Hover</em> tab (zigzag arrow icon) you will find options such as Fade, Slide, Scale and Zoom.</p>



<p>One thing to keep in mind when selecting one of those options is: By default, the animation will only occur when mouse hovering above the element, nothing will happen when mouse hovering outside the element&#8230; If you want the animation to rollback when you go outside the element, you must go to the <em>Animation</em> section of the <em>Global</em> tab (first tab) and select the transition type (e.g. Ease In Out).<br>Once you apply a transition globally, the animation will react to both hover situations.</p>



<h3 class="  wp-block-heading"><strong>Live example using <em>Zoom</em> animation</strong></h3>



<div style="height:30px" aria-hidden="true" class="  wp-block-spacer"></div>



<p class=" mr-hover-zoom mr-active mr-easeinout mr-hover-easeinout  mr-hover-zoom mr-active  mr-easeinout  mr-hover-easeinout  has-text-align-center mr-hover-zoom mr-active mr-easeinout mr-hover-easeinout"><strong>This paragraph block animates on mouseover!</strong></p>



<div style="height:50px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Layout change</strong></h2>



<p>On the <em>Layout</em> section of the <em>Hover</em> tab (zigzag arrow icon) you will find options to change the size (width) of a block.</p>



<p>If you want to change the initial size, simply go to the <em>Layout</em> section on the <em>Global</em> tab (first tab) and find the similar option.</p>



<p>By default, the size will change without any transition/animation. If you want the block to change the size smoothly, you must go to the <em>Animation</em> section of the <em>Global</em> tab and select the transition type (e.g. Ease In Out).</p>



<h3 class="  wp-block-heading"><strong>Live example of size change</strong></h3>


<div class="wp-block-image mr-size11 mr-hover-size13 mr-easeinout">
<figure class="      alignleft size-large"><img loading="lazy" decoding="async" width="1024" height="768" src="https://marcosrego.com/wp-content/uploads/2021/11/screenshot-1024x768.png" alt="Mr.Dev.&#039;s Theme Screenshot" class="wp-image-2481" title="screenshot - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/11/screenshot-1024x768.png 1024w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot-300x225.png 300w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot-768x576.png 768w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">This image will change width on mouseover</figcaption></figure></div>


<div style="height:50px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Display changes</strong></h2>



<p>On the <em>Display </em>section of the <em>Hover</em> tab (zigzag arrow icon) you will find options to change the visibility type of a block.</p>



<p><a href="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes#display" target="_blank" data-type="URL" data-id="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes#display" rel="noreferrer noopener">Here you can better understand the differences between the visibility types.</a></p>



<p>With these options, you can make a block semi-opaque or totally opaque on mouseover. To do the latter, you must first put the block semi-opaque by default on the <em>Display</em> section of the <em>Global</em> tab (you can also use the option on the <em>Desktop</em> tab [screen icon]).</p>



<p>Just like changing the layout, if you want a smooth transition you must choose the transition type on the <em>Animations </em>section (e.g. Ease In Out).</p>



<h3 class="  wp-block-heading"><strong>Live example of visibility change</strong></h3>



<div class="wp-block-buttons is-horizontal is-nowrap is-layout-flex wp-container-core-buttons-is-layout-4 wp-block-buttons-is-layout-flex">
<div class="   mr-semiopaque mr-hover-opaque  mr-semiopaque  mr-hover-opaque  wp-block-button aligncenter mr-semiopaque mr-hover-opaque"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button"><strong>This button will become opaque on mouseover!</strong></a></div>



<div class="   mr-easeinout mr-transparent mr-hover-opaque  mr-easeinout  mr-transparent  mr-hover-opaque  wp-block-button aligncenter mr-easeinout mr-transparent mr-hover-opaque"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button">Hey you found the transparent button also!</a></div>
</div>



<div style="height:50px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Spacing changes</strong></h2>



<p>On the <em>Spacing </em>section of the <em>Hover</em> tab (zigzag arrow icon) you will find options to change the spacing (paddings or/and margins) of a block.</p>



<p>Just like changing the layout or display, if you want a smooth transition you must choose the transition type on the <em>Animations </em>section (e.g. Ease In Out) of the <em>Global</em> tab (first tab).</p>



<h3 class="  wp-block-heading"><strong>Live example of paddings change</strong></h3>



<div style="height:30px" aria-hidden="true" class="  wp-block-spacer"></div>



<figure class="   mr-size11 mr-easeinout mr-hover-paddingtop mr-hover-paddingleft mr-marginleft  mr-easeinout  mr-hover-paddingtop  mr-hover-paddingleft  mr-marginleft  wp-block-image size-large mr-size11 mr-easeinout mr-hover-paddingtop mr-hover-paddingleft mr-marginleft"><img loading="lazy" decoding="async" width="1024" height="768" src="https://marcosrego.com/wp-content/uploads/2021/11/screenshot-1024x768.png" alt="Mr.Dev.&#039;s Theme Screenshot" class="wp-image-2481" title="screenshot - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/11/screenshot-1024x768.png 1024w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot-300x225.png 300w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot-768x576.png 768w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">A padding-top and padding-left will be added to this image on mouseover</figcaption></figure>



<div style="height:50px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Text size change</strong></h2>



<p>On the <em>Text </em>section of the <em>Hover</em> tab (zigzag arrow icon) you will find options to change the font-size of a block.</p>



<p>Just like changing the layout, display or spacing, if you want a smooth transition you must choose the transition type on the <em>Animations </em>section (e.g. Ease In Out) of the <em>Global</em> tab (first tab).</p>



<h3 class="  wp-block-heading"><strong>Live example of font-size change</strong></h3>



<div style="height:30px" aria-hidden="true" class="  wp-block-spacer"></div>



<p class="mr-hover-fontsize5 mr-easeinout  mr-easeinout  mr-hover-fontsize5 mr-easeinout"><strong><em>This paragraph block will have it&#8217;s font-size increased on mouseover!</em></strong></p>



<div style="height:50px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Misc. Changes</strong></h2>



<p>On the <em>Misc. </em>section of the <em>Hover</em> tab (zigzag arrow icon) you will find some extra options such has:</p>



<h3 class="  wp-block-heading"><strong>Showing a scrollbar only when mouse hovering an element</strong></h3>



<p>There are more than 3 images below. Mouseover to see the scrollbar that will allow you to see all of them!</p>



<figure class=" mr-hidescroll mr-horizontalscroll mr-hover-scroll  mr-horizontalscroll  mr-hover-scroll  wp-block-gallery has-nested-images columns-default is-cropped mr-hidescroll mr-horizontalscroll mr-hover-scroll wp-block-gallery-12 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1012" src="https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph.png" alt="Itemzero Open Graph Image" class="wp-image-1012" title="marcosrego itemzero open graph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1013" src="https://marcosrego.com/wp-content/uploads/2021/06/rydoo-marcosrego-opengraph.png" alt="Rydoo Opengraph Image" class="wp-image-1013" title="rydoo marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/06/rydoo-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/06/rydoo-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/rydoo-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/rydoo-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1014" src="https://marcosrego.com/wp-content/uploads/2021/03/storylabs-marcosrego-opengraph.png" alt="Storylabs Opengraph Image" class="wp-image-1014" title="storylabs marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/03/storylabs-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/03/storylabs-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/03/storylabs-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/03/storylabs-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1015" src="https://marcosrego.com/wp-content/uploads/2021/03/rubenrdias-marcosrego-opengraph.png" alt="Ruben R. Dias Opengraph Image" class="wp-image-1015" title="rubenrdias marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/03/rubenrdias-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/03/rubenrdias-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/03/rubenrdias-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/03/rubenrdias-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1016" src="https://marcosrego.com/wp-content/uploads/2021/01/gjp-marcosrego-opengraph.png" alt="GJP Opengraph Image" class="wp-image-1016" title="gjp marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/01/gjp-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/01/gjp-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/01/gjp-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/01/gjp-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1017" src="https://marcosrego.com/wp-content/uploads/2020/11/openbook-marcosrego-opengraph.png" alt="Openbook Opengraph Image" class="wp-image-1017" title="openbook marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2020/11/openbook-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2020/11/openbook-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2020/11/openbook-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2020/11/openbook-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1018" src="https://marcosrego.com/wp-content/uploads/2020/09/cookit-marcosrego-opengraph.png" alt="Cookit Opengraph Image" class="wp-image-1018" title="cookit marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2020/09/cookit-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2020/09/cookit-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2020/09/cookit-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2020/09/cookit-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1019" src="https://marcosrego.com/wp-content/uploads/2020/09/arhcesmo-marcosrego-opengraph.png" alt="Arhcesmo Opengraph Image" class="wp-image-1019" title="arhcesmo marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2020/09/arhcesmo-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2020/09/arhcesmo-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2020/09/arhcesmo-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2020/09/arhcesmo-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1020" src="https://marcosrego.com/wp-content/uploads/2020/09/valdorio-marcosrego-opengraph.png" alt="Val do Rio Opengraph Image" class="wp-image-1020" title="valdorio marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2020/09/valdorio-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2020/09/valdorio-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2020/09/valdorio-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2020/09/valdorio-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1026" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph.png" alt="Mr.Dev.&#039;s Framework Opengraph Image" class="wp-image-1026" title="mrdevframework marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1027" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget-marcosrego-opengraph.png" alt="Mr.Dev.&#039;s Widget Opengraph Image" class="wp-image-1027" title="mrdevwidget marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1028" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevmodule-marcosrego-opengraph.png" alt="Mr.Dev.&#039;s Module Opengraph Image" class="wp-image-1028" title="mrdevmodule marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdevmodule-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevmodule-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevmodule-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevmodule-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1029" src="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph.png" alt="Mr.Utils Opengraph Image" class="wp-image-1029" title="mrutils marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1031" src="https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-marcosrego-opengraph.png" alt="editor4roks Opengraph Image" class="wp-image-1031" title="editor4roks marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1221" src="https://marcosrego.com/wp-content/uploads/2021/04/giftncraft-marcosrego-opengraph.png" alt="Gift &amp; Craft Opengraph Image" class="wp-image-1221" title="giftncraft marcosrego opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/04/giftncraft-marcosrego-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/04/giftncraft-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/04/giftncraft-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/04/giftncraft-marcosrego-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1330" src="https://marcosrego.com/wp-content/uploads/2020/11/emergencia-alimentar-marcosrego-site-opengraph.png" alt="Rede de Emergência Alimentar Open Graph Image" class="wp-image-1330" title="emergencia alimentar marcosrego site opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2020/11/emergencia-alimentar-marcosrego-site-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2020/11/emergencia-alimentar-marcosrego-site-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2020/11/emergencia-alimentar-marcosrego-site-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2020/11/emergencia-alimentar-marcosrego-site-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1838" src="https://marcosrego.com/wp-content/uploads/2020/09/cascade-marcosrego-site-opengraph.png" alt="Cascade website Opengraph Image" class="wp-image-1838" title="cascade marcosrego site opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2020/09/cascade-marcosrego-site-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2020/09/cascade-marcosrego-site-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2020/09/cascade-marcosrego-site-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2020/09/cascade-marcosrego-site-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>



<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1200" height="630" data-id="1813" src="https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph.png" alt="Ressano Garcia Arquitectos Open Graph Image" class="wp-image-1813" title="ressanogarciaarquitectos marcosrego site opengraph - More than 6 essential mouseover effects for the block editor" srcset="https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph.png 1200w, https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph-768x403.png 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></figure>
</figure>



<div style="height:30px" aria-hidden="true" class="  wp-block-spacer"></div>



<p>Those were very basic examples, but with some creativity you can use them to make fascinating and useful experiences for your website users 🙂</p>



<div style="height:50px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to create block patterns in WordPress</title>
		<link>https://marcosrego.com/blog/create-block-patterns/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Sun, 27 Feb 2022 15:47:54 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Block editor]]></category>
		<category><![CDATA[For clients and authors]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2515</guid>

					<description><![CDATA[At the moment of writing, WordPress does not yet give an interface for editors to create block patterns. But that doesn&#8217;t mean it&#8217;s difficult to create them without an interface. On this post, I&#8217;ll guide you on how you can create patterns, and I&#8217;ll try to make it as friendly as possible. Create a block [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-2515"></span>
<!--noteaser-->



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   has-main-text-color-color has-text-color wp-block-heading"><strong>Did you know?</strong></h3>



<figure class="    wp-block-image size-large"><a href="https://marcosrego.com/development/mrdev-framework/"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-1024x538.png" alt="Mr.Dev.&#039;s Framework Opengraph Image" class="wp-image-1026" title="mrdevframework marcosrego opengraph - How to create block patterns in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<p class="  has-main-text-color-color has-text-color">When <strong>Mr.Dev.</strong> sells his <strong>framework</strong>, <strong>one unique payment</strong> gives you <strong>updates forever</strong> and for <strong>unlimited websites</strong>!</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/development/mrdev-framework/"><strong>Know more</strong></a></div>
</div>
</div></section>
</div></aside>



<p>At the moment of writing, WordPress does not yet give an interface for editors to create block patterns. But that doesn&#8217;t mean it&#8217;s difficult to create them without an interface. On this post, I&#8217;ll guide you on how you can create patterns, and I&#8217;ll try to make it as friendly as possible.</p>



<h2 class="wp-block-heading"><strong>Create a block pattern with Mr.Dev.&#8217;s Framework</strong></h2>



<p>Currently, there&#8217;s no graphic user interface to create block patterns. <a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">Mr.Dev.&#8217;s Framework</a> only adds options that WordPress does not have by default, and I&#8217;m expecting WordPress to create that default interface very soon. For that reason, I&#8217;ll not add a specific interface for this functionality<em> (this might change if WordPress takes too much time to do it)</em>.</p>



<p>But if you can&#8217;t wait for that to happen, Mr.Dev.&#8217;s Framework can still help you on the process&#8230;</p>



<h2 class="wp-block-heading"><strong>Preparing a file for a <strong>WordPress</strong></strong> <strong>code snippet</strong></h2>



<h3 class="  wp-block-heading"><strong>Prepare it using Mr.Dev.&#8217;s Framework</strong></h3>



<ul class="wp-block-list">
<li>If you have Mr.Dev.&#8217;s Framework, check if the option to control files is enabled: If you see the tab <em>Files / Media</em> that means it is, if not then you can enable it on the <em>Configuration</em> tab on the <em>Files &amp; Media Manager</em> section.</li>



<li>Go to the <em>Files / Media</em> tab , there you can find the section <em>Server-side scripts</em>. Click on the pencil icon to open the file.<br>This is the file where you&#8217;ll add a <a href="#block_patterns_code_snippet">short code snippet</a>.</li>
</ul>



<p></p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex">
<div class="  wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:57%">
<figure class="    wp-block-image size-full"><a href="https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-enable-files-control.jpg"><img loading="lazy" decoding="async" width="906" height="313" src="https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-enable-files-control.jpg" alt="Mr.Dev.&#039;s Framework - Enable Files Control" class="wp-image-2539" title="mrdev framework enable files control - How to create block patterns in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-enable-files-control.jpg 906w, https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-enable-files-control-300x104.jpg 300w, https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-enable-files-control-768x265.jpg 768w" sizes="auto, (max-width: 906px) 100vw, 906px" /></a><figcaption class="wp-element-caption">Mr.Dev.&#8217;s Framework &#8211; Enable Files Control</figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="    wp-block-image size-full"><a href="https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-files-control-php.jpg"><img loading="lazy" decoding="async" width="533" height="248" src="https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-files-control-php.jpg" alt="Mr.Dev.&#039;s Framework - Adding/editing PHP servser-sides cripts" class="wp-image-2541" title="mrdev framework files control php - How to create block patterns in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-files-control-php.jpg 533w, https://marcosrego.com/wp-content/uploads/2022/02/mrdev-framework-files-control-php-300x140.jpg 300w" sizes="auto, (max-width: 533px) 100vw, 533px" /></a><figcaption class="wp-element-caption">Mr.Dev.&#8217;s Framework &#8211; Adding/editing PHP servser-sides cripts</figcaption></figure>
</div>
</div>



<h3 class="  wp-block-heading"><strong>Prepare it using a custom PHP file</strong></h3>



<p>If you don&#8217;t have Mr.Dev.&#8217;s Framework and already have a way to add PHP code snippets to your website, you can skip directly to add the <a href="#block_patterns_code_snippet">code snippet</a>.</p>



<p>Otherwise, you can <a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">get the framework</a> or <a href="#block_patterns_code_snippet">add the code</a> into the <em>functions.php</em> file of your theme.</p>



<h2 class="wp-block-heading"><strong>Block patterns code snippet</strong></h2>



<ul class="wp-block-list">
<li>Copy the code snippet below and paste it into the file you previously created/selected. Do not save yet because we still need to create the actual pattern.</li>
</ul>



<pre class="mr-fontsize2  wp-block-code mr-fontsize2"><code>//START BLOCK PATTERNS
function custom_site_init() {
	register_block_pattern_category(
		'custom-site',
		array( 'label' =&gt; get_bloginfo() )
	);
	
	register_block_pattern(
		'custom-site/project-list',
		array(
			'title'       =&gt; __( 'Pattern 1', 'custom-site' ),
			'description' =&gt; _x( '', 'Block pattern description', 'custom-site' ),
			'keywords' =&gt; &#91;'pattern'],
			'categories' =&gt; &#91;'custom-site'],
			'content'     =&gt; 'PATTERN CONTENT',
		)
	); 
}
add_action( 'init', 'custom_site_init' );
//END BLOCK PATTERNS</code></pre>



<h3 class="  wp-block-heading"><strong>Understanding the code</strong> (optional)</h3>



<p>The code above can be reused on as many websites as you want.</p>



<p>It will automatically create a pattern&#8217;s category with the same name as the website using <em>get_bloginfo()</em> <em>(behind the scenes the slug will be &#8220;custom-site&#8221;, and although you can change that, it is more scalable this way)</em>.</p>



<p>The pattern name will be &#8220;Pattern 1&#8221;, this part you can change to whatever you want, depending on the project or the actual pattern.</p>



<p>You can also add a pattern description and add/replace keywords <em>(The keywords are utilized when a user is using the search input to find blocks)</em>.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-13 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1717" height="756" data-id="2540" src="https://marcosrego.com/wp-content/uploads/2022/02/create-block-patterns-01.jpg" alt="Code snippet to create block patterns" class="wp-image-2540" title="create block patterns 01 - How to create block patterns in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2022/02/create-block-patterns-01.jpg 1717w, https://marcosrego.com/wp-content/uploads/2022/02/create-block-patterns-01-300x132.jpg 300w, https://marcosrego.com/wp-content/uploads/2022/02/create-block-patterns-01-1024x451.jpg 1024w, https://marcosrego.com/wp-content/uploads/2022/02/create-block-patterns-01-768x338.jpg 768w, https://marcosrego.com/wp-content/uploads/2022/02/create-block-patterns-01-1536x676.jpg 1536w" sizes="auto, (max-width: 1717px) 100vw, 1717px" /><figcaption class="wp-element-caption">Code snippet to create block patterns</figcaption></figure>
</figure>



<h2 class="wp-block-heading"><strong>Create the block pattern with the editor</strong></h2>



<p>Now that we have prepared the code snippet, we can use the block editor to create the content for the pattern.</p>



<ul class="wp-block-list">
<li>On a different tab, go to <em>Pages &gt; Add New</em>.</li>



<li>Create the content for the patterns, using any type of blocks you want.</li>



<li>In the top right corner, click on the 3 dots.</li>



<li>Click on &#8220;Copy all content&#8221;.</li>



<li>Go back to the PHP file you previously created/selected.</li>



<li>Replace <em>PATTERN CONTENT</em> with the content you just copied.</li>



<li>Save the file.</li>
</ul>



<p></p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex">
<div class="  wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-14 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="337" height="677" src="https://marcosrego.com/wp-content/uploads/2022/02/block-editor-copy-all-content.png" alt="Block editor - Copy all content - Option location" class="wp-image-2546" title="block editor copy all content - How to create block patterns in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2022/02/block-editor-copy-all-content.png 337w, https://marcosrego.com/wp-content/uploads/2022/02/block-editor-copy-all-content-149x300.png 149w" sizes="auto, (max-width: 337px) 100vw, 337px" /><figcaption class="wp-element-caption">Block editor &#8211; Copy all content &#8211; Option location</figcaption></figure>
</figure>
</div>
</div>



<h2 class="wp-block-heading"><strong>Add more block patterns</strong></h2>



<p>To create multiple block patterns, duplicate the function <em>register_block_pattern</em> from the code snippet above and repeat the same steps.</p>



<h2 class="wp-block-heading"><strong>Extra: Remove core block patterns from WordPress</strong></h2>



<p>Now that you added your own custom patterns, chances are you don&#8217;t want to show the default/core block patterns. </p>



<p>To do that, if you have Mr.Dev.&#8217;s Framework, you can simply enable <em>Styles Control</em> on the <em>Configuration tab</em>. Otherwise, you can add the following code on the previous code snippet, inside the main <em>custom_site_init</em> function:</p>



<pre class="mr-fontsize2  wp-block-code mr-fontsize2"><code>remove_theme_support( 'core-block-patterns' );</code></pre>



<h2 class="wp-block-heading"><strong>Will block patterns be on the interface?</strong></h2>



<p>Hopefully WordPress will soon add a good way to do this via the full site editor. There are some interesting discussions on which will be the best way, you can follow them:</p>



<ul class="wp-block-list">
<li><a href="https://github.com/WordPress/gutenberg/issues/31298" target="_blank" rel="noreferrer noopener">Patterns: Create a pattern similarly to how we create a Reusable block. · Issue #31298 · WordPress/Gutenberg (github.com)</a></li>



<li><a href="https://github.com/WordPress/gutenberg/issues/35305" target="_blank" rel="noopener">Selecting multiple blocks &#8211; Save as Pattern or Reusable block. · Issue #35305 · WordPress/gutenberg (github.com)</a></li>



<li><a href="https://github.com/WordPress/gutenberg/issues/38529" target="_blank" rel="noopener">Building with Patterns · Issue #38529 · WordPress/gutenberg (github.com)</a></li>
</ul>



<p>And that&#8217;s it! I hope the steps were clear and easy to follow. If not, feel free to comment below or <a href="https://marcosrego.com/client-area/contact/" data-type="post" data-id="678">contact me</a> if you prefer to talk about it privately.</p>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>A plugin development journey and what&#8217;s breaking in right before 2022</title>
		<link>https://marcosrego.com/blog/mrdev-mrutils-journey-new-2022/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Thu, 23 Dec 2021 01:29:00 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[About me]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Mr.Dev.]]></category>
		<category><![CDATA[Mr.Dev.'s Framework]]></category>
		<category><![CDATA[Mr.Dev.'s Module]]></category>
		<category><![CDATA[Mr.Dev.'s Widget]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2302</guid>

					<description><![CDATA[The journey of Mr.Dev.&#8217;s Widget and Module Back when I first started developing Mr.Dev.&#8217;s Widget and Module, it didn&#8217;t have that name and the main intention was to show categories in accordions and posts inside tabs that are inside those accordions for Ruben R Dias website. Back then, WordPress and Joomla were CMS where the [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-2302"></span>
<!--noteaser-->



<h2 class="wp-block-heading"><strong>The journey of Mr.Dev.&#8217;s Widget and Module</strong></h2>



<p>Back when I first started developing <a href="https://marcosrego.com/development/mrdev-widget/" data-type="post" data-id="574">Mr.Dev.&#8217;s Widget</a> and <a href="https://marcosrego.com/development/mrdev-module/" data-type="post" data-id="868">Module</a>, it didn&#8217;t have that name and the main intention was to show categories in accordions and posts inside tabs that are inside those accordions for <a href="https://marcosrego.com/websites/rubenrdias/" data-type="post" data-id="448">Ruben R Dias</a> website.</p>



<p>Back then, <a href="https://marcosrego.com/tag/wordpress/" data-type="post_tag" data-id="23">WordPress</a> and <a href="https://marcosrego.com/tag/joomla/" data-type="post_tag" data-id="46">Joomla</a> were CMS where the frontend was totally dependent of extra elements (themes, plugins and other optional features) that the developer/designer could choose to use or could create custom tools.</p>



<div style="height:30px" aria-hidden="true" class="  wp-block-spacer"></div>



<figure class="   wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-15 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="610" data-id="1572" src="https://marcosrego.com/wp-content/uploads/2021/08/rubenrdias-site-desktop-categories-1024x610.jpg" alt="Ruben R. Dias desktop website showing the main categories" class="wp-image-1572" title="rubenrdias site desktop categories - A plugin development journey and what&#039;s breaking in right before 2022" srcset="https://marcosrego.com/wp-content/uploads/2021/08/rubenrdias-site-desktop-categories-1024x610.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/08/rubenrdias-site-desktop-categories-300x179.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/08/rubenrdias-site-desktop-categories-768x457.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/08/rubenrdias-site-desktop-categories-1536x914.jpg 1536w, https://marcosrego.com/wp-content/uploads/2021/08/rubenrdias-site-desktop-categories.jpg 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Ruben R. Dias desktop website showing the main categories</figcaption></figure>
</figure>



<p>We (developers) had the full control over the frontend. </p>



<p>In my case, I choosed to create a widget and module because of the functions and the graphic user interface (GUI) that both WordPress and Joomla had already built-in. In theory they allowed to not bloat the systems with something otherwise done from scratch or using external dependencies.</p>



<p>The version of Mr.Dev.&#8217;s widget/module I gave to my direct clients became very powerful, <strong>allowing to show any type of content (from posts to products) with many options, themes and layouts</strong>. All that with checkbox and fields, so<strong> it was safe to give to clients</strong>, knowing they would not affect negatively the design.</p>



<p>To indirect clients <em>(people downloading the widget/module to their own developments)</em> I put the most powerful features part of the paid plugin <strong><a href="https://marcosrego.com/mrdev-widget-module-features/" data-type="page" data-id="838">Mr.Dev.&#8217;s Framework</a></strong>.</p>



<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_opengraph-1024x538.jpg" alt="Mr.Dev.&#039;s Widget getting the current category" class="wp-image-1582" title="mrdev widget category description opengraph - A plugin development journey and what&#039;s breaking in right before 2022" srcset="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_opengraph-1024x538.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_opengraph-300x158.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_opengraph-768x403.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_opengraph.jpg 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="  wp-block-heading"><strong>But then things changed..</strong></h3>



<p><strong>As for the module, Joomla 4</strong> was later released with different methods to create modules. It was not worth it to recreate the module, so it was discontinued and unsupported for other two reasons: The user-base of Joomla is much smaller comparing to WordPress and I was using Joomla mostly for <a href="https://marcosrego.com/tag/browserbox/" data-type="post_tag" data-id="47">a company where I am not working anymore</a>.</p>



<p><strong>As for the widget, WordPress also changed,</strong> with a new highly visual editor enabled by default: The <strong>Gutenberg block editor</strong> meant that WordPress was pushing to developers a specific tool to change the frontend, a tool that basically <strong>transforms the CMS into a site builder</strong>.</p>



<p>And with that, the optional features such as widgets and the customizer started to become obsolete vs the block editor with full site editor growing much stronger.</p>



<p>Despite this,<strong> Mr.Dev.&#8217;s Widget is still compatible and support is available</strong>! But no further development will be put into it (for the reason mentioned above).</p>



<p><strong>Instead I&#8217;ll focus my energies on Mr.Dev&#8217;s Framework and Mr.Utils..</strong></p>



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   has-main-text-color-color has-text-color wp-block-heading"><strong>Did you know?</strong></h3>



<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png" alt="Mr.Utils Opengraph Image" class="wp-image-1029" title="mrutils marcosrego opengraph - A plugin development journey and what&#039;s breaking in right before 2022" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color"><strong><a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a></strong> can be installed as a <strong>WordPress plugin</strong>.<br>Give to the <strong>block editor</strong> super-powers such as <strong>pagination or components</strong> and apply changes <strong>depending of the device</strong>!</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/client-area/downloads/?product=mrutils"><strong>Get it now (free)</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading"><strong>The plugin development journey of Mr.Dev.&#8217;s Framework</strong></h2>



<p>The idea behind the framework came up because I started noticing how using a <strong>third-party framework</strong> (Gantry5 with particles) together <strong>with the block editor and Mr.Dev.&#8217; widgets</strong> was adding extra learning curves, starting to bloat WordPress and I wasn&#8217;t even needing all the features of Gantry5.</p>



<p>So, keeping that idea of not wanting to bloat the system and make it simpler, <strong>I had to adopt the block editor and accept it as the future moving forward</strong>.</p>



<p><a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">Mr.Dev.&#8217;s Framework</a> focus on <strong>adding optional features</strong> he considers essential to a CMS, <strong>without repeating features already available by default</strong> and <strong>helping transition / discontinue features</strong> that might become available by default.</p>



<p>Being a continued path, <strong>the Framework its on active development and improvements continue to be made.</strong></p>



<figure class="   wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-16 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="954" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Configuration page" class="wp-image-954" title="mrdev framework configuration - A plugin development journey and what&#039;s breaking in right before 2022" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Enable only the options that you need on the configuration page. Including a maintenance mode and the use of Mr.Utils (CSS classes and JS functions).</figcaption></figure>
</figure>



<p><strong>And this brings us to today..</strong></p>



<h2 class="wp-block-heading"><strong>The new version of Mr.Utils joined with the Framework</strong></h2>



<p>Mr.Dev.&#8217;s Framework already helps to create breakpoints, add media sizes, create stylesheets with global colors, typography, sizes and files via a graphic user interface (GUI). And <strong>it always included an optional frontend toolkit I developed called <a href="https://marcosrego.com/tag/mr-utils/" data-type="post_tag" data-id="35">Mr.Utils</a></strong>.</p>



<p>There <strong>was</strong> no graphic user interface to use that toolkit, it was used mainly by developers knowing concepts like classes, CSS and javascript functions.</p>



<h3 class="  wp-block-heading"><strong>As of today, Mr.Utils and the framework reached the block editor!</strong></h3>



<p><strong>Mr.Dev. now gives an option for editors and clients to use that frontend toolkit using the GUI!</strong></p>



<p>All options will appear under an &#8220;Utilities&#8221; tab,&nbsp; allowing to easily implement designs that were difficult or impossible to implement with the current state of the Gutenberg block editor. <strong>Including Mr.Utils pagination (perpage) and components to create sliders and tabs.</strong></p>



<figure class="    wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-17 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-full"><a href="https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1.png"><img loading="lazy" decoding="async" width="772" height="250" data-id="2289" src="https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1.png" alt="Mr.Utils options on WordPress block editor" class="wp-image-2289" title="banner 772x250 1 - A plugin development journey and what&#039;s breaking in right before 2022" srcset="https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1.png 772w, https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1-300x97.png 300w, https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1-768x249.png 768w" sizes="auto, (max-width: 772px) 100vw, 772px" /></a><figcaption class="wp-element-caption">Mr.Utils options on WordPress block editor</figcaption></figure>
</figure>



<p>If you don&#8217;t have Mr.Dev&#8217;s Framework yet, you can actually <strong><a href="https://marcosrego.com/client-area/downloads/?product=mrutils">install Mr.Utils as a plugin for free</a></strong>. It will give you the same interface just without some advanced options.</p>



<p>And to finish with another great news, <strong>a present just in time for Christmas</strong>&#8230;</p>



<h2 class="wp-block-heading"><a href="https://wordpress.org/plugins/mr-utils/" target="_blank" data-type="URL" data-id="https://wordpress.org/plugins/mr-utils/" rel="noreferrer noopener"><strong>Mr.Utils plugin is available on WordPress repository</strong>!</a></h2>



<figure class="    wp-block-image size-large"><a href="https://wordpress.org/plugins/mr-utils/" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/12/mrutils-wordpress-repository-marcosrego-opengraph-1024x538.png" alt="Mr.Utils plugin journey reached the WordPress Repository" class="wp-image-2351" title="mrutils wordpress repository marcosrego opengraph - A plugin development journey and what&#039;s breaking in right before 2022" srcset="https://marcosrego.com/wp-content/uploads/2021/12/mrutils-wordpress-repository-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/12/mrutils-wordpress-repository-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/12/mrutils-wordpress-repository-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/12/mrutils-wordpress-repository-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<p>I hope you&#8217;ve found interesting to know the reasons behind developing this plugins, that you can join me on this journey and most of all, enjoy using the plugins!</p>



<p>Let&#8217;s now celebrate Christmas and start 2022 with the right footer! 🎅 🎄 🎁 🥂</p>



<p><strong>Extra note:</strong> <em>Mr.</em> comes from playing with the initials of my first and last name while representing a person that is a developer. <em>Dev.</em> represents the fact that all framework features are optional, thinking on developers that want some control and worry about lighter work environments.</p>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Mr.Dev.&#8217;s Framework</title>
		<link>https://marcosrego.com/development/mrdev-framework/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Mon, 01 Nov 2021 10:31:00 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Mr.Dev.]]></category>
		<category><![CDATA[Mr.Dev.'s Framework]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=403</guid>

					<description><![CDATA[Mr.Dev. is your provider of developing tools! He gives you a theme framework with optional features and add-ons that extend the natural workflow of WordPress. How? This framework focus exclusively on adding optional functionalities that WordPress doesn&#8217;t bring by default in its interface, avoiding bloating even more the system. Because those are all optional, you [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-403"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_mobile.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_desktop.mp4" playsinline></video></figure>



<h2 class="wp-block-heading" id="mr-dev-is-your-provider-of-developing-tools"><strong>Mr.Dev. is your provider of developing tools!</strong></h2>



<h3 class="  wp-block-heading" id="he-gives-you-a-theme-framework-with-optional-features-and-add-ons-that-extend-the-natural-workflow-of-wordpress"><strong>He gives you a theme framework with optional features and add-ons that extend the natural workflow of WordPress.</strong></h3>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=mrdevs-framework"><strong>Get it now</strong></a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="#features">Features</a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="#all-framework-features-work-with-any-theme">STARTER THEME</a></div>
</div>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-3 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="  wp-block-heading" id="how"><strong>How?</strong></h4>



<p><strong>This framework focus exclusively on adding <a href="#features">optional functionalities</a> that WordPress doesn&#8217;t bring by default in its interface, avoiding bloating even more the system.</strong></p>



<p>Because those are all optional, you the developer can decide and control which <a href="#features">features</a> are needed on a project basis. This also helps your clients to easily navigate the backend and customize the site with the options that you want them to see.</p>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="  wp-block-heading" id="why"><strong>Why?</strong></h4>



<p>WordPress already comes with the blocks editor. When you add a legacy theme or a site builder you increase the bloat of the system.</p>



<p>They usually come full of features <em>(many times repeated ones)</em>, adding extra layers, changing the original workflow and decreasing the overall speed and longevity. <strong>That&#8217;s why it&#8217;s important to have a light framework that focus on <a href="#features">optional extensions</a> only.</strong></p>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>
</div>
</div>



<h3 class="  wp-block-heading" id="features"><strong>Which features are available?</strong></h3>



<figure class="   wp-block-gallery has-nested-images columns-1 wp-block-gallery-18 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="954" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Configuration page" class="wp-image-954" title="mrdev framework configuration - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Enable only the options that you need on the configuration page. Including a maintenance mode and the use of Mr.Utils (CSS classes and JS functions).</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="958" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Styles" class="wp-image-958" title="mrdev framework styles - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Optionally use the plugin settings, the customizer or the block editor, to control global colors (with light and dark mode support), fonts, sizes and breakpoints everywhere.</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="956" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Files page" class="wp-image-956" title="mrdev framework files - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Optionally add files or external urls, choose where and when to load each one <em>(on a specific page, posts, blog, category)</em> and edit them directly in WordPress with the default plugins editor.</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="1331" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Media" class="wp-image-1331" title="mrdev framework media - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Optionally create more sizes to your images (scaled or cropped). Those sizes will appear on the srcset and also on the block and classic editors.</figcaption></figure>
</figure>



<h3 class="  wp-block-heading" id="all-framework-features-work-with-any-theme"><strong>All framework features work with any theme!</strong></h3>



<p>But if you want to start from scratch and focus on the features given by the framework, then <strong>Mr.Dev. gives you a boilerplate theme</strong> that you can use.</p>



<p>Despite being a boilerplate, you can develop complete websites without needing to add or edit the base code, that&#8217;s thanks to the features of the Framework together with the block editor.</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-4 wp-block-columns-is-layout-flex">
<div class="  wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:30%">
<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="768" src="https://marcosrego.com/wp-content/uploads/2021/11/screenshot-1024x768.png" alt="Mr.Dev.&#039;s Theme Screenshot" class="wp-image-2481" title="screenshot - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/11/screenshot-1024x768.png 1024w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot-300x225.png 300w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot-768x576.png 768w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>



<div class="  wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:70%">
<p>The <a href="https://marcosrego.com/client-area/downloads/?product=theme-mrdevtheme">Mr.Dev&#8217;s Theme</a> is a boilerplate that <strong>works with the default Full Site Editor</strong>. By joining the Framework, you can control the default styles that appear on the FSE and you&#8217;ll be up to date with all the new features that are coming to WordPress.</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=theme-mrdevtheme">DOWNLOAD</a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://github.com/marcosrego-web/mrdev-theme#mrdevs-theme" target="_blank" rel="noreferrer noopener">+INFO</a></div>
</div>
</div>
</div>



<div style="height:76px" aria-hidden="true" class="  wp-block-spacer"></div>



<div class="wp-block-buttons is-content-justification-left is-layout-flex wp-container-core-buttons-is-layout-9 wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=mrdevs-framework"><strong>Get THE FRAMEWORK</strong></a></div>
</div>



]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_mobile.mp4" length="2539458" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_desktop.mp4" length="2424924" type="video/mp4" />

			</item>
		<item>
		<title>Get 5 official block editor features with any theme</title>
		<link>https://marcosrego.com/blog/block-editor-features-theme/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Mon, 01 Nov 2021 10:00:00 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Block editor]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Mr.Dev.'s Framework]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2106</guid>

					<description><![CDATA[The block editor (aka Gutenberg) is the default site builder of WordPress but some handy features might be hidden, waiting for your theme to declare support. Which block editor features can be enabled? Features such as creation of block templates, responsive embeds, wide alignments for images, custom line-heights and custom spacing usually must be enabled [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-2106"></span>
<!--noteaser-->



<p class="">The block editor (aka Gutenberg) is the default site builder of WordPress but some handy features might be hidden, waiting for your theme to declare support.</p>



<h2 class="wp-block-heading"><strong>Which block editor features can be enabled?</strong></h2>



<p class="">Features such as <strong>creation of block templates, responsive embeds, wide alignments for images, custom line-heights and custom spacing</strong> usually must be enabled by <a href="https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/" target="_blank" data-type="URL" data-id="https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/" rel="noreferrer noopener">adding some code snippets into your theme</a>.</p>



<p class="">But what if you don&#8217;t have control over your theme code? What if you want to always have those features despite the theme you use?</p>



<p class="">Since the version 0.9.492 of <a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">Mr.Dev.&#8217;s Framework</a>, that you can enable all those features without touching any code.</p>



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   has-main-text-color-color has-text-color wp-block-heading"><strong>Did you know?</strong></h3>



<figure class="    wp-block-image size-large"><a href="https://marcosrego.com/development/mrdev-framework/"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-1024x538.png" alt="Mr.Dev.&#039;s Framework Opengraph Image" class="wp-image-1026" title="mrdevframework marcosrego opengraph - Get 5 official block editor features with any theme" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<p class="  has-main-text-color-color has-text-color">When <strong>Mr.Dev.</strong> sells his <strong>framework</strong>, <strong>one unique payment</strong> gives you <strong>updates forever</strong> and for <strong>unlimited websites</strong>!</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/development/mrdev-framework/"><strong>Know more</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading"><strong>How to get those block editor features?</strong></h2>



<p class="">On the <strong>Configuration tab</strong> of <strong><a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">Mr.Dev.&#8217;s Framework</a></strong>, located in <strong>Settings > Mr.Dev.</strong> <em>(Instead of Mr.Dev. you might see your site name, depending of the whitelabel configuration)</em>, you can find the section <strong>Styles Configuration</strong> with the dropdown <strong>Blocks Styles Picker</strong> and also the section <strong>Layout configuration</strong> with the dropdown <strong>Layout Control</strong>.</p>



<figure class="  wp-block-gallery columns-1 is-cropped wp-block-gallery-19 is-layout-flex wp-block-gallery-is-layout-flex"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><a href="https://marcosrego.com/wp-content/uploads/2021/10/mrdev-framework-block-features.png"><img loading="lazy" decoding="async" width="1008" height="611" src="https://marcosrego.com/wp-content/uploads/2021/10/mrdev-framework-block-features.png" alt="Mr.Dev.&#039;s Framework - Block Features" data-id="2137" data-full-url="https://marcosrego.com/wp-content/uploads/2021/10/mrdev-framework-block-features.png" data-link="https://marcosrego.com/blog/block-editor-features-theme/attachment/mrdev-framework-block-features/" class="wp-image-2137" title="mrdev framework block features - Get 5 official block editor features with any theme" srcset="https://marcosrego.com/wp-content/uploads/2021/10/mrdev-framework-block-features.png 1008w, https://marcosrego.com/wp-content/uploads/2021/10/mrdev-framework-block-features-300x182.png 300w, https://marcosrego.com/wp-content/uploads/2021/10/mrdev-framework-block-features-768x466.png 768w" sizes="auto, (max-width: 1008px) 100vw, 1008px" /></a><figcaption class="blocks-gallery-item__caption">Block Styles Picker also allows to enable extra features of the block editor (aka Gutenberg).<br>(Screenshot taken on October 2021)</figcaption></figure></li></ul></figure>



<p class="">Depending of the option you choose on those dropdowns, different features will be enabled:</p>



<h3 class="  wp-block-heading"><strong>Block templates</strong></h3>



<p class="">If your theme already enables block templates, you can leave the dropdown <strong>Layout Control</strong> with the option &#8220;Disabled / Theme Controlled&#8221;, otherwise you can select &#8220;Enable block templates (Recommended)&#8221;.</p>



<p class="">You&#8217;ll also need to have WordPress 5.8 or above. </p>



<p class="">The <strong>Block templates</strong> feature, allows to add blocks inside template parts such as header and footer. All changes you do on a block inside a template part will apply to all pages using that template.</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-5 wp-block-columns-is-layout-flex">
<div class=" mr-phone-hide  wp-block-column mr-phone-hide is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:16%">
<figure class="    wp-block-image size-full"><img loading="lazy" decoding="async" width="298" height="688" src="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-option.png" alt="block editor template option - Get 5 official block editor features with any theme" class="wp-image-2145" title="block editor template option - Get 5 official block editor features with any theme" srcset="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-option.png 298w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-option-130x300.png 130w" sizes="auto, (max-width: 298px) 100vw, 298px" /></figure>
</div>



<div class="  wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:78%">
<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="482" src="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-editor-1024x482.png" alt="Block editor template editor" class="wp-image-2146" title="block editor template editor - Get 5 official block editor features with any theme" srcset="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-editor-1024x482.png 1024w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-editor-300x141.png 300w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-editor-768x362.png 768w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-editor-1536x724.png 1536w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-template-editor.png 1908w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>
</div>



<div style="height:20px" aria-hidden="true" class="  wp-block-spacer"></div>



<h3 class="  wp-block-heading"><strong>Responsive embeds</strong></h3>



<p class="">This block editor feature will be enabled if you select one of this options:</p>



<ul class="wp-block-list"><li><strong>Disabled but with extra block features</strong> &#8211; It will not show the colors and sizes created using the framework (or the customizer) inside the block editor.</li><li><strong>Enabled with extra block features and allow custom styles</strong></li><li><strong>Enabled with extra block features</strong></li></ul>



<p class="">The <strong>Responsive embeds</strong> feature, automatically applies styles to embedded content to reflect the aspect ratio of content that is embedded in an iFrame, using the class <em>wp-embed-responsive</em> on the &lt;body&gt;.</p>



<div style="height:20px" aria-hidden="true" class="  wp-block-spacer"></div>



<h3 class="  wp-block-heading"><strong>Wide Alignment</strong></h3>



<p class="">This block editor feature will be enabled if you select one of this options:</p>



<ul class="wp-block-list"><li><strong>Disabled but with extra block features</strong> &#8211; It will not show the colors and sizes created using the framework (or the customizer) inside the block editor.</li><li><strong>Enabled with extra block features and allow custom styles</strong></li><li><strong>Enabled with extra block features</strong></li></ul>



<p class="">The <strong>Wide Alignment </strong>feature, gives the possibility of defining &#8220;wide&#8221; and &#8220;full&#8221; alignments to certain blocks, such as the image block.</p>



<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="578" src="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-wide-alignment-1024x578.png" alt="Block editor wide alignment" class="wp-image-2152" title="block editor wide alignment - Get 5 official block editor features with any theme" srcset="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-wide-alignment-1024x578.png 1024w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-wide-alignment-300x169.png 300w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-wide-alignment-768x433.png 768w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-wide-alignment.png 1453w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<div style="height:20px" aria-hidden="true" class="  wp-block-spacer"></div>



<h3 class="  wp-block-heading"><strong>Custom Line-Height</strong></h3>



<p class="">This block editor feature will be enabled if you select one of this options:</p>



<ul class="wp-block-list"><li><strong style="color: var(--main-text-color) ; font-family: var(--text-font, &quot;Arial,Helvetica Neue,Helvetica&quot;); background-color: var(--main-background-color, #dfdfd0);">Enabled with extra block features and allow custom styles</strong></li><li><strong><strong>Enabled and allow custom styles per block</strong></strong></li></ul>



<p class="">The <strong>Custom Line-Height</strong> feature, allows to customize the line height of certain blocks, such as the paragraph and headings.</p>



<figure class="    wp-block-image size-full"><img loading="lazy" decoding="async" width="776" height="280" src="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-paragraph-line-height.png" alt="Block editor paragraph line-height" class="wp-image-2153" title="block editor paragraph line height - Get 5 official block editor features with any theme" srcset="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-paragraph-line-height.png 776w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-paragraph-line-height-300x108.png 300w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-paragraph-line-height-768x277.png 768w" sizes="auto, (max-width: 776px) 100vw, 776px" /></figure>



<div style="height:20px" aria-hidden="true" class="  wp-block-spacer"></div>



<h3 class="  wp-block-heading"><strong>Custom Spacing</strong></h3>



<p class="">This block editor feature will be enabled if you select one of this options:</p>



<ul class="wp-block-list"><li><strong style="color: var(--main-text-color) ; font-family: var(--text-font, &quot;Arial,Helvetica Neue,Helvetica&quot;); background-color: var(--main-background-color, #dfdfd0);">Enabled with extra block features and allow custom styles</strong></li><li><strong><strong>Enabled and allow custom styles per block</strong></strong></li></ul>



<p class="">The <strong>Custom Spacing</strong> feature, will show padding controls in certain blocks, such as the column block. You can change the value for individual sides or keep the same for all sides.</p>



<figure class="    wp-block-image size-full"><img loading="lazy" decoding="async" width="774" height="599" src="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-padding-spacing.png" alt="Block editor padding spacing" class="wp-image-2156" title="block editor padding spacing - Get 5 official block editor features with any theme" srcset="https://marcosrego.com/wp-content/uploads/2021/10/block-editor-padding-spacing.png 774w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-padding-spacing-300x232.png 300w, https://marcosrego.com/wp-content/uploads/2021/10/block-editor-padding-spacing-768x594.png 768w" sizes="auto, (max-width: 774px) 100vw, 774px" /></figure>



<div style="height:20px" aria-hidden="true" class="  wp-block-spacer"></div>



<p class=""><strong><span style="color: var(--main-text-color) ; font-family: var(--text-font, &quot;Arial,Helvetica Neue,Helvetica&quot;); background-color: var(--main-background-color, #dfdfd0);">And the </span><em>Enabled</em><span style="color: var(--main-text-color) ; font-family: var(--text-font, &quot;Arial,Helvetica Neue,Helvetica&quot;); background-color: var(--main-background-color, #dfdfd0);"> option on the dropdown?</span></strong></p>



<p class="">It&#8217;s not part of this post&#8217;s topic, but if you prefer to let your theme/plugins decide most of the available features, but still want to show the colors and sizes created using the framework (or the customizer) on the block editor, then that option is for you.</p>



<div style="height:20px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Getting Mr.Dev.&#8217;s Framework</strong></h2>



<p class="">If this easy method to enable block editor features despite the theme sounds good to you, but you don&#8217;t have this framework yet, then you can know more about it and get it anytime:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/client-area/downloads/?product=mrdevs-framework">Get it now</a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background" href="https://marcosrego.com/development/mrdev-framework/">Know more</a></div>
</div>



<div style="height:20px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Mr.Utils enhances the block editor with 8 extra features</title>
		<link>https://marcosrego.com/blog/mr-utils-block-editor-features/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Wed, 13 Oct 2021 23:11:57 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Block editor]]></category>
		<category><![CDATA[For clients and authors]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=1997</guid>

					<description><![CDATA[On this post, I&#8217;ll guide you on how to use my front-end toolkit Mr.Utils, to scale and get features on the block editor of WordPress. As explained on the previous post, a front-end toolkit might be the best future-proof and optimized solution to this site builder that is still growing. Depending of your website and [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class=""> On this post, I&#8217;ll guide you on how to use my front-end toolkit <strong><a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a></strong>, to scale and get features on the block editor of <a href="https://marcosrego.com/tag/wordpress/" data-type="post_tag" data-id="23">WordPress</a>.</p>



<span id="more-1997"></span>



<p class="">As explained on the <a href="https://marcosrego.com/blog/solve-block-editor-toolkit/" data-type="post" data-id="1878">previous post</a>, a front-end toolkit might be the best future-proof and optimized solution to this site builder that is still growing.</p>



<p class="">Depending of your website and theme configuration, you might already be able to use the editor to change things such as the font-size, margins and paddings. But those changes would be made on each block individually, there&#8217;s currently at the moment of writing, no way to change those properties globally. <strong>Mr.Utils</strong> gives you a way to do that.</p>



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   has-main-text-color-color has-text-color wp-block-heading"><strong>Did you know?</strong></h3>



<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png" alt="Mr.Utils Opengraph Image" class="wp-image-1029" title="mrutils marcosrego opengraph - Mr.Utils enhances the block editor with 8 extra features" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color"><strong><a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a></strong> gives you a set of classes with a clear syntax, such as <em><strong>mr-phone-hide</strong></em> clearly saying to hide an element on a phone, <strong><em>mr-marginright</em></strong> to add a margin on the right side of an element and <strong><a rel="noreferrer noopener" href="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes" data-type="URL" data-id="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes" target="_blank">so much more</a></strong>&#8230;</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/client-area/downloads/?product=mrutils"><strong>Get it now (free)</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading"><strong>Installing Mr.Utils to use on the block editor</strong></h2>



<p class="">On  the<strong> <a href="https://github.com/marcosrego-web/mr-utils/wiki#installation" target="_blank" rel="noreferrer noopener">documentation</a></strong> you&#8217;ll find a short and easy explanation on three methods to install <a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a>, by using Mr.Dev.&#8217;s Framework, by installing as a plugin or via manual installation. The most optimized method is using the framework because it allows you to select the type of utilities you want to use, combine and minify them.</p>



<p class=""></p>



<h3 class="  wp-block-heading"><strong>Preview Mr.Utils changes on the block editor (Optional)</strong></h3>



<p class="">Because the block editor is a very visual editor that closely resembles the front-end, you might want to see the changes that Mr.Utils will apply to your blocks, before actually saving the post.</p>



<p class="">If you did the installation as a plugin you don&#8217;t need to do anything else and you can skip to &#8220;<em><a href="#how_to_use_mrutils_features_on_the_block_editor">How to use Mr.Utils features on the block editor</a></em>&#8220;.</p>



<p class="">Otherwise, you can configure it easily by using <a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">Mr.Dev.&#8217;s Framework</a>, or manually if that&#8217;s your thing.</p>



<div style="height:15px" aria-hidden="true" class="  wp-block-spacer"></div>



<h4 class="  wp-block-heading"><strong>Preview changes using Mr.Dev.&#8217;s Framework</strong></h4>



<p class="">On the plugin settings on the configuration tab, you will find the <em>CSS Utilities</em> section. Check the box <strong>Utils Backend</strong>, and you are ready to go.</p>



<p class="">If you want to use utilities on breakpoints, simply select the ones you want on the same group of checkboxes.</p>



<div style="height:15px" aria-hidden="true" class="  wp-block-spacer"></div>



<h4 class="  wp-block-heading"><strong>Manually configuration of the preview</strong></h4>



<p class="">Add the below code into the functions.php file or into a custom plugin.</p>



<pre class="wp-block-code"><code>add_action( 'admin_enqueue_scripts', 'mrutils_admin_styles' );
function mrutils_admin_styles() {
    wp_enqueue_style( 'mrutils_admin', 'https://raw.githubusercontent.com/marcosrego-web/mr-utils/master/css/utils.css', false, '1.0.0' );
    wp_enqueue_style( 'mrutils_admin_backend', 'https://raw.githubusercontent.com/marcosrego-web/mr-utils/master/css/utils_backend.css', false, '1.0.0' );
}</code></pre>



<p class="">If you want to add breakpoints you need to add more &#8220;wp_enqueue_style&#8221; to the above, between the first and last one, this time also indicating the intended media query, like this:</p>



<pre class="wp-block-code"><code>wp_enqueue_style( 'mrutils_admin_phone', 'https://raw.githubusercontent.com/marcosrego-web/mr-utils/master/css/utils_phone.css', false, '1.0.0','(max-width: 768px)' );</code></pre>



<p class="">If you want to avoid external requests:</p>



<ol class="  wp-block-list"><li><a href="https://marcosrego.com/client-area/downloads/?product=mrutils">Download Mr.Utils <em>(free)</em></a> </li><li>Unzip into your website. </li><li>Replace the link on the code above, with the location where you unzipped the folder.</li></ol>



<p class=""></p>



<h2 class="wp-block-heading"><strong>How to use Mr.Utils features on the block editor</strong></h2>



<p class="">If you installed Mr.Utils as a plugin, you&#8217;ll now see the option &#8220;Utilities&#8221; when selecting a block. By using that interface you don&#8217;t need to know the methods explained below.</p>



<figure class="    wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-20 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-full"><a href="https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1.png"><img loading="lazy" decoding="async" width="772" height="250" data-id="2289" src="https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1.png" alt="Mr.Utils options on WordPress block editor" class="wp-image-2289" title="banner 772x250 1 - Mr.Utils enhances the block editor with 8 extra features" srcset="https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1.png 772w, https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1-300x97.png 300w, https://marcosrego.com/wp-content/uploads/2021/10/banner-772x250-1-768x249.png 768w" sizes="auto, (max-width: 772px) 100vw, 772px" /></a><figcaption>Mr.Utils options on WordPress block editor</figcaption></figure>
</figure>



<p class="">If you didn&#8217;t install Mr.Utils as a plugin, most of the methods shown below, will work by adding specific classes into <strong>Advanced > Additional CSS Class(es)</strong> on any block:</p>



<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-with-frontedn-toolkit-1024x538.png" alt="Block editor with frontend toolkit" class="wp-image-1946" title="block editor with frontedn toolkit - Mr.Utils enhances the block editor with 8 extra features" srcset="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-with-frontedn-toolkit-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/09/block-editor-with-frontedn-toolkit-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/09/block-editor-with-frontedn-toolkit-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/09/block-editor-with-frontedn-toolkit.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="  wp-block-heading"><strong>Global font-sizes</strong></h3>



<p class="">With Mr.Utils you have <strong>7 global font-sizes</strong> and it&#8217;s <strong>possible to change</strong> their values.</p>



<p class="">For example, add the class <strong>mr-fontsize5</strong> into <strong>Advanced &gt; Additional CSS Class(es)</strong> on any block that has text and see it changing sizes.</p>



<p class="">You can also use different sizes depending of the device/breakpoint joining multiple classes, for example:<br><strong>mr-fontsize5 mr-phone-fontsize4</strong><br><strong>mr-desktop-fontsize7 mr-tablet-fontsize5 mr-phone-fontsize6</strong></p>



<p class="">If you want to change the values for the 7 sizes, you can <a href="https://github.com/marcosrego-web/mr-utils/wiki/Variables#how-to-do" target="_blank" data-type="URL" data-id="https://github.com/marcosrego-web/mr-utils/wiki/Variables#how-to-do" rel="noreferrer noopener"><strong>check the documentation explaining how to change variables</strong></a>. It explains how to do it manually or using the Mr.Dev.&#8217;s Framework.</p>



<h3 class="  wp-block-heading"><strong>Global colors</strong> (Mr.Dev.&#8217;s Framework)</h3>



<p class="">For this one feature, Mr.Utils is currently not enough, you&#8217;ll want to use Mr.Dev.&#8217;s Framework to define which will be the global colors that appear on the block editor.</p>



<p class="">Being a global color means that if you select a color and then decide to change the value, all blocks using it will automatically have their colors changed to the new value.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-21 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="693" data-id="958" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Styles" class="wp-image-958" title="mrdev framework styles - Mr.Utils enhances the block editor with 8 extra features" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>Use the plugin settings, or optionally use the customizer and block editor, to add global colors, typography, sizes and breakpoints.</figcaption></figure>
</figure>



<h3 class="  wp-block-heading"><strong>Remove margins and paddings of blocks</strong></h3>



<p class="">Removing margins and paddings can be very useful because currently at the moment of writing, some blocks have default margins or paddings that you might not want. It&#8217;s much easier to add a class instead of changing via CSS.</p>



<p class="">With Mr.Utils you can choose the side you want to remove the margin/padding or remove on all sides. Simply add the correspondent class into <strong>Advanced &gt; Additional CSS Class(es</strong>):</p>



<figure class="wp-block-table"><table><tbody><tr><td>mr-nomargin</td><td>mr-nopadding</td></tr><tr><td>mr-nomargintop</td><td>mr-nopaddingtop</td></tr><tr><td> mr-nomarginright</td><td> mr-nopaddingright</td></tr><tr><td> mr-nomarginbottom</td><td> mr-nopaddingbottom</td></tr><tr><td> mr-nomarginleft</td><td> mr-nopaddingleft</td></tr></tbody></table></figure>



<p class="">And you can also remove the margin/padding only on specific devices/breakpoints, for example:</p>



<p class=""><strong>mr-desktop-nomargin<br>mr-phone-nopaddingright</strong></p>



<h3 class="  wp-block-heading"><strong>Add global margins and paddings</strong></h3>



<p class="">Mr.Utils brings the classes <strong>mr-margin</strong> and <strong>mr-padding</strong>, that can also point to specific sides of the block:</p>



<figure class="wp-block-table"><table><tbody><tr><td>mr-margin</td><td>mr-padding</td></tr><tr><td>mr-margintop</td><td>mr-paddingtop</td></tr><tr><td> mr-marginright</td><td> mr-paddingright</td></tr><tr><td> mr-marginbottom</td><td> mr-paddingbottom</td></tr><tr><td> mr-marginleft</td><td> mr-paddingleft</td></tr></tbody></table></figure>



<p class="">And you can also use the margin/padding only on specific devices/breakpoints, for example:</p>



<p class=""><strong>mr-desktop-margin<br>mr-phone-paddingright</strong></p>



<p class="">If you want to change the values for the global margins and paddings, you can <a href="https://github.com/marcosrego-web/mr-utils/wiki/Variables#how-to-do" data-type="URL" data-id="https://github.com/marcosrego-web/mr-utils/wiki/Variables#how-to-do" target="_blank" rel="noreferrer noopener"><strong>check the documentation explaining how to change variables</strong></a>. It explains how to do it manually <strong>or using the Mr.Dev.&#8217;s Framework</strong>.</p>



<h3 class="  wp-block-heading"><strong>Change visibility of a block depending of the device</strong></h3>



<p class="">To show or hide a block, you can use the classes <strong>mr-show</strong> and <strong>mr-hide</strong> respectively.</p>



<p class="">To point to specific devices/breakpoints, all you have to do is to add the device name between the prefix and action. Here are some examples:</p>



<figure class="  wp-block-table is-style-regular"><table><tbody><tr><td class="has-text-align-left" data-align="left">Show on phone only:</td><td><strong>mr-hide mr-phone-show</strong></td></tr><tr><td class="has-text-align-left" data-align="left">Hide on phone:</td><td><strong>mr-phone-hide</strong></td></tr><tr><td class="has-text-align-left" data-align="left">Show on portrait devices:</td><td><strong>mr-landscape-hide</strong></td></tr><tr><td class="has-text-align-left" data-align="left">Hide on desktop and laptop:</td><td><strong>mr-desktop-hide mr-laptop-hide</strong></td></tr></tbody></table></figure>



<figure class="    wp-block-image size-large"><a href="https://marcosrego.com/websites/itemzero/"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph-1024x538.png" alt="Itemzero Open Graph Image" class="wp-image-1012" title="marcosrego itemzero open graph - Mr.Utils enhances the block editor with 8 extra features" srcset="https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/04/marcosrego-itemzero-open-graph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption> The <a href="https://marcosrego.com/websites/itemzero/" data-type="post" data-id="1">Itemzero Shop</a> has some good examples of showing content depending of the device/breakpoint using <a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a>. </figcaption></figure>



<h3 class="  wp-block-heading"><strong>Change how Columns blocks display on mobile</strong></h3>



<p class="">By default when you set the number of columns on the Columns block, that number will apply on desktop. On mobile the columns will be automatically stacked below each other.</p>



<p class="">But if you only have images or you don&#8217;t have a lot of text in the columns, it could look better with 2 columns on each line.</p>



<p class="">You can do that with Mr.Utils, you can add classes such as <strong>mr-phone-2perline</strong> into <strong>Advanced &gt; Additional Class(es)</strong>.</p>



<p class="">If you installed the toolkit as a plugin it&#8217;s even more friendly: Click on &#8220;Utilities&#8221;, on the phone icon and then on layout you choose 2 as the number of items per line.</p>



<p class=""></p>



<h3 class="  wp-block-heading"><strong>Change the order of blocks depending of the device</strong></h3>



<p class="">Changing the order of blocks is easy with drag and drop but if you want to change the order depending of the device/breakpoint, you&#8217;ll need something more:</p>



<ol class="  wp-block-list"><li><strong>Select all the blocks that will be reordered</strong> and then select the option &#8220;<strong>Group</strong>&#8220;.</li><li>On the <strong>Group Block</strong> go to <strong>Advanced &gt; Additional CSS Class(es)</strong> and add the class <strong>mr-1perline</strong> (You can replace 1 with any number between 0 [infinite] and 12, this would be similar to using columns).</li><li>Then select the first block you want to reorder and on <strong>Advanced &gt; Additional CSS Class(es)</strong> section, add the class <strong>mr-<em>breakpoint</em>-order</strong> followed by a number between -1 and 12 and replacing <em>breakpoint</em> with the device name (desktop, laptop, tablet, phone or another custom breakpoint that exists). Example: <strong>mr-phone-order2</strong>. Do the same for each block inside the group (Repeated numbers are allowed).</li></ol>



<p class=""></p>



<h3 class="  wp-block-heading"><strong>Horizontal scroll list of posts</strong></h3>



<p class="">Using the block &#8220;Latest Posts&#8221;, or any other block that works as a list, you can add the class <strong>mr-swipecontent</strong> or <strong>mr-horizontalscrollcontent</strong> into <strong style="color: var(--main-text-color) ; font-family: var(--text-font, &quot;Arial,Helvetica Neue,Helvetica&quot;); font-size: revert; background-color: var(--main-background-color, #dfdfd0);">Advanced &gt; Additional CSS Class(es)</strong>, to make that list flow horizontally and become scrollable when the amount of items is big.</p>



<figure class="    wp-block-image size-large"><a href="https://marcosrego.com/websites/ressanogarcia/"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph-1024x538.png" alt="Ressano Garcia Arquitectos Open Graph Image" class="wp-image-1813" title="ressanogarciaarquitectos marcosrego site opengraph - Mr.Utils enhances the block editor with 8 extra features" srcset="https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/04/ressanogarciaarquitectos-marcosrego-site-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption>The website <strong><a href="https://marcosrego.com/websites/ressanogarcia/">Ressano Garcia Arquitectos</a></strong> is a good example of horizontal scrolling lists of posts using <a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a>.</figcaption></figure>



<div style="height:15px" aria-hidden="true" class="  wp-block-spacer"></div>



<p class=""><strong>Those are the 8 features I wanted to share with you!</strong> I&#8217;ll update this post If I add more into <a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">this front-end toolkit</a>.</p>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>The block editor with a front-end toolkit is still advised in 2021</title>
		<link>https://marcosrego.com/blog/solve-block-editor-toolkit/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Wed, 29 Sep 2021 19:01:35 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Block editor]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=1878</guid>

					<description><![CDATA[The block editor (aka Gutenberg) is the default site builder of WordPress and it&#8217;s the most optimized and performative you can have on this CMS. But it&#8217;s still growing and currently lacking some features. On this post, I&#8217;ll let you know why a front-end toolkit is currently the best future-proof solution to get some of [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-1878"></span>
<!--noteaser-->



<p class="">The block editor (aka Gutenberg) is the default site builder of WordPress and it&#8217;s the most optimized and performative you can have on this CMS. But it&#8217;s still growing and currently lacking some features.</p>



<p class="">On this post, I&#8217;ll let you know why a front-end toolkit is currently the best future-proof solution to get some of those lacking features right now.</p>



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   has-main-text-color-color has-text-color wp-block-heading"><strong>Did you know?</strong></h3>



<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png" alt="Mr.Utils Opengraph Image" class="wp-image-1029" title="mrutils marcosrego opengraph - The block editor with a front-end toolkit is still advised in 2021" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color"><strong><a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a></strong> gives you a set of classes with a clear syntax, such as <em><strong>mr-phone-hide</strong></em> clearly saying to hide an element on a phone, <strong><em>mr-marginright</em></strong> to add a margin on the right side of an element and <strong><a rel="noreferrer noopener" href="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes" data-type="URL" data-id="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes" target="_blank">so much more</a></strong>&#8230;</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background" href="https://marcosrego.com/client-area/downloads/?product=mrutils"><strong>Get it now (free)</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading"><strong>Some features might be hidden to you</strong></h2>



<p class="">Before I dive into the use of a front-end toolkit to add some of the lacking features, it&#8217;s best to make sure that they are actually lacking from the block editor.</p>



<p class="">Your theme or plugins might lock some of the new features and in some cases your theme could simply declare support with a short code snippet.</p>



<p class=""><a href="https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/" target="_blank" data-type="URL" data-id="https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/" rel="noreferrer noopener">On this page of the WordPress documentation</a>, you can find some of the features that are available but need the theme or <a href="https://marcosrego.com/blog/block-editor-features-theme/" data-type="post" data-id="2106">a plugin to declare support</a>.</p>



<p class="">If all the features you need are mentioned on that page, then <a href="https://marcosrego.com/blog/block-editor-features-theme/" data-type="post" data-id="2106">declaring support is in fact the best option</a> (You can use <a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">Mr.Dev.&#8217;s Framework</a> to do that). If they are not, then you might find a better solution by continue to read this post.</p>



<figure class="  wp-block-gallery columns-1 is-cropped wp-block-gallery-22 is-layout-flex wp-block-gallery-is-layout-flex"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><a href="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-hidden-features.jpg"><img loading="lazy" decoding="async" width="1024" height="437" src="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-hidden-features-1024x437.jpg" alt="block editor hidden features - The block editor with a front-end toolkit is still advised in 2021" data-id="1949" data-full-url="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-hidden-features.jpg" data-link="https://marcosrego.com/?attachment_id=1949" class="wp-image-1949" title="block editor hidden features - The block editor with a front-end toolkit is still advised in 2021" srcset="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-hidden-features-1024x437.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/09/block-editor-hidden-features-300x128.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/09/block-editor-hidden-features-768x328.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/09/block-editor-hidden-features.jpg 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">Some block editor features might be hidden, such as patterns, and individual paddings, font-sizes, line-height and gradients.</figcaption></figure></li></ul></figure>



<p class=""></p>



<h2 class="wp-block-heading"><strong>You should not use plugins to extend the block editor</strong></h2>



<p class="">The easiest solution for the lacking features would be of course, to get them via a third-party plugin, <strong>but that doesn&#8217;t mean it&#8217;s the best or the most scalable option.</strong></p>



<p class="">Plugins such <a href="https://wordpress.org/plugins/editorplus/" target="_blank" data-type="URL" data-id="https://wordpress.org/plugins/editorplus/" rel="noreferrer noopener">Editor Plus by Extendify</a>, <a href="https://wordpress.org/plugins/kadence-blocks/" target="_blank" data-type="URL" data-id="https://wordpress.org/plugins/kadence-blocks/" rel="noreferrer noopener">Kadence Blocks</a>, <a href="https://wordpress.org/plugins/lazy-blocks/" target="_blank" data-type="URL" data-id="https://wordpress.org/plugins/lazy-blocks/" rel="noreferrer noopener">Lazy Blocks</a> and <a href="https://www.advancedcustomfields.com/resources/blocks/" target="_blank" data-type="URL" data-id="https://www.advancedcustomfields.com/resources/blocks/" rel="noreferrer noopener">ACF Blocks</a> are impressive for sure but a quick look at their changelogs and you&#8217;ll notice they are bloated with features or dependencies that you might not need or that will soon be available by default on the block editor.</p>



<p class="">That leaves a question with difficult answers:<br><strong>What will happen when those new features arrive to WordPress?</strong><br>Will the plugin developers find a way to transfer all the repeated features to the methods of Gutenberg Block Editor? Or will they force everyone to keep the plugin active so their own features keep working?<br>The latter is more likely and would force to have multiple ways to do the exact same things.</p>



<figure class="   wp-block-gallery columns-1 is-cropped wp-block-gallery-23 is-layout-flex wp-block-gallery-is-layout-flex"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><a href="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-plugins-repeated-features.jpg"><img loading="lazy" decoding="async" width="1005" height="763" src="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-plugins-repeated-features.jpg" alt="Block editor plugins repeated features" data-id="1953" data-full-url="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-plugins-repeated-features.jpg" data-link="https://marcosrego.com/?attachment_id=1953" class="wp-image-1953" title="block editor plugins repeated features - The block editor with a front-end toolkit is still advised in 2021" srcset="https://marcosrego.com/wp-content/uploads/2021/09/block-editor-plugins-repeated-features.jpg 1005w, https://marcosrego.com/wp-content/uploads/2021/09/block-editor-plugins-repeated-features-300x228.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/09/block-editor-plugins-repeated-features-768x583.jpg 768w" sizes="auto, (max-width: 1005px) 100vw, 1005px" /></a><figcaption class="blocks-gallery-item__caption">An example of the block editor adding a center alignment while an extra plugin adds a left alignment.</figcaption></figure></li></ul></figure>



<p class="">Doesn&#8217;t sound serious yet? What if I tell you that, having so many active options and plugins to do the same things will increase the amount of needed scripts, styles on your pages, <strong>decreasing your speed score</strong> that also affects SEO (Search Engine Optimization).</p>



<p class="">Another things to keep in mind are:</p>



<ul class="wp-block-list"><li>Some of those plugins also <strong>change the natural workflow of the editor</strong>: It&#8217;s difficult enough to force users to get used to a new way of working on their websites, imagine having multiple ways.<br>And I know WordPress always had that problem, but now that WordPress is trying to fix that with the block editor, it seems to me some of those plugins are not doing much better for the long-run.</li><li>Some of those plugins are <strong>based on old technologies and do requests to the server</strong>. The essence of the native blocks is the <strong>use of React and to do more on the client-side</strong>, that&#8217;s what makes the native blocks so well optimized compared to other site builders.</li></ul>



<p class="">Don&#8217;t you agree? Let me know in the comments section below.</p>



<p class="">If still you prefer to go with a plugin, choose one that lets you <strong>go back to the default values</strong> and/or that <strong>helps you transition back,</strong> when you don&#8217;t want to rely on that plugin anymore.</p>



<p class=""></p>



<h2 class="wp-block-heading"><strong>What you need on the block editor for now is a middle term solution!</strong></h2>



<h3 class="  wp-block-heading"><strong>Using a front-end toolkit</strong></h3>



<p class="">Get a lightweight and easy to use front-end toolkit, such as <strong><a href="https://marcosrego.com/development/mr-utils/">Mr.Utils</a></strong> (free). It includes classes that are friendly for everyone and can be added on each block &#8220;Advanced&#8221; section.</p>



<p class="">And if that&#8217;s not friendly enough for you or your clients, you can actually install Mr.Utils as a plugin for free. It adds an interface on the block editor that allows to add classes without actually knowing them. But of course, this starts to get closer to the plugins mentioned above, still lighter than them though!</p>



<h3 class="  wp-block-heading"><strong>Using a lightweight framework</strong></h3>



<p class="">Or get a lightweight framework such as <strong><a href="https://marcosrego.com/development/mrdev-framework/">Mr.Dev.&#8217;s Framework</a></strong>, that focus on new features, discontinues the repeated ones <em>(that are already available on the CMS)</em> and even helps you on the transition to the CMS method/feature.</p>



<p class="">The framework also has the option to use an interface on the block editor.</p>



<h3 class="  wp-block-heading"><strong>Solutions overview</strong></h3>



<p class="">Mr.Utils front-end toolkit, Mr.Utils as a plugin and Mr.Dev&#8217;s Framework are much lighter compared to the plugins mentioned above and much easier to scale and transition to future methods.</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-6 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="  wp-block-video"><video controls muted poster="https://marcosrego.com/wp-content/uploads/2021/06/mrutils-marcosrego-opengraph.png" preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/mrutils_desktop.mp4" playsinline></video><figcaption>Video showing Mr.Utils classes and un-minified code for all breakpoints (on August 2021)</figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="  wp-block-video"><video controls muted poster="https://marcosrego.com/wp-content/uploads/2021/06/mrdevframework-marcosrego-opengraph.png" preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_desktop.mp4" playsinline></video><figcaption>Video showing the available options on Mr.Dev.&#8217;s Framework (on August 2021)</figcaption></figure>
</div>
</div>



<h3 class="  wp-block-heading"><strong>What about other front-end toolkits?</strong></h3>



<p class="">Of course you can use other, specially if you already have another installed on your website.<br><a href="https://getbootstrap.com/" target="_blank" data-type="URL" data-id="https://getbootstrap.com/" rel="noreferrer noopener">Bootstrap</a> probably comes to mind, but I feel my <a href="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes" target="_blank" data-type="URL" data-id="https://github.com/marcosrego-web/mr-utils/wiki/Utility-Classes" rel="noreferrer noopener">utility classes</a> are a bit more straightforward and more friendly to explain to non-tech users. They always work the same way <em>prefix-breakpoint-action</em>, such as <em>mr-phone-hide</em> or <em>mr-desktop-nomargin</em> <em>(mr-nomargin for actions on all breakpoints)</em>.</p>



<p class=""></p>



<h2 class="wp-block-heading"><strong>Getting 8 of the lacking features on the block editor</strong></h2>



<p class="">What Mr.Utils / Mr.Dev.&#8217;s Framework add to the block editor is a way to: </p>



<ol class="  wp-block-list"><li><strong>Change to a global font-size.</strong></li><li><strong>Change global color.</strong></li><li><strong>Remove margins and paddings of blocks.</strong></li><li><strong>Add global margins and paddings.</strong></li><li><strong>Change visibility of a block depending of the device.</strong></li><li><strong>Change how Columns blocks display on mobile</strong></li><li><strong>Change order of blocks depending of the device.</strong></li><li><strong>Horizontal scroll list of posts.</strong></li></ol>



<p class=""><a href="https://marcosrego.com/blog/mr-utils-block-editor-features/" data-type="post" data-id="1997"><strong>Check the next post</strong></a> where I go deeper on how to do those <em>actions</em>.</p>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/mrutils_desktop.mp4" length="6043294" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_desktop.mp4" length="2424924" type="video/mp4" />

			</item>
		<item>
		<title>FlipBook Block</title>
		<link>https://marcosrego.com/development/flipbook-block/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Fri, 20 Aug 2021 00:00:00 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Block editor]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[FlipBook]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[React]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2905</guid>

					<description><![CDATA[Let your visitors turn the pages! FlipBook Block is a simple yet effective WordPress block that shows a PDF from your Media in a Flip Book.]]></description>
										<content:encoded><![CDATA[<span id="more-2905"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2023/01/flipbook-block_phone.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2023/01/flipbook-block_desktop.mp4" playsinline></video></figure>



<h2 class="wp-block-heading" id="mr-dev-is-your-provider-of-developing-tools"><strong>Let your visitors turn the pages!</strong></h2>



<h3 class="  wp-block-heading" id="he-gives-you-a-powerful-wordpress-widget-to-display-your-content-with-many-customizable-layouts-and-options">FlipBook Block is a simple yet effective WordPress block that shows a PDF from your Media in a Flip Book.</h3>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=flipbook-block"><strong>Get it now (free)</strong></a></div>
</div>
]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2023/01/flipbook-block_phone.mp4" length="1268494" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2023/01/flipbook-block_desktop.mp4" length="231121" type="video/mp4" />

			</item>
	</channel>
</rss>
