<?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>Tips and tricks &#8211; Marcos Rego</title>
	<atom:link href="https://marcosrego.com/tag/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>https://marcosrego.com</link>
	<description>Web Development</description>
	<lastBuildDate>Sat, 03 Feb 2024 15:04:08 +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>How to easily transfer emails to a different service/host</title>
		<link>https://marcosrego.com/blog/transfer-emails-automatically/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Sat, 05 Aug 2023 17:35:58 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[For clients and authors]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2963</guid>

					<description><![CDATA[Are you changing your emails to a different service/provider (server, host or domain) but want to keep all data as is? You don&#8217;t have to do it manually! The problems of exporting and importing emails manually Forget about exporting and importing trough webmail, many times those have limits. You might end exporting without being able [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-2963"></span>
<!--noteaser-->



<p>Are you changing your emails to a different service/provider (server, host or domain) but want to keep all data as is?<strong> You don&#8217;t have to do it manually!</strong></p>



<h2 class="mr-paddingtop  wp-block-heading"><strong>The problems of exporting and importing emails manually</strong></h2>



<p>Forget about exporting and importing trough webmail, many times those have limits.</p>



<p>You might end exporting without being able to import after (and a backup is no good if you can&#8217;t later import it, right?). Dividing an export into many different files, to avoid limits, it&#8217;s also a lot of work and can lead to mistakes.</p>



<p>You might even remember to export the &#8220;Inbox folder&#8221;, but what about others, such as &#8220;Sent&#8221; or custom ones.</p>



<p>That&#8217;s why on this post, I want to share with you a very handy on-line tool, properly called <strong><a href="https://imapsync.lamiral.info/X/" data-type="URL" data-id="https://imapsync.lamiral.info/X/" target="_blank" rel="noreferrer noopener">Mailbox Imapsync Online</a></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="   wp-block-heading has-main-text-color-color has-text-color"><strong>Do you need a website?</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/07/store-marcosrego-opengraph-1024x538.png" alt="Marcos Rego Store Opengraph Image" class="wp-image-1021" title="store marcosrego opengraph - How to easily transfer emails to a different service/host" srcset="https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color">If you need a <strong>website</strong>, you can check the <strong><a href="https://marcosrego.com/client-area/shop/" data-type="post" data-id="673">Shop</a></strong> on the <strong><a href="https://marcosrego.com/./client-area/" data-type="category" data-id="52">Client Area</a></strong> and get an estimation of the development cost. <strong>Pay only 20%</strong>, until the website is ready.</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 wp-element-button" href="https://marcosrego.com/client-area/shop/"><strong>go to THE SHOP</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="mr-paddingtop  wp-block-heading"><strong>How to use Mailbox Imapsync Online to transfer emails automatically</strong></h2>



<p>Using <a href="https://imapsync.lamiral.info/X/" target="_blank" data-type="URL" data-id="https://imapsync.lamiral.info/X/" rel="noreferrer noopener">Mailbox Imapsync Online</a> couldn&#8217;t be simpler:</p>



<p>First, be sure that you have the credentials of the two email addresses.</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-full"><img decoding="async" width="1200" height="630" data-id="2977" src="https://marcosrego.com/wp-content/uploads/2023/08/transfer-emails-mailbox-imapsync-online-opengraph.jpg" alt="Transfer emails with Mailbox Imapsync Online" class="wp-image-2977" title="transfer emails mailbox imapsync online opengraph - How to easily transfer emails to a different service/host" srcset="https://marcosrego.com/wp-content/uploads/2023/08/transfer-emails-mailbox-imapsync-online-opengraph.jpg 1200w, https://marcosrego.com/wp-content/uploads/2023/08/transfer-emails-mailbox-imapsync-online-opengraph-300x158.jpg 300w, https://marcosrego.com/wp-content/uploads/2023/08/transfer-emails-mailbox-imapsync-online-opengraph-1024x538.jpg 1024w, https://marcosrego.com/wp-content/uploads/2023/08/transfer-emails-mailbox-imapsync-online-opengraph-768x403.jpg 768w" sizes="(max-width: 1200px) 100vw, 1200px" /></figure>
</figure>



<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">
<h3 class="  wp-block-heading"><strong>Source email</strong></h3>



<p class="mr-nomarginbottom ">On the left side, you will find &#8220;IMAP source Mailbox&#8221;. You will put there the credentials of the source email address, the one that you want to transfer emails from. You can get the correct &#8220;IMAP server hostname&#8221; on your hosting service or by checking to where the MX records were pointing at (Can also be an IP, in fact might be better if you already made changes to you Domain Name Server).</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h3 class="  wp-block-heading"><strong>Destination email</strong></h3>



<p class="mr-nomarginbottom ">On the right side, you will put the credentials of the new email address. Be sure to create the email first on the new provider. You must get the correct &#8220;IMAP server hostname&#8221; on your new hosting service (or new server) or by checking to where the MX records are/should be pointing at (Can also be an IP).</p>
</div>
</div>



<h3 class="  wp-block-heading"><strong>Extra parameters</strong></h3>



<p>If you want, you can also automatically delete the source emails that get transferred &#8211; Click on &#8220;Show/hide extra parameters&#8221; and you&#8217;ll see the new option &#8220;Move sync&#8221; appearing on the left side. This can be useful to avoid the 3GB limit that the tool currently has, on the free version.</p>



<h3 class="  wp-block-heading"><strong>Click sync to automatically transfer emails</strong></h3>



<p>Then you simply click the green button &#8220;Sync or resync&#8221;! Keep the window opened and check the console log to be sure that everything is going smoothly. If something breaks, do not worry, simply click again the green button and the process will continue as &#8220;Resync&#8221; suggests.</p>



<h2 class="mr-paddingtop  wp-block-heading"><strong>Besides automatically transfer emails, there&#8217;s more to Mailbox Imapsync Online</strong></h2>



<h3 class="  wp-block-heading"><strong>Sync between different email addresses</strong></h3>



<p>If you look closer to all options, you are not limited to transfer emails between the same email addresses. <br>So let&#8217;s say there&#8217;s a new employee in <em>yourcompany</em> called <em>Lucy</em> working in content marketing, her email is <em>lucy.copy@yourcompany.org</em>, the old content marketer was <em>Lauren</em> and her email was <em>lauren.writter@yourcompany.org</em>. <br>With <a href="https://imapsync.lamiral.info/X/" target="_blank" data-type="URL" data-id="https://imapsync.lamiral.info/X/" rel="noreferrer noopener">Mailbox Imapsync Online</a>, you can transfer all of those work related emails, about content marketing, to the new employee.</p>



<h3 class="  wp-block-heading"><strong>Just create folders</strong></h3>



<p>If you don&#8217;t want to transfer all the emails, but want to keep the same structure of another email address, you actually have a checkbox to &#8220;Just create folders&#8221; during the sync.</p>



<p class="mr-paddingtop "><strong>Did you know about this tool before? Was this helpful?</strong> </p>



<p>Let me know in the comments section below. </p>



<p>I remember searching for something free like this in the past and it wasn&#8217;t easy. Until an old hosting provider mentioned it to me, during support. They were more life savers then I care to admit, I hope for you too. </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>How to style a datalist and its options?</title>
		<link>https://marcosrego.com/blog/style-datalist-options/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Tue, 27 Dec 2022 20:10:17 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2875</guid>

					<description><![CDATA[If you ever tried to change the look and feel of a HTML5 datalist but couldn’t, then this post might be your (delayed) Christmas present 🎄🎁 (I hope you had a great one and close to the ones you love the most)! What’s the problem of styling a HTML5 datalist? At the moment of writing, [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-2875"></span>
<!--noteaser-->



<p>If you ever tried to change the look and feel of a HTML5 datalist but couldn’t, then this post might be your (delayed) Christmas present 🎄🎁 (I hope you had a great one and close to the ones you love the most)!</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 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 - How to style a datalist and its options?" 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"><strong>What’s the problem of styling a HTML5 datalist?</strong></h2>



<p>At the moment of writing, it’s not possible to style a datalist directly.</p>



<p>Hopefully in the future, we will be able to simply use normal CSS like this:</p>



<pre class="wp-block-code"><code>.mr-datalist &gt; * {
    background-color: var(--dark);
    color: var(--light);
}</code></pre>



<p>For now, if you still want to use datalist, there are two ways to do it:</p>



<ul class="wp-block-list">
<li><a href="#the_easiest_way_to_style_a_datalist" data-type="internal" data-id="#the_easiest_way_to_style_a_datalist">An easy way, using a class from a front-end toolkit.</a></li>



<li><a href="#style_a_datalist_with_code">A more manual way, using Vanilla JavaScript.</a></li>
</ul>



<p>The CSS code above will work after implementing any of those 2 options.</p>



<p>Some things that might be important to you:&nbsp;</p>



<ul class="wp-block-list">
<li>These methods might not work on iOS versions prior to the 13th. On those devices, the datalist will not change, working as it does by default.</li>



<li>Both methods should be future-proof. When HTML5 data lists become easier to style, you can remove the front-end toolkit or the JavaScript code. Just keep the classes and the CSS as is.</li>
</ul>



<p>With that aside, let’s move on with this tutorial…</p>



<h2 class="wp-block-heading"><strong>The easiest way to style a datalist</strong></h2>



<p>You can use a front-end toolkit such as <strong><a href="https://marcosrego.com/development/mr-utils/" target="_blank" data-type="post" data-id="473" rel="noreferrer noopener">Mr.Utils</a></strong>.</p>



<p>All you have to do is, make sure you are adding the global JavaScript file <em>js/utils.js</em> in your page (or if you don’t want to load the entire toolkit, you can individually add <em>dev/js/utils/utils_components.js</em>).</p>



<p>After that, you need to add the correct class <strong>.mr-datalist</strong> to your datalist <em>(not to the input)</em> and it will magically transform it into a “search” component.</p>



<p>You can then style it with a <a href="#whats_the_problem_of_styling_a_html5_datalist">CSS code similar to the one shown before</a>.</p>



<h2 class="wp-block-heading"><strong>Style a datalist with code</strong></h2>



<p>I mentioned that the easiest way of implementation works like magic, but of course there’s no magic behind it at all, just the correct JavaScript code.</p>



<p>In this post, I’ll share a simplified version of that code with you.</p>



<p>You can either follow the steps or <strong><a href="#gist_full_code_on_how_to_style_a_datalist">jump directly to the Gist full code</a></strong>.</p>



<p>Feel free to change it to your specific needs.</p>



<h3 class="  wp-block-heading"><strong>1- Transform the datalist into an element that can be styled.</strong></h3>



<pre class="wp-block-code"><code>document.addEventListener("DOMContentLoaded", function () {
  const mrDataLists = document.querySelectorAll(".mr-datalist");
  for (let id = 0; id &lt; mrDataLists.length; id++) {
    let mrDataList = mrDataLists&#91;id];
    let mrDataListUL = "";
    let mrDataListClone = "";
 
    mrDataListClone =
      mrDataList
        .cloneNode(true)
        .innerHTML.replaceAll("&lt;option", "&lt;li")
        .replaceAll("&lt;/option&gt;", "&lt;/li&gt;");
    mrDataListUL = document.createElement("ul");
    mrDataListUL.id = mrDataList.id;
    mrDataListUL.className = mrDataList.className;
    mrDataListUL.innerHTML = mrDataListClone;
 
    mrDataList.replaceWith(mrDataListUL);
  }
}
</code></pre>



<p>In this first step, we grab all data lists that have the class <em>.mr-datalist, </em>but you can change it to your own.</p>



<p>You can even grab all data lists without exception, by replacing the class <em>.mr-datalist</em> with the property <em>datalist, </em>on the <em>querySelectorAll </em>(Don’t forget to change the CSS code accordingly at the end).</p>



<p>In this example, we transform the datalist into an unordered list. You can change that if you wish, but it should be an element with direct children. Each direct child will be a datalist option.</p>



<p>The <em>replaceWith </em>at the end finishes the transformation, but we are not done yet.</p>



<p>We need to create a similar “search” functionality to the one the HTML5 datalist has.</p>



<h3 class="  wp-block-heading"><strong>2- Make the input find content on the element.</strong></h3>



<pre class="wp-block-code"><code>document.addEventListener("keyup", function (e) {
  let mrDataListID = "mr-datalist";
  if (e.target.matches('input&#91;list="'+mrDataListID+'"]')) {
    mrSearch(document.getElementById(mrDataListID), e.target);
  }
  e.stopPropagation();
});
</code></pre>



<p>In here, I’m assuming we know the ID of the datalist, and that we have it on the input “list” attribute. I’m assuming that because those are needed for the original datalist to work.<br>In this example, the ID is <em>mr-datalist,</em> set on the mrDataListID variable.</p>



<p>If for some reason you don’t know the ID, there are alternative ways to do it. On Mr.Utils for example, the “Search” component removes the original input, creates a new one and uses <em>nextElementSibling</em>. It does that for a reason, you can check that on the <a href="https://github.com/marcosrego-web/mr-utils/blob/master/dev/js/utils/utils_components.js" target="_blank" rel="noreferrer noopener nofollow">GitHub repository</a>.</p>



<p>As you might notice, we are calling the function <em>mrSearch</em>, which will do the heavy work.&nbsp;</p>



<p>Here is the function simplified, feel free to rename it to anything you want:</p>



<pre class="wp-block-code"><code>function mrSearch(t, e) {
  //t = Datalist
  //e = Input with list attribute
  let mrSearchChildren = t.children;
  if (mrSearchChildren) {
    if (e.value !== "") {
      t.style.removeProperty("display");
      for (let id = 0; id &lt; mrSearchChildren.length; id++) {
        let mrSearchChild = mrSearchChildren&#91;id];
        if (mrSearchChild.hasAttribute("value")) {
          //If the child does not contain any text, show the value as text.
          if (!mrSearchChild.innerText) {
            mrSearchChild.innerText = mrSearchChild.getAttribute("value");
          }
 
          //Change the input value when clicking on the child.
          mrSearchChild.addEventListener("click", function () {
            e.value = mrSearchChild.getAttribute("value");
          });
        }
        mrSearchChild.style.display = "none";
 
        //Checking the child outerHTML because I want to search text also inside the value attribute. Convert in lowercase to not be case sensitive.
        if (
          mrSearchChild.outerHTML
            .toLowerCase()
            .replace(/&#91;^a-zA-Z0-9 ]/g, "")
            .includes(e.value.toLowerCase().replace(/&#91;^a-zA-Z0-9 ]/g, ""))
        ) {
          mrSearchChild.style.removeProperty("display");
        }
      }
    } else {
      t.style.display = "none";
    }
  }
}

</code></pre>



<p>Here we changed the Input value when clicking on the element child <em>(the datalist option that we transformed)</em> and we’ll make the search case-insensitive.</p>



<p>Check the comments inside the code to better understand which parts replicate which datalist “search” feature.</p>



<p>Extra: If you have full control over the original datalist, you probably added a value and text to each option. If you don’t have, then this code as you covered, it copies the value into the text when no text is found.</p>



<p><strong>And that’s it! </strong>Now you replicated most datalists’ functionalities and can start styling the element, with a <a href="#whats_the_problem_of_styling_a_html5_datalist">CSS code similar to the one shown before</a>.</p>



<h3 class="  wp-block-heading"><strong>3- Take it to the next level (Optional and Advanced)</strong></h3>



<p>If you feel inspired, now that you have full control over the code, you can add extra features! Features that not even the original datalist has.</p>



<p>For example:</p>



<ul class="wp-block-list">
<li>Show a message when no result is found.</li>



<li>Bold the text while it is found on the results.</li>



<li>If no exact match is found, search by each keyword instead <em>(You can also show a message in that situation)</em>.</li>



<li>Show results only after a minimum number of characters <em>(This is a good idea to avoid connection words and code properties)</em>.</li>
</ul>



<p>I did many of those features for <strong>Mr.Utils</strong>, <strong><a href="https://github.com/marcosrego-web/mr-utils/blob/master/dev/js/utils/utils_components.js#L356" target="_blank" rel="noreferrer noopener nofollow">you can check the part of the code here</a></strong>.</p>



<p>Might also be a good idea, to track pressing keyboard arrow keys, to select the results and improve accessibility.</p>



<h3 class="  wp-block-heading"><strong>Gist full code on how to style a datalist</strong></h3>



<script src="https://gist.github.com/marcosrego-web/943e82bbd6243e8f38af4ff5ce081dc6.js"></script>



<h2 class="wp-block-heading"><strong>Working example of styling datalists</strong></h2>



<p>I did something very similar to the methods explained above for <strong><a href="https://www.rydoo.com/compliance/" target="_blank" data-type="URL" data-id="https://www.rydoo.com/compliance/" rel="noreferrer noopener nofollow">Rydoo’s Compliance Centre</a></strong> and <strong><a href="https://www.rydoo.com/marketplace/" data-type="URL" data-id="https://www.rydoo.com/marketplace/" target="_blank" rel="noreferrer noopener nofollow">Marketplace</a></strong>.</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"><a href="https://www.rydoo.com/compliance/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1024" height="522" data-id="2727" src="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-1024x522.png" alt="Rydoo-Compliance_Centre" class="wp-image-2727" title="Rydoo Compliance Centre - How to style a datalist and its options?" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-1024x522.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-1536x783.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre.png 1902w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Rydoo&#8217;s Compliance Centre</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://www.rydoo.com/marketplace/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1024" height="522" data-id="2724" src="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-1024x522.png" alt="Rydoo-Marketplace" class="wp-image-2724" title="Rydoo Marketplace - How to style a datalist and its options?" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-1024x522.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-1536x783.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace.png 1902w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Rydoo&#8217;s Marketplace</figcaption></figure>
</figure>



<p>I hope you enjoyed this post! I&#8217;m not sure that I will be writing something more on the blog before entering the new year, so enjoy the celebrations and <strong>let&#8217;s enter 2023 with the right footer!!</strong> 🥂🎆🥳</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>Please avoid these variables! Better practices&#8230;</title>
		<link>https://marcosrego.com/blog/variables-to-avoid/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Mon, 24 Oct 2022 21:00:14 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sass]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2744</guid>

					<description><![CDATA[What is a variable? Variables are very handy strings that, as the name suggests, can vary or change one day. They can be called from many places and in many ways to be used and reused (depending on the coding language). What makes them handy is: When you need to change one, you only need [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-2744"></span>
<!--noteaser-->



<h2 class="wp-block-heading"><strong>What is a variable?</strong></h2>



<p>Variables are very handy strings that, as the name suggests, can vary or change one day. They can be called from many places and in many ways to be used and reused (depending on the coding language).</p>



<p>What makes them handy is: When you need to change one, you only need to change its value in one place, the new value will then pass to every location where you called the variable, by its name.</p>



<figure class="  wp-block-table is-style-stripes"><table><thead><tr><th class="has-text-align-center" data-align="center">Coding language</th><th class="has-text-align-center" data-align="center">Variable construction</th></tr></thead><tbody><tr><td class="has-text-align-center" data-align="center">CSS</td><td class="has-text-align-center" data-align="center">var(&#8211;name)</td></tr><tr><td class="has-text-align-center" data-align="center">SCSS &amp; PHP</td><td class="has-text-align-center" data-align="center">$name</td></tr><tr><td class="has-text-align-center" data-align="center">JavaScript</td><td class="has-text-align-center" data-align="center">var name<br>const name<br>let name</td></tr></tbody></table><figcaption class="wp-element-caption"><a href="https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(basic_instructions)#Variable_and_constant_declarations" target="_blank" rel="noreferrer noopener">Here you&#8217;ll find</a> how to create and call variables on more coding languages.</figcaption></figure>



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



<h2 class="wp-block-heading"><strong>What to avoid in a variable name?</strong></h2>



<p>Even if a variable suggests a change, I see many times developers using names such as $white in SCSS or var(&#8211;white) in CSS. This for me doesn&#8217;t make any sense&#8230; How am I supposed to change to a value other than white? </p>



<p>Even if we can change the colour value, and it visually applies as expected, the code will be illegible. It will be read &#8220;white&#8221; when it isn&#8217;t. For example, it doesn&#8217;t make sense to have a #cecece on a $white variable.</p>



<p>It stops being a real variable.</p>



<p>It would be much better to call it $light, so it could be changed to any light colour on future design system changes. You might think this would still limit to a certain type of colour, and you are right, but at least it can vary as the name suggests. </p>



<p>And we could always take this to another level, call it $secondary_colour or $colourTertiary, so we could use any colour, making it future-proof as long as it&#8217;s not confused with the main/primary one.</p>



<p>We will recap with more examples below&#8230;</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="   wp-block-heading has-main-text-color-color has-text-color"><strong>Do you need a website?</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/07/store-marcosrego-opengraph-1024x538.png" alt="Marcos Rego Store Opengraph Image" class="wp-image-1021" title="store marcosrego opengraph - Please avoid these variables! Better practices..." srcset="https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color">If you need a <strong>website</strong>, you can check the <strong><a href="https://marcosrego.com/client-area/shop/" data-type="post" data-id="673">Shop</a></strong> on the <strong><a href="https://marcosrego.com/./client-area/" data-type="category" data-id="52">Client Area</a></strong> and get an estimation of the development cost. <strong>Pay only 20%</strong>, until the website is ready.</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 wp-element-button" href="https://marcosrego.com/client-area/shop/"><strong>go to THE SHOP</strong></a></div>
</div>
</div></section>
</div></aside>



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



<h2 class="wp-block-heading"><strong>Use a standard method on the names</strong></h2>



<p>Be consistent when giving a name, stick to one method on all your coding or, at least, depending on the code language.</p>



<p>On PHP, it is typical to use <strong>underscores</strong> on variables with two or more words, on JavaScript the <strong>camel case</strong> method is more typical and on CSS the hyphen.</p>



<p>But if you can stick with only one method on all coding languages, it&#8217;s even better, I would say.</p>



<p>My favourite nowadays is camel case, so something like this: $colourPrimary.</p>



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



<h2 class="wp-block-heading"><strong>Make it scalable with a convention!</strong></h2>



<p>Another tip, but very optional, is to set a <strong>convention</strong> to make the variables more <strong>scalable</strong>.</p>



<p>For instance, start the name with the property type and only then the actual name in camel case. In this situation, you can even combine underscores with camel cases. Here&#8217;s what I mean: </p>



<ul class="wp-block-list">
<li>$colour_PrimaryLight.</li>



<li>$size_Spacing2 (don&#8217;t use &#8220;margin&#8221; on the name, that way you can reuse that size on paddings and font-sizes).</li>



<li>$size_font_TitleBig (create another &#8220;layer&#8221; to say that this specific size is to be used only for text).</li>
</ul>



<p>This will avoid conflicts, mistakes and make certain variables easier to find when you have a lot of them.</p>



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



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



<figure class="  wp-block-table is-style-stripes"><table><thead><tr><th class="has-text-align-center" data-align="center">Avoid</th><th class="has-text-align-center" data-align="center">Regular name</th><th class="has-text-align-center" data-align="center">Better name <br>(future-proof)</th></tr></thead><tbody><tr><td class="has-text-align-center" data-align="center"><s>white</s></td><td class="has-text-align-center" data-align="center">light</td><td class="has-text-align-center" data-align="center">colour_TertiaryLight</td></tr><tr><td class="has-text-align-center" data-align="center"><s>margin150</s></td><td class="has-text-align-center" data-align="center">margin2</td><td class="has-text-align-center" data-align="center">size_Spacing2</td></tr></tbody></table></figure>



<div style="height:25px" 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>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-5 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-3 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>Properly use webmail for the most common email tasks</title>
		<link>https://marcosrego.com/blog/4-common-webmail-tasks-hostinger/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Mon, 06 Dec 2021 19:10:22 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[For clients and authors]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2233</guid>

					<description><![CDATA[Learn when using webmail is better than apps and how to create signatures, filters for spam/urgencies, auto replies/out-of-office and redirect emails. I include emails on hosting maintenance One of the things I provide on the hosting maintenance (for clients with websites I developed) is a basic email service. I manage the service of a third-party [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Learn when using webmail is better than apps and how to create signatures, filters for spam/urgencies, auto replies/out-of-office and redirect emails.</p>



<span id="more-2233"></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/07/maintenance-marcosrego-opengraph-1024x538.png" alt="Marcos Rego Maintenance Opengraph Image" class="wp-image-1022" title="maintenance marcosrego opengraph - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color"><strong>All registered users</strong> get access to more sections of the website, including a <strong>client area,</strong> where it is possible to <strong>check the status and renew maintenance services</strong> via online-payment.</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 wp-element-button" href="https://marcosrego.com/./client-area/"><strong>go to client area</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading" id="i-include-emails-on-hosting-maintenance"><strong>I include emails on hosting maintenance</strong></h2>



<p>One of the things I provide on the hosting maintenance (for clients with websites I developed) is a basic email service.</p>



<p>I manage the service of a third-party company, so you don&#8217;t have to (You can know everything that is included on the service on the <a href="https://marcosrego.com/client-area/maintenance/" data-type="post" data-id="782">Maintenance page</a> of the client area).</p>



<p>Emails can be accessed via <strong>webmail</strong> or email clients (such as Thunderbird, Outlook, etc).</p>



<figure class="    wp-block-gallery aligncenter 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-full"><img loading="lazy" decoding="async" width="774" height="211" data-id="1768" src="https://marcosrego.com/wp-content/uploads/2021/08/email-clients.png" alt="Apple Mail, Google Mail, Thunderbird and Outlook" class="wp-image-1768" title="email clients - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/08/email-clients.png 774w, https://marcosrego.com/wp-content/uploads/2021/08/email-clients-300x82.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/email-clients-768x209.png 768w" sizes="auto, (max-width: 774px) 100vw, 774px" /><figcaption class="wp-element-caption">Some email clients</figcaption></figure>
</figure>



<h2 class="wp-block-heading" id="webmail-vs-email-clients"><strong>Webmail vs Email clients</strong></h2>



<p>You can use email clients to create folders, filter emails, create signatures and other common email tasks, but many of those features will only be visible on that client on that device.</p>



<p>Spam filters on email clients, for example, might filter the emails you see but not filter directly on the server.<br><br><strong>Webmail, on the other hand, provides direct access to the emails hosted on the server.</strong></p>



<p>Filters, auto responders (aka out of offices) that you create on webmail, will be available on any client or device that you use.<br><br>On this post, I&#8217;ll show how you can do the most common email tasks using the webmail service I provide via the third-party company <a href="https://hostinger.com/" target="_blank" data-type="URL" data-id="https://hostinger.com/" rel="noreferrer noopener">Hostinger.</a></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"><img loading="lazy" decoding="async" width="1024" height="517" data-id="1774" src="https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-1024x517.png" alt="Hostinger Webmail" class="wp-image-1774" title="Hostinger Webmail - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Hostinger is one of the many hosts providing emails. Including webmail access.</figcaption></figure>
</figure>



<h2 class="wp-block-heading" id="how-to-use-webmail-for-common-email-tasks"><strong>How to use webmail for common email tasks</strong></h2>



<p>First, let&#8217;s log in, go to <a href="https://mail.hostinger.com/" target="_blank" rel="noreferrer noopener">mail.hostinger.com</a> and use the credentials of your account.</p>



<p>If you don&#8217;t remember the credentials, click on &#8220;Forgot password&#8221;. If still you can&#8217;t log in, and I&#8217;m the one managing the hosting service for you, feel free to <a href="https://marcosrego.com/client-area/contact/" data-type="post" data-id="678">contact me</a>. I can reset the password for you, create new addresses, or do some troubleshooting.</p>



<h3 class="  wp-block-heading" id="email-filters"><strong>Email filters</strong></h3>



<p>Email filters allow you to automatically organize your emails depending on whose sending, depending on the email subject and of the content.</p>



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



<h4 class="  wp-block-heading" id="spam-filters"><strong>Spam filters</strong></h4>



<p>Let&#8217;s say you are receiving emails that should be spam, from a domain you don&#8217;t trust or simply don&#8217;t want to receive their emails.</p>



<p>Go to Settings &gt; Filters, click on &#8220;Create&#8221; and check the suggestions on the image below. The key part of this filter is the action, set to move messages with specific rules to the &#8220;Junk&#8221; folder.</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/2021/12/unwanted-email-filters-webmail-marcosrego.png"><img loading="lazy" decoding="async" width="1024" height="514" data-id="2235" src="https://marcosrego.com/wp-content/uploads/2021/12/unwanted-email-filters-webmail-marcosrego-1024x514.png" alt="Email filters for unwanted emails" class="wp-image-2235" title="unwanted email filters webmail marcosrego - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/12/unwanted-email-filters-webmail-marcosrego-1024x514.png 1024w, https://marcosrego.com/wp-content/uploads/2021/12/unwanted-email-filters-webmail-marcosrego-300x150.png 300w, https://marcosrego.com/wp-content/uploads/2021/12/unwanted-email-filters-webmail-marcosrego-768x385.png 768w, https://marcosrego.com/wp-content/uploads/2021/12/unwanted-email-filters-webmail-marcosrego-1536x770.png 1536w, https://marcosrego.com/wp-content/uploads/2021/12/unwanted-email-filters-webmail-marcosrego.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Common email filters for unwanted emails. Replace abaddomain.com with an unwanted domain you are receiving emails from.</figcaption></figure>
</figure>



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



<h4 class="  wp-block-heading" id="filters-for-urgent-or-important-emails"><strong>Filters for urgent or important emails</strong></h4>



<p>Let&#8217;s say some of your colleagues, sharing the same domain as you, usually send you important emails but sometimes with many links or without subject. Those emails might be considered spam by mistake. You can create a filter that will force emails from the same domain as you to always be sent to the &#8220;Inbox&#8221; folder.</p>



<p>Go to Settings &gt; Filters, click on &#8220;Create&#8221; and check the suggestions on the image below. </p>



<p>Or let&#8217;s say you are waiting for an important email from a certain domain, you can also move those messages automatically to a custom folder (to create folders go to Settings &gt; Folders).</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/2021/12/urgent-email-filters-webmail-marcosrego.png"><img loading="lazy" decoding="async" width="1024" height="515" data-id="2237" src="https://marcosrego.com/wp-content/uploads/2021/12/urgent-email-filters-webmail-marcosrego-1024x515.png" alt="Urgent email filters webmail" class="wp-image-2237" title="urgent email filters webmail marcosrego - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/12/urgent-email-filters-webmail-marcosrego-1024x515.png 1024w, https://marcosrego.com/wp-content/uploads/2021/12/urgent-email-filters-webmail-marcosrego-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/12/urgent-email-filters-webmail-marcosrego-768x386.png 768w, https://marcosrego.com/wp-content/uploads/2021/12/urgent-email-filters-webmail-marcosrego-1536x772.png 1536w, https://marcosrego.com/wp-content/uploads/2021/12/urgent-email-filters-webmail-marcosrego.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">You can use a filter to force emails from the same domain to always go to your inbox.</figcaption></figure>
</figure>



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



<h3 class="  wp-block-heading" id="redirect-emails-to-a-preferred-address"><strong>Redirect emails to a preferred address</strong></h3>



<p>Also, using filters, you can redirect certain messages or all of them to a specific address.</p>



<p>Go to Settings &gt; Filters, click on &#8220;Create&#8221; and check the suggestions on the image below.</p>



<p>The key option is setting the action to &#8220;Redirect message to&#8221;.</p>



<p>This can be very useful if you have multiple or parked domains (such as .pt and .com) and you only want to manage your messages from one address.</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"><img loading="lazy" decoding="async" width="1024" height="515" data-id="2373" src="https://marcosrego.com/wp-content/uploads/2021/12/setting-redirect-email-webmail_marcosrego-1024x515.png" alt="Setting email redirect on webmail" class="wp-image-2373" title="setting redirect email webmail marcosrego - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/12/setting-redirect-email-webmail_marcosrego-1024x515.png 1024w, https://marcosrego.com/wp-content/uploads/2021/12/setting-redirect-email-webmail_marcosrego-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/12/setting-redirect-email-webmail_marcosrego-768x386.png 768w, https://marcosrego.com/wp-content/uploads/2021/12/setting-redirect-email-webmail_marcosrego-1536x772.png 1536w, https://marcosrego.com/wp-content/uploads/2021/12/setting-redirect-email-webmail_marcosrego.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Setting email redirects using webmail</figcaption></figure>
</figure>



<h3 class="  wp-block-heading" id="auto-responders-out-of-office"><strong>Auto responders (out of office)</strong></h3>



<p>Currently, the webmail of Hostinger does not permit to send auto responders. You have two options:</p>



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



<h4 class="  wp-block-heading" id="1-auto-responders-via-the-hosting-panel"><strong>1- Auto responders via the hosting panel</strong></h4>



<p>On the hosting panel of Hostinger you can create your auto responders, but not everyone can have access to that panel. </p>



<p>If you don&#8217;t have access, being my client you can <a href="https://marcosrego.com/client-area/contact/">contact me</a>, to request the creation of the auto-responder for free or to upgrade your maintenance with a professional email service for an extra cost.</p>



<p>If you already have access, check the image below to understand where and how to set your autoresponders:</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"><a href="https://marcosrego.com/wp-content/uploads/2021/12/autoreply-hostinger-panel-marcosrego.png"><img loading="lazy" decoding="async" width="1024" height="514" data-id="2242" src="https://marcosrego.com/wp-content/uploads/2021/12/autoreply-hostinger-panel-marcosrego-1024x514.png" alt="Autoreply hostinger panel" class="wp-image-2242" title="autoreply hostinger panel marcosrego - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/12/autoreply-hostinger-panel-marcosrego-1024x514.png 1024w, https://marcosrego.com/wp-content/uploads/2021/12/autoreply-hostinger-panel-marcosrego-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/12/autoreply-hostinger-panel-marcosrego-768x386.png 768w, https://marcosrego.com/wp-content/uploads/2021/12/autoreply-hostinger-panel-marcosrego-1536x771.png 1536w, https://marcosrego.com/wp-content/uploads/2021/12/autoreply-hostinger-panel-marcosrego.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Setting auto replies for out of office warnings and other situations  using Hostinger&#8217;s panel</figcaption></figure>
</figure>



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



<h4 class="  wp-block-heading" id="2-alternative-is-sending-the-email-to-someone-who-s-available"><strong>2- Alternative is sending the email to someone who&#8217;s available</strong></h4>



<p>Just like creating email filters, you can create a filter to send all messages to a colleague or friend who&#8217;s available to answer.</p>



<p>Check the image below, the trick is setting the scope of the filter to &#8220;All messages&#8221;:</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/2021/12/send-emails-to-colleague-webmail-marcosrego.png"><img loading="lazy" decoding="async" width="1024" height="515" data-id="2243" src="https://marcosrego.com/wp-content/uploads/2021/12/send-emails-to-colleague-webmail-marcosrego-1024x515.png" alt="Send emails to colleague webmail marcosrego" class="wp-image-2243" title="send emails to colleague webmail marcosrego - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/12/send-emails-to-colleague-webmail-marcosrego-1024x515.png 1024w, https://marcosrego.com/wp-content/uploads/2021/12/send-emails-to-colleague-webmail-marcosrego-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/12/send-emails-to-colleague-webmail-marcosrego-768x386.png 768w, https://marcosrego.com/wp-content/uploads/2021/12/send-emails-to-colleague-webmail-marcosrego-1536x772.png 1536w, https://marcosrego.com/wp-content/uploads/2021/12/send-emails-to-colleague-webmail-marcosrego.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Sending your emails to a colleague when you are not available</figcaption></figure>
</figure>



<h3 class="  wp-block-heading" id="email-signatures"><strong>Email signatures</strong></h3>



<p>If you want to create an email signature directly on the webmail, you can do it.</p>



<p>Go to Settings &gt; Identities and write your signature on the text area. Click on the icon on the editor to allow HTML and the visual editor, to easily add images, indents, lines and more.</p>



<p>If you want to do something prettier, you can get a signature code and click on the &lt;&gt; icon to add HTML. <a href="https://marcosrego.com/client-area/contact/" data-type="post" data-id="678">Contact me</a> if you want a custom-made one 😉</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/2021/12/setting-a-email-signature-webmail-marcosrego.png"><img loading="lazy" decoding="async" width="1024" height="514" data-id="2245" src="https://marcosrego.com/wp-content/uploads/2021/12/setting-a-email-signature-webmail-marcosrego-1024x514.png" alt="Setting an email signature using webmail" class="wp-image-2245" title="setting a email signature webmail marcosrego - Properly use webmail for the most common email tasks" srcset="https://marcosrego.com/wp-content/uploads/2021/12/setting-a-email-signature-webmail-marcosrego-1024x514.png 1024w, https://marcosrego.com/wp-content/uploads/2021/12/setting-a-email-signature-webmail-marcosrego-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/12/setting-a-email-signature-webmail-marcosrego-768x386.png 768w, https://marcosrego.com/wp-content/uploads/2021/12/setting-a-email-signature-webmail-marcosrego-1536x771.png 1536w, https://marcosrego.com/wp-content/uploads/2021/12/setting-a-email-signature-webmail-marcosrego.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Setting an email signature using webmail</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>Best Email practices, tips and tricks</title>
		<link>https://marcosrego.com/blog/email-practices-tips-tricks/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Thu, 16 Sep 2021 19:41:19 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[For clients and authors]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=1661</guid>

					<description><![CDATA[There are a lot of best practices that can improve email reputation, unfortunately many of them are initially overlooked or only implemented when problems arise. That can bring serious problems on the long-run, specially when using a non business email service. So I&#8217;ll let you know some important ones for you to take into consideration&#8230; [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>There are a lot of best practices that can improve email reputation, unfortunately many of them are initially overlooked or only implemented when problems arise.</p>



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



<p>That can bring serious problems on the long-run, <strong>specially when using a non business email service</strong>. So I&#8217;ll let you know some important ones for you to take into consideration&#8230;</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/07/maintenance-marcosrego-opengraph-1024x538.png" alt="Marcos Rego Maintenance Opengraph Image" class="wp-image-1022" title="maintenance marcosrego opengraph - Best Email practices, tips and tricks" srcset="https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color"><strong>All registered users</strong> get access to more sections of the website, including a <strong>client area,</strong> where it is possible to <strong>check the status and renew maintenance services</strong> via online-payment.</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 wp-element-button" href="https://marcosrego.com/./client-area/"><strong>go to client area</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading"><strong>When should you use a business email</strong></h2>



<p>If your business relies a lot on sending and receiving emails or combines regular emails with marketing services, it might be better to start using a business service immediately, such as <a href="https://www.google.com/business/" target="_blank" data-type="URL" data-id="https://www.google.com/business/" rel="noreferrer noopener">Google</a> or <a href="https://www.zoho.com/mail/" data-type="URL" data-id="https://www.zoho.com/mail/" target="_blank" rel="noreferrer noopener">Zoho</a>. It might seem costly initially but it&#8217;s safer for your reputation and security on the long-run.</p>



<h2 class="wp-block-heading"><strong>Best practices for newsletters and transactional emails</strong></h2>



<ul class="wp-block-list"><li>Always use a specific service for newsletters and transactional emails, such as <a href="https://mailchimp.com/" target="_blank" data-type="URL" data-id="https://mailchimp.com/" rel="noreferrer noopener">Mailchimp</a> or <a href="https://sendinblue.com/" target="_blank" data-type="URL" data-id="https://sendinblue.com/" rel="noreferrer noopener">Sendinblue</a>.</li><li>Avoid using your main domain. Configure your services to use a subdomain and set the sender to something like <strong>noreply@email.</strong>yourdomain.tld.</li><li>Always add links for unsubscribe or manage preferences.</li></ul>



<p></p>



<figure class="  wp-block-gallery columns-1 is-cropped wp-block-gallery-12 is-layout-flex wp-block-gallery-is-layout-flex"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" decoding="async" width="1024" height="517" src="https://marcosrego.com/wp-content/uploads/2021/08/my-sendinblue-config-1024x517.png" alt="My sendinblue email domain config" data-id="1742" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/my-sendinblue-config.png" data-link="https://marcosrego.com/?attachment_id=1742" class="wp-image-1742" title="my sendinblue config - Best Email practices, tips and tricks" srcset="https://marcosrego.com/wp-content/uploads/2021/08/my-sendinblue-config-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/my-sendinblue-config-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/my-sendinblue-config-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/my-sendinblue-config-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/my-sendinblue-config.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="blocks-gallery-item__caption">Example of how to avoid using the main domain and configure the sender using Sendinblue.</figcaption></figure></li></ul></figure>



<h2 class="wp-block-heading"><strong>Best practices for sending regular emails</strong></h2>



<p>Use the <a href="https://www.mail-tester.com/" data-type="URL" data-id="https://www.mail-tester.com/" target="_blank" rel="noreferrer noopener">Mail Tester</a> platform when you write new messages, it will give you tips and tricks on how to improve them and avoid from falling into spam.</p>



<figure class="   wp-block-gallery columns-1 wp-block-gallery-13 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/08/Mail-Tester_Marcos-Rego.png"><img loading="lazy" decoding="async" width="1024" height="517" src="https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester_Marcos-Rego-1024x517.png" alt="Mail Tester First screen as shown to Marcos Rego" data-id="1716" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester_Marcos-Rego.png" data-link="https://marcosrego.com/?attachment_id=1716" class="wp-image-1716" title="Mail Tester Marcos Rego - Best Email practices, tips and tricks" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester_Marcos-Rego-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester_Marcos-Rego-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester_Marcos-Rego-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester_Marcos-Rego-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester_Marcos-Rego.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">To use Mail Tester, grab an email that you will send to someone and send it to the email shown to you on https://www.mail-tester.com/.</figcaption></figure></li><li class="blocks-gallery-item"><figure><a href="https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester-Test-Result_Marcos-Rego.png"><img loading="lazy" decoding="async" width="1024" height="521" src="https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester-Test-Result_Marcos-Rego-1024x521.png" alt="Mail Tester Results as shown to Marcos Rego" data-id="1717" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester-Test-Result_Marcos-Rego.png" data-link="https://marcosrego.com/?attachment_id=1717" class="wp-image-1717" title="Mail Tester Test Result Marcos Rego - Best Email practices, tips and tricks" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester-Test-Result_Marcos-Rego-1024x521.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester-Test-Result_Marcos-Rego-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester-Test-Result_Marcos-Rego-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester-Test-Result_Marcos-Rego-1536x782.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/Mail-Tester-Test-Result_Marcos-Rego.png 1903w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">After clicking to check the score, your test result will be shown. You can open each option to know more details on how to improve.</figcaption></figure></li></ul></figure>



<h4 class="  wp-block-heading"><strong>Some practices are:</strong></h4>



<ul class="wp-block-list"><li>Do not use for mass email sending.</li><li>Always include a subject.</li><li>Always add <em>alt text</em> attributes to your images.</li><li>Regular emails should not show HTML code, iframes or other embed content. That type of content should be sent as an attachment or via <a href="http://wetransfer.com/" target="_blank" data-type="URL" data-id="http://wetransfer.com/" rel="noreferrer noopener">WeTransfer</a>. You can use HTML only in newsletters.</li><li>Do not send messages only with a link or attachment, it should always have some regular text.</li><li>Messages should have a proper length. Avoid sending short texts that could be sent via chat, apps or sms.</li><li>Avoid typical subjects with certain keywords that can fall into spam such as &#8220;test&#8221;, &#8220;spam&#8221; and similar. Specially when unrelated to the message.</li></ul>



<h2 class="wp-block-heading"><strong>Best practices on email clients</strong></h2>



<h3 class="  wp-block-heading"><strong>Which email client should you use</strong></h3>



<p>By email clients I mean software and apps such as <a href="https://www.microsoft.com/en-us/p/mail-and-calendar/9wzdncrfhvqm?activetab=pivot:overviewtab" target="_blank" rel="noreferrer noopener">Mail</a>, <a href="https://www.thunderbird.net/en-US/" target="_blank" data-type="URL" data-id="https://www.thunderbird.net/en-US/" rel="noreferrer noopener">Thunderbird</a> or <a href="https://www.microsoft.com/en-ww/microsoft-365/outlook/email-and-calendar-software-microsoft-outlook" target="_blank" data-type="URL" data-id="https://www.microsoft.com/en-ww/microsoft-365/outlook/email-and-calendar-software-microsoft-outlook" rel="noreferrer noopener">Outlook</a>.</p>



<div class="     wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="774" height="211" src="https://marcosrego.com/wp-content/uploads/2021/08/email-clients.png" alt="Apple Mail, Google Mail, Thunderbird and Outlook" class="wp-image-1768" title="email clients - Best Email practices, tips and tricks" srcset="https://marcosrego.com/wp-content/uploads/2021/08/email-clients.png 774w, https://marcosrego.com/wp-content/uploads/2021/08/email-clients-300x82.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/email-clients-768x209.png 768w" sizes="auto, (max-width: 774px) 100vw, 774px" /></figure></div>



<p><strong>Something to keep in mind for basic users is, the simplest the email client the less problems will occur when connecting to emails:</strong></p>



<ul class="wp-block-list"><li>If you only need the basic features, check the client that comes with your device. Usually the basic is more than enough and many clients still give you features such as signatures.</li><li>If you need a set of advanced configurations and features for free I advice you to use Thunderbird.</li><li>If you need advanced configurations, advanced features and you are on a company, you can go with Microsoft 365 Outlook. But I usually advice against it, specially if you can&#8217;t update to the latest version for some reason, It&#8217;s the first to give problems. You might need a &#8220;tech guy&#8221; to help you out from time to time.<br>Sometimes you might need some kind of compatibility with other software/service, that&#8217;s the only reason I understand the use of Outlook.</li></ul>



<h3 class="  wp-block-heading"><strong>Incoming server: IMAP or POP?</strong></h3>



<p>To keep things simple, the best option usually is <strong>IMAP</strong>. When you delete emails they will also be deleted from the server by default and the emails will only be stored on your computer temporarily as you read them.</p>



<h3 class="  wp-block-heading"><strong>Troubleshooting connection problems on email clients</strong></h3>



<ul class="wp-block-list"><li><strong>Not receiving emails?</strong> Always check the spam folder before moving to other types of troubleshooting. Add domains you trust to your whitelist and report as not spam if your client/webmail allows it.</li><li><strong>Connection problems?</strong> First thing to always troubleshoot is to check the status of the server, some email providers have a specific place to report situations, Hostinger for example <a href="https://statuspage.hostinger.com/" target="_blank" data-type="URL" data-id="https://statuspage.hostinger.com/" rel="noreferrer noopener">has this page</a> for each of their services.<br>A second thing to troubleshoot, is to access your email via webmail. If you can&#8217;t access via webmail, you will not be able to access via clients either. If this is the case, double-check the address and password. If they are correct, contact your host manager/provider <em>(Is it me? Then this is the usual <a href="https://mail.hostinger.com/" target="_blank" rel="noreferrer noopener">webmail access</a> and you can <a href="https://marcosrego.com/client-area/contact/">contact me here</a>)</em>.</li><li><strong>Configuration problems? </strong>If your email client doesn&#8217;t have a field for the ports, add them to the incoming and outgoing server fields. Something like this:<br>imap.hostinger.com<strong>:993</strong><br>smtp.hostinger.com<strong>:465</strong></li><li><strong>Unknown connection errors?</strong> If you have problems connecting and the error message is not clear, the fastest way to discover the problem is to check the logs. Depending of your email client, you might need to enable them first. If you can&#8217;t read the logs you might need help from an expert. Do you have a maintenance or support service with me? You can send the logs to me and I&#8217;ll try to help you out.<ul><li><a href="https://support.microsoft.com/en-us/office/what-is-the-enable-logging-troubleshooting-option-0fdc446d-d1d4-42c7-bd73-74ffd4034af5#onoff" target="_blank" data-type="URL" data-id="https://support.microsoft.com/en-us/office/what-is-the-enable-logging-troubleshooting-option-0fdc446d-d1d4-42c7-bd73-74ffd4034af5#onoff" rel="noreferrer noopener">Outlook logs</a></li><li><a href="https://wiki.mozilla.org/MailNews:Logging" target="_blank" data-type="URL" data-id="https://wiki.mozilla.org/MailNews:Logging" rel="noreferrer noopener">Thunderbird logs</a></li></ul></li></ul>



<p></p>



<figure class="  wp-block-gallery columns-1 is-cropped wp-block-gallery-14 is-layout-flex wp-block-gallery-is-layout-flex"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" decoding="async" width="1024" height="517" src="https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-1024x517.png" alt="Hostinger Webmail" data-id="1774" class="wp-image-1774" title="Hostinger Webmail - Best Email practices, tips and tricks" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/Hostinger-Webmail.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="blocks-gallery-item__caption"><a href="https://mail.hostinger.com/" target="_blank" data-type="URL" data-id="https://mail.hostinger.com/" rel="noreferrer noopener">Hostinger</a> is one of the many hosts providing emails. Including webmail access.</figcaption></figure></li></ul></figure>



<h2 class="wp-block-heading"><strong>Best practices for domain records</strong> (advanced)</h2>



<ul class="wp-block-list"><li>The <a href="#best_practices_for_sending_regular_emails" data-type="internal" data-id="#best_practices_for_sending_regular_emails">Mail tester platform mentioned above</a>, also gives great tips for domain records.</li><li>Regular emails usually have MX records but should also have TXT records for DKIM and DMARC.</li><li>MX Records should not have the same priority level.</li><li>MX Records per domain/subdomain should point to one unique service. Mass email services usually have alternative DNS Records.</li><li>For mass email and newsletters services such as Sendinblue. Always configure with all the steps given by the service, with all the DNS records.</li></ul>



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



<h2 class="wp-block-heading"><strong>I hope this practices, tips and tricks can help you as they helped me!</strong></h2>



<p>I&#8217;m not an email expert but I&#8217;ve been learning a lot of practices while working with my clients <a href="https://marcosrego.com/blog/about-me/" data-type="post" data-id="273">since 2014</a> and it&#8217;s a pleasure to share them with you now.</p>



<p><strong>I&#8217;ll continue to update this post with new practices as I remember and learn them!</strong></p>



<p>And if you know some more, feel free to share them on the comments section below.</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 2 easy methods to add PDF files in WordPress</title>
		<link>https://marcosrego.com/blog/add-pdf-files-wordpress/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 07:56:49 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[For clients and authors]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=1663</guid>

					<description><![CDATA[For new users, it might not be obvious that the Media Library on WordPress backend can be used for more than just images. PDF is one of the file types that can be uploaded. But how would they look on the website&#8217;s frontend? There are at least two different ways to upload and display them, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>For new users, it might not be obvious that the Media Library on WordPress backend can be used for more than just images. PDF is one of the file types that can be uploaded.</p>



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



<p><strong>But how would they look on the website&#8217;s frontend?</strong></p>



<p>There are at least two different ways to upload and display them, I&#8217;ll share them with you below&#8230;</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/07/maintenance-marcosrego-opengraph-1024x538.png" alt="Marcos Rego Maintenance Opengraph Image" class="wp-image-1022" title="maintenance marcosrego opengraph - The 2 easy methods to add PDF files in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/07/maintenance-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color"><strong>All registered users</strong> get access to more sections of the website, including a <strong>client area,</strong> where it is possible to <strong>check the status and renew maintenance services</strong> via online-payment.</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 wp-element-button" href="https://marcosrego.com/./client-area/"><strong>go to client area</strong></a></div>
</div>
</div></section>
</div></aside>



<h2 class="wp-block-heading"><strong>The new and easy method to add and display PDFs in WordPress</strong></h2>



<h3 class="  wp-block-heading"><strong>Using the &#8220;File&#8221; block</strong></h3>



<p><a href="https://make.wordpress.org/core/2021/04/30/whats-new-in-gutenberg-10-5-28-april/" target="_blank" data-type="URL" data-id="https://make.wordpress.org/core/2021/04/30/whats-new-in-gutenberg-10-5-28-april/" rel="noreferrer noopener">Since WordPress version 5.8</a>, that you can use the &#8220;File&#8221; block to embed a file directly inside a page.</p>



<figure class="   wp-block-gallery columns-1 wp-block-gallery-15 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/08/adding-pdf-block-editor_01.png"><img loading="lazy" decoding="async" width="1024" height="517" src="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_01-1024x517.png" alt="Wordpress - File Block - Prompts for upload or select" data-id="1690" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_01.png" data-link="https://marcosrego.com/?attachment_id=1690" class="wp-image-1690" title="adding pdf block editor 01 - The 2 easy methods to add PDF files in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_01-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_01-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_01-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_01-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_01.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">When choosing the &#8220;File&#8221; block, you&#8217;ll be prompt to upload or select a file from the Media Library.</figcaption></figure></li><li class="blocks-gallery-item"><figure><a href="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_02.png"><img loading="lazy" decoding="async" width="1024" height="517" src="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_02-1024x517.png" alt="Wordpress - File Block - Showing a blank PDF" data-id="1691" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_02.png" data-link="https://marcosrego.com/?attachment_id=1691" class="wp-image-1691" title="adding pdf block editor 02 - The 2 easy methods to add PDF files in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_02-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_02-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_02-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_02-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_02.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">By uploading/selecting a PDF file, it will be shown directly inside the page.</figcaption></figure></li><li class="blocks-gallery-item"><figure><a href="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_03.png"><img loading="lazy" decoding="async" width="1024" height="517" src="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_03-1024x517.png" alt="Wordpress - File Block - Showing a button" data-id="1692" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_03.png" data-link="https://marcosrego.com/?attachment_id=1692" class="wp-image-1692" title="adding pdf block editor 03 - The 2 easy methods to add PDF files in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_03-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_03-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_03-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_03-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-block-editor_03.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">You can also choose to show a button to download it.<br>And if you only want to display the button without the embed, you can still do that here also.</figcaption></figure></li></ul></figure>



<h2 class="wp-block-heading"><strong>Other method to add PDFs with a link</strong></h2>



<h3 class="  wp-block-heading"><strong>Using the Media Library</strong></h3>



<p>The previous method is the easiest if you use the block editor. Here&#8217;s another method that can be used anywhere (also on categories&#8217; descriptions).</p>



<figure class="   wp-block-gallery columns-1 wp-block-gallery-16 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/08/adding-pdf-wp_01.png"><img loading="lazy" decoding="async" width="1024" height="517" src="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_01-1024x517.png" alt="Wordpress - Add PDF - Media Library" data-id="1693" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_01.png" data-link="https://marcosrego.com/?attachment_id=1693" class="wp-image-1693" title="adding pdf wp 01 - The 2 easy methods to add PDF files in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_01-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_01-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_01-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_01-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_01.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">Upload a PDF into the Media Library</figcaption></figure></li><li class="blocks-gallery-item"><figure><a href="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_02.png"><img loading="lazy" decoding="async" width="1024" height="517" src="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_02-1024x517.png" alt="Wordpress - Add PDF - Copy link" data-id="1694" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_02.png" data-link="https://marcosrego.com/?attachment_id=1694" class="wp-image-1694" title="adding pdf wp 02 - The 2 easy methods to add PDF files in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_02-1024x517.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_02-300x151.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_02-768x388.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_02-1536x775.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_02.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">Copy the PDF link like shown on the image</figcaption></figure></li></ul></figure>



<h3 class="  wp-block-heading"><strong>Adding PDF link into text</strong></h3>



<figure class="  wp-block-gallery columns-1 wp-block-gallery-17 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/08/adding-pdf-wp_03.png"><img loading="lazy" decoding="async" width="1024" height="521" src="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_03-1024x521.png" alt="Wordpress - Add PDF - Add link to text" data-id="1695" data-full-url="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_03.png" data-link="https://marcosrego.com/?attachment_id=1695" class="wp-image-1695" title="adding pdf wp 03 - The 2 easy methods to add PDF files in Wordpress" srcset="https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_03-1024x521.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_03-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_03-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_03-1536x782.png 1536w, https://marcosrego.com/wp-content/uploads/2021/08/adding-pdf-wp_03.png 1903w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="blocks-gallery-item__caption">Add a link to a text using the editor</figcaption></figure></li></ul></figure>



<h3 class="  wp-block-heading"><strong>Adding PDF link with HTML</strong></h3>



<p>If you don&#8217;t have an editor you can use HTML like this:</p>



<pre class="wp-block-code"><code>&lt;a href="http://127.0.0.1:5000/wp-content/uploads/2021/08/blank.pdf" target="_blank" class="button"&gt;See pdf&lt;/a&gt;</code></pre>



<p>You can transform the linked text into a button by replacing the class with your own button class.</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>Display category descriptions on any WordPress theme!</title>
		<link>https://marcosrego.com/blog/display-wordpress-category-descriptions/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Thu, 19 Aug 2021 23:16:11 +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[Mr.Dev.'s Widget]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=1522</guid>

					<description><![CDATA[If you have a WordPress website already established and you feel the need to show the category descriptions on the category pages, but now you realize your theme is not compatible with that, you don&#8217;t need to change theme, or mess with the code and not even do a child-theme. If Mr.Dev. is already giving [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-1522"></span>
<!--noteaser-->



<p>If you have a WordPress website already established and you feel the need to show the category descriptions on the category pages, but now you realize your theme is not compatible with that, <strong>you don&#8217;t need to change theme</strong>, or mess with the code and not even do a child-theme.</p>



<p><strong>If <a href="https://marcosrego.com/tag/mr-dev/" data-type="post_tag" data-id="24">Mr.Dev.</a> is already giving a <strong><a href="https://marcosrego.com/development/mrdev-framework/">Framework</a></strong> and <a href="https://marcosrego.com/development/mrdev-widget/" data-type="post" data-id="574">Widgets</a> to your website, you already have all you need!</strong></p>



<p>If his not, I invite you to <a href="https://marcosrego.com/mrdev-widget-module-features/" data-type="page" data-id="838">check all the features those plugins provide when combined</a>. The more features you realize you need the more worth it is <a href="https://marcosrego.com/client-area/downloads/" data-type="post" data-id="694">to download them</a>!</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-widget/"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget-marcosrego-opengraph-1024x538.png" alt="Mr.Dev.&#039;s Widget Opengraph Image" class="wp-image-1027" title="mrdevwidget marcosrego opengraph - Display category descriptions on any WordPress theme!" srcset="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-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<p class="  has-main-text-color-color has-text-color"><strong>Mr.Dev. </strong>gives you for <strong>free</strong> a <strong><a href="https://marcosrego.com/development/mrdev-module/" data-type="post" data-id="868">module for Joomla</a></strong> and a <strong><a href="https://marcosrego.com/development/mrdev-widget/" data-type="post" data-id="574">widget for WordPress</a></strong> with <strong>powerful features</strong>! And if you need even more power you can join the<a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403"> Framework</a>.</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/mrdev-widget-module-features/"><strong>know all features</strong></a></div>
</div>
</div></section>
</div></aside>



<p>If you see that you actually don&#8217;t need that many features from Mr.Dev. and don&#8217;t mind touching the code of your theme, no problem, <a href="#display_category_descriptions_with_code_advanced" data-type="internal" data-id="#display_category_descriptions_with_code_advanced">I&#8217;ll share with you at the end of the post the code you need</a> to use to show the category descriptions.</p>



<h2 class="wp-block-heading"><strong>How to use Mr.Dev.&#8217;s Widget to display category descriptions</strong></h2>



<h3 class="  wp-block-heading"><strong>Display current category</strong></h3>



<ol class="  wp-block-list"><li>Go to <em>Appearance &gt; Widgets</em> and drag a Mr.Dev.&#8217;s Widget inside a widget-area/sidebar.</li><li>In <em>Content</em> make sure the type of content is set to <em>Categories</em>, this will display all categories.</li><li>In <em>Customize content</em> select <em>Different url</em>, this is the trick to show the widget only on the current category.</li></ol>



<p></p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped 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/08/mrdev-widget-category-description_01.jpg"><img loading="lazy" decoding="async" width="1024" height="828" data-id="1552" src="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_01-1024x828.jpg" alt="Mr.Dev.&#039;s widget backend showing category selected as content" class="wp-image-1552" title="mrdev widget category description 01 - Display category descriptions on any WordPress theme!" srcset="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_01-1024x828.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_01-300x243.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_01-768x621.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_01.jpg 1507w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption>Mr.Dev.&#8217;s widget backend on how to show current category only.</figcaption></figure>
</figure>



<h3 class="  wp-block-heading"><strong>Show only the category description</strong></h3>



<ol class="  wp-block-list"><li>Go to <em>Display</em> and disable the main title, images, meta and links. Leave only the descriptions as <em>Item description</em>.</li><li>Then you might want to only show the text without extra styling: Go to <em>Appearance</em> and change theme to <em>None</em>.</li></ol>



<p></p>



<figure class="   wp-block-gallery has-nested-images columns-1 is-cropped wp-block-gallery-19 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/08/mrdev-widget-category-description_02.jpg"><img loading="lazy" decoding="async" width="1024" height="826" data-id="1556" src="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_02-1024x826.jpg" alt="Mr.Dev.&#039;s widget backend on how to show only the item description." class="wp-image-1556" title="mrdev widget category description 02 - Display category descriptions on any WordPress theme!" srcset="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_02-1024x826.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_02-300x242.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_02-768x620.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_02.jpg 1502w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption>Mr.Dev.&#8217;s widget backend on how to show only the item description.</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_03.jpg"><img loading="lazy" decoding="async" width="1024" height="797" data-id="1561" src="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_03-1024x797.jpg" alt="Mr.Dev.&#039;s widget backend on how to remove all styling" class="wp-image-1561" title="mrdev widget category description 03 - Display category descriptions on any WordPress theme!" srcset="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_03-1024x797.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_03-300x233.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_03-768x597.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-widget-category-description_03.jpg 1499w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption>Mr.Dev.&#8217;s widget backend on how to remove all styling</figcaption></figure>
</figure>



<p>This are the only options you need to select. The category description should now be displayed at the frontend on the chosen widget-area/sidebar.</p>



<h3 class="  wp-block-heading"><strong>Create a custom widget area / sidebar for the category description (optional)</strong></h3>



<p>If the chosen widget-area/sidebar is not the best position for a category description to be displayed, you can create a new one using <a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">Mr.Dev.&#8217;s Framework</a>.</p>



<p>On this example, I&#8217;ll show how to have a new widget-area/sidebar above the list of posts.</p>



<ol class="  wp-block-list"><li>Go to <em>Settings &gt; Mr.Dev.&#8217;s Framework (Or the name of your website)</em> and select the tab <em>Layout</em> (If that tab is not available, you might need to activate it on the <em>Configuration</em> tab first).</li><li>Scroll to the <em>Main</em> section and select to show <em>1 section per line</em>.</li><li>Give a name to the first section (On this example I called it <em>Content Top</em>).</li><li>Choose <em>Widget area / Sidebar</em> as the type of content to display on that section.</li><li>Save the settings. </li></ol>



<p>The new widget-area/sidebar/section will now appear on <em>Appearance &gt; Widgets</em>, for you to drag the widget you made before into it.</p>



<figure class="  wp-block-gallery 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-large"><a href="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-framework-layout_widget-sidebar.jpg"><img loading="lazy" decoding="async" width="1024" height="355" data-id="1565" src="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-framework-layout_widget-sidebar-1024x355.jpg" alt="Mr.Dev.&#039;s Framework - Layout example on the main section." class="wp-image-1565" title="mrdev framework layout widget sidebar - Display category descriptions on any WordPress theme!" srcset="https://marcosrego.com/wp-content/uploads/2021/08/mrdev-framework-layout_widget-sidebar-1024x355.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-framework-layout_widget-sidebar-300x104.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-framework-layout_widget-sidebar-768x266.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-framework-layout_widget-sidebar-1536x533.jpg 1536w, https://marcosrego.com/wp-content/uploads/2021/08/mrdev-framework-layout_widget-sidebar.jpg 1548w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption>Mr.Dev.&#8217;s Framework &#8211; Layout example on the main section.</figcaption></figure>
</figure>



<h3 class="  wp-block-heading"><strong>Live examples of Mr.Dev. displaying categories</strong></h3>



<h4 class="  wp-block-heading"><strong><a href="https://marcosrego.com/websites/giftncraft/" data-type="post" data-id="120">Gift &amp; Craft</a></strong> &#8211; Categories&#8217; images?</h4>



<p>By default, WordPress <strong>doesn&#8217;t have the option to add a thumbnail or featured image to a category</strong>, so for the categories&#8217; headers of this website, <strong>I added an image inside the category description</strong> and I used the method explained above.</p>



<p>The only difference was to disable the item description and <strong>change the image to be </strong><em><strong>Description first image</strong></em>. This also allowed to use the parallax effect of the widget.</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="606" data-id="1567" src="https://marcosrego.com/wp-content/uploads/2021/08/giftncraft-desktop-porcelaine-description-1024x606.jpg" alt="Gift &amp; Craft - Desktop showing the header of the Porcelaine category" class="wp-image-1567" title="giftncraft desktop porcelaine description - Display category descriptions on any WordPress theme!" srcset="https://marcosrego.com/wp-content/uploads/2021/08/giftncraft-desktop-porcelaine-description-1024x606.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/08/giftncraft-desktop-porcelaine-description-300x178.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/08/giftncraft-desktop-porcelaine-description-768x455.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/08/giftncraft-desktop-porcelaine-description-1536x910.jpg 1536w, https://marcosrego.com/wp-content/uploads/2021/08/giftncraft-desktop-porcelaine-description.jpg 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>Gift &amp; Craft &#8211; Desktop showing the header of the Porcelaine category</figcaption></figure>
</figure>



<h4 class="  wp-block-heading"><a href="https://marcosrego.com/websites/rubenrdias/" data-type="post" data-id="448">Ruben R. Dias</a> &#8211; Display a set of categories</h4>



<p>This website is a good example of how practical it can be to show a set of categories with <strong>widget shortcodes inside the categories descriptions</strong>.</p>



<p>The main difference comparing to the method above, is that I didn&#8217;t set to exclude different urls for this website.</p>



<figure class="  wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-22 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 - Display category descriptions on any WordPress theme!" 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>Ruben R. Dias desktop website showing the main categories</figcaption></figure>
</figure>



<h2 class="wp-block-heading"><strong>Display category descriptions with code (advanced)</strong></h2>



<h3 class="  wp-block-heading"><strong>Child-theme</strong></h3>



<p>To not lose the code changes you are gonna make on future theme updates, check if your theme as a specific way to override files.</p>



<p>If not, you should start by making a <strong>child-theme</strong>, born from the one you are currently using.</p>



<p><a href="https://developer.wordpress.org/themes/advanced-topics/child-themes/#how-to-create-a-child-theme" target="_blank" data-type="URL" data-id="https://developer.wordpress.org/themes/advanced-topics/child-themes/#how-to-create-a-child-theme" rel="noreferrer noopener">Follow the WordPress official documentation</a> to know more about child-themes.</p>



<h3 class="  wp-block-heading"><strong>Change the correct file</strong></h3>



<p>Your theme should have a specific file to display the list of posts. In many cases is called <strong>archive.php</strong> but can differ.</p>



<h3 class="  wp-block-heading"><strong>Add the code</strong></h3>



<p>Paste the following line of code on the file, at the location where you want the description to appear:</p>



<pre class="wp-block-code"><code>the_archive_description( '&lt;div class="taxonomy-description"&gt;', '&lt;/div&gt;' );</code></pre>



<p><sup>As found on <a href="https://developer.wordpress.org/reference/functions/the_archive_description/" target="_blank" data-type="URL" data-id="https://developer.wordpress.org/reference/functions/the_archive_description/" rel="noreferrer noopener">WordPress developer handbook</a>.</sup></p>



<p><strong>And that&#8217;s it!</strong> Those are the 2 suggestions I can give you on how to show category descriptions. The same works for tags and other taxonomies. I hope this is handy for some of you developers and WordPress affectionate out there.</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>
	</channel>
</rss>
