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

<channel>
	<title>Tag: WordPress How To - Ryan Daniels</title>
	<atom:link href="https://ryandaniels.ca/blog/tag/wordpress-how-to/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Thu, 25 Aug 2022 01:59:17 +0000</lastBuildDate>
	<language>en-CA</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://ryandaniels.ca/wp-content/uploads/2019/07/img_5907-small-blur-square-100x100.jpg</url>
	<title>Tag: WordPress How To - Ryan Daniels</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">22628916</site>	<item>
		<title>How To Set Up And Customize WordPress Twenty Twenty Theme</title>
		<link>https://ryandaniels.ca/blog/set-up-customize-wordpress-twenty-twenty/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Sun, 15 Dec 2019 14:04:00 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Guide]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1823</guid>

					<description><![CDATA[<p><a href="https://ryandaniels.ca/blog/set-up-customize-wordpress-twenty-twenty/"><img src="https://ryandaniels.ca/wp-content/uploads/2019/12/cosmic_fonts-268x300.jpg" alt="Phenomenal Cosmic Fonts! Itty Bitty Living Space." class="alignleft size-thumbnail wp-image-1859"/></a>WordPress 5.3 has a new default theme called Twenty Twenty. Like all new things on the web, we get more space around everything. We also get MASSIVE fonts! Along with a narrow area to show all the text content, and embedded fonts which waste bandwidth. It's not all bad though. And we can fix it!<br />
&#160;<br />
&#160;</p>
<p>The post <a href="https://ryandaniels.ca/blog/set-up-customize-wordpress-twenty-twenty/">How To Set Up And Customize WordPress Twenty Twenty Theme</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="536" height="600" src="https://ryandaniels.ca/wp-content/uploads/2019/12/cosmic_fonts.jpg" alt="WordPress Twenty Twenty theme - Phenomenal Cosmic Fonts! Itty Bitty Living Space." class="wp-image-1859" srcset="https://ryandaniels.ca/wp-content/uploads/2019/12/cosmic_fonts.jpg 536w, https://ryandaniels.ca/wp-content/uploads/2019/12/cosmic_fonts-268x300.jpg 268w" sizes="(max-width: 536px) 100vw, 536px" /><figcaption class="wp-element-caption">Image Credit: Disney/Aladdin</figcaption></figure></div>


<p>WordPress 5.3 has a new default theme called Twenty Twenty. Like all new things on the web, we get more space around everything. <br>But what else is new? We also get <strong>MASSIVE</strong> fonts! I&#8217;m talking <strong>GIGANTIC</strong>. Stand across the room and still read this kind of huge. Also, by default it gives you a narrow area to show all the content, and embedded fonts which waste bandwidth. Insert sad face here.</p>



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



<p>TL;DR: The WordPress Twenty Twenty Theme is pretty good. But it has too much empty space around everything, a tiny width for the content area by default, and <strong>ENORMOUS</strong> fonts! But we can fix it!</p>



<h2 class="wp-block-heading" id="what">What is it?</h2>



<p>The new <a rel="noreferrer noopener" aria-label="Twenty Twenty theme (opens in a new tab)" href="https://wordpress.org/themes/twentytwenty/" target="_blank">Twenty Twenty theme</a> is simple and focuses on usability in the WordPress <a rel="noreferrer noopener" href="https://wordpress.org/gutenberg/" target="_blank">Gutenberg Block Editor</a>. </p>



<p><a rel="noreferrer noopener" href="https://kinsta.com/blog/twenty-twenty-theme/" target="_blank">Kinsta has a nice write-up for the new theme</a>. Check that out for some high level details about Twenty Twenty. As they put it: </p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>&#8220;Twenty Twenty is a minimalist WordPress theme, with a single column layout.&#8221;</p>
</blockquote>



<h2 class="wp-block-heading" id="problem">Problem</h2>



<p>Single column layout.. with a very narrow column for text. Not ideal. Actually, most Gutenberg Blocks that I&#8217;ve tried can&#8217;t be changed to wide. So text and most other Blocks are using a single narrow column. That&#8217;s unfortunate.</p>



<p>The great thing about WordPress is it let&#8217;s you customize pretty much anything. So if you choose to use the new Twenty Twenty theme, you can improve it! That is, if you have the patience and/or skill.</p>



<p>In case you were wondering, this website is now using the new WordPress Twenty Twenty theme. It had a few modifications done to change things I didn&#8217;t like. Overall, it is a well done theme. But let&#8217;s just say there is room for improvement. Mainly the large fonts, the white space around everything, and the narrow area to display text and most content. Yes I could make certain blocks &#8220;wide&#8221; in the Block Editor. But not text, and I don&#8217;t want to bother with changing so many blocks.</p>



<p>Continue reading for my guide to improve WordPress Twenty Twenty. <br>If you don&#8217;t want to make all the changes manually, you can use my <a href="https://github.com/ryandaniels/wp-twentytwenty-child-tiny" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">project on GitHub</a> as a template to get started. </p>



<p>Note: Some of this will be technical and require you to edit CSS and PHP files. Be careful! It&#8217;s good to have some experience with WordPress.</p>



<h2 class="wp-block-heading" id="summary">Summary of what we will improve</h2>



<ul class="wp-block-list"><li><a href="#Reduce-Heading-Twenty-Twenty-font-size">Reduce heading font size</a></li><li><a href="#Reduce-space-around-headings">Reduce space around headings</a></li><li><a href="#Increase-width-of-text-areas">Increase width of text areas</a></li><li><a href="#Remove-Tags-from-bottom-of-Blog">Remove Tags from bottom of Blog and Archive Page</a></li><li><a href="#Delete-Category-from-top">Delete Category from top of Blog Page and Posts</a></li><li><a href="#Remove-Excerpt-from-Post">Remove Excerpt from Blog Page</a></li><li><a href="#Delete-embedded-fonts">Delete embedded fonts</a></li><li><a href="#Remove-Twenty-Twenty-2.0-new-font-Noto-Serif">Remove Twenty Twenty 2.0 new font &#8211; Noto Serif</a></li></ul>



<p>Here are a few before and after screenshots of these changes from one of my previous posts. Images are reduced by 50% (on a 1080p monitor).</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_top.png" rel="lightbox[1823]"><img decoding="async" width="960" height="507" data-id="1881" src="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_top.png" alt="Before Changes - Top of Post" class="wp-image-1881" srcset="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_top.png 960w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_top-800x423.png 800w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_top-300x158.png 300w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_top-768x406.png 768w" sizes="(max-width: 960px) 100vw, 960px" /></a><figcaption class="wp-element-caption">Before Changes &#8211; Top of Post</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_top.png" rel="lightbox[1823]"><img decoding="async" width="960" height="507" data-id="1882" src="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_top.png" alt="After Changes - Top of Post" class="wp-image-1882" srcset="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_top.png 960w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_top-800x423.png 800w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_top-300x158.png 300w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_top-768x406.png 768w" sizes="(max-width: 960px) 100vw, 960px" /></a><figcaption class="wp-element-caption">After Changes &#8211; Top of Post</figcaption></figure>
<figcaption class="blocks-gallery-caption wp-element-caption">Before and After changes &#8211; Top of Post</figcaption></figure>



<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://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_body.png" rel="lightbox[1823]"><img loading="lazy" decoding="async" width="960" height="507" data-id="1883" src="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_body.png" alt="Before Changes - Body of Post" class="wp-image-1883" srcset="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_body.png 960w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_body-800x423.png 800w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_body-300x158.png 300w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-before_body-768x406.png 768w" sizes="auto, (max-width: 960px) 100vw, 960px" /></a><figcaption class="wp-element-caption">Before Changes &#8211; Body of Post</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_body.png" rel="lightbox[1823]"><img loading="lazy" decoding="async" width="960" height="507" data-id="1884" src="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_body.png" alt="After Changes - Body of Post" class="wp-image-1884" srcset="https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_body.png 960w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_body-800x423.png 800w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_body-300x158.png 300w, https://ryandaniels.ca/wp-content/uploads/2019/12/fix_wordpress_twenty_twenty-after_body-768x406.png 768w" sizes="auto, (max-width: 960px) 100vw, 960px" /></a><figcaption class="wp-element-caption">After Changes &#8211; Body of Post</figcaption></figure>
<figcaption class="blocks-gallery-caption wp-element-caption">Before and After changes &#8211; Body of Post</figcaption></figure>



<p>Where did all the empty space go! So much better!<br>Okay, let&#8217;s get started.</p>



<h2 class="wp-block-heading" id="Setup-Twenty-Twenty-Child-Theme">Setup Twenty Twenty Child Theme</h2>



<p>First, <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://developer.wordpress.org/themes/advanced-topics/child-themes/" target="_blank">create a child theme</a> for Twenty Twenty. Then add everything below into your child theme.<br>As previously mentioned, if you don&#8217;t want to do this manually <a href="https://github.com/ryandaniels/wp-twentytwenty-child-tiny" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">check out my project on GitHub</a>. It has everything that I discuss in this post!</p>



<h2 class="wp-block-heading" id="Reduce-Heading-Twenty-Twenty-font-size">Reduce WordPress Twenty Twenty heading font size</h2>



<p>If the font size of the headings in the new theme bothers you. Let&#8217;s change it!</p>



<p>In your child theme <code>style.css</code>, or the CSS editor in WordPress (In Customizer, go to Additional CSS), add the following. If the font is still too large, reduce 6.4 and 4.4, etc even more.<br>This will only modify headings, on &#8220;wide&#8221; screens (non-mobile).</p>



<pre class="wp-block-code"><code>/* Smaller Heading Font please */
@media (min-width: 700px) {
  h1, .heading-size-1 { font-size: 6.4rem; }
  h2, .heading-size-2 { font-size: 4.4rem; }
  h3, .heading-size-3 { font-size: 3.8rem; }
  h4, .heading-size-4 { font-size: 3.2rem; }
}</code></pre>



<p>Also copy your <code>style.css</code> to <code>style-rtl.css</code>.</p>



<h2 class="wp-block-heading" id="Reduce-space-around-headings">Reduce space around headings</h2>



<p>Next up, we will trim some of the extra space around the top of pages, posts, widgets, and the footer.</p>



<p>Again, in your child theme <code>style.css</code> (and <code>style-rtl.css</code>), or the CSS editor in WordPress, add the following. </p>



<pre class="wp-block-code"><code>/* Reduce white space around stuff */
@media (min-width: 700px) {
  .widget .widget-title { margin-bottom: 2rem; }
  .post-inner { padding-top: 3rem; }
  .footer-widgets-outer-wrapper { padding: 3rem 0; }
  #site-footer { padding: 3rem 0; }
}
.singular .entry-header {
  padding: 2rem 0;
}
body:not(.singular) main &gt; article:first-of-type {
  padding: 2rem 0 0;
}
.archive-header {
  padding: 2rem 0;
}
.error404 #site-content {
  padding-top: 2rem;
}</code></pre>



<h2 class="wp-block-heading" id="Increase-width-of-text-areas">Increase width of text areas</h2>



<p>The Twenty Twenty Theme uses a narrow template. Some blocks can be changed to &#8220;wide&#8221; but not text. If you don&#8217;t like the narrow text area or don&#8217;t want to manually change blocks in WordPress, then this change is pretty easy. You can change this right in the WordPress Admin area using &#8220;Bulk Actions&#8221;.<br>Make this change to both Pages and Posts if you want wide areas in both by default.</p>



<div class="wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile"><div class="wp-block-media-text__content">
<ol class="wp-block-list"><li>In the Admin Area, go to Pages.</li><li>Select (with check box) all Pages you want to change.</li><li>Click the &#8220;Bulk Actions&#8221; drop down box, then &#8220;Edit&#8221; and finally Apply.</li><li>Beside Template, click the drop down box and select: &#8220;Full Width Template&#8221;</li><li>Click &#8220;Update&#8221;</li></ol>
</div><figure class="wp-block-media-text__media"><img loading="lazy" decoding="async" width="748" height="473" src="https://ryandaniels.ca/wp-content/uploads/2019/12/wordpress_twenty_twenty_increase_width.png" alt="WordPress Twenty Twenty Increase Width of Posts &amp; Pages with Bulk Editor" class="wp-image-1844 size-full" srcset="https://ryandaniels.ca/wp-content/uploads/2019/12/wordpress_twenty_twenty_increase_width.png 748w, https://ryandaniels.ca/wp-content/uploads/2019/12/wordpress_twenty_twenty_increase_width-300x190.png 300w" sizes="auto, (max-width: 748px) 100vw, 748px" /></figure></div>



<p>Repeat the same steps for your Posts using the Bulk Editor.<br>Remember that any new Post or Page will need this changed.</p>



<h2 class="wp-block-heading" id="Remove-Tags-from-bottom-of-Blog">Remove Tags from bottom of Blog and Archive Page</h2>



<p>This change will eliminate the list of tags used in a post from the bottom of the Blog Page and also the Archive Page for every post.</p>



<p>Again, in your child theme <code>style.css</code> (and <code>style-rtl.css</code>), or the CSS editor in WordPress, add the following. </p>



<pre class="wp-block-code"><code>/* Hide Tags from Blog page */
.blog .post-tags.meta-wrapper {
  display: none;
}
/* Hide Tags from Archive page */
.archive .post-tags.meta-wrapper {
  display: none;
}</code></pre>



<h2 class="wp-block-heading" id="Delete-Category-from-top">Delete Category from top of Blog Page and Posts</h2>



<p>I don&#8217;t like having the category at the top of the Blog Page and at the top of the post. So let&#8217;s remove it! It&#8217;s pretty easy actually. <br>Just edit your <code>functions.php</code> file to add this:</p>



<pre class="wp-block-code"><code>add_filter('twentytwenty_show_categories_in_entry_header', '__return_false');</code></pre>



<h2 class="wp-block-heading" id="Remove-Excerpt-from-Post">Remove Excerpt from Post</h2>



<p>WordPress Twenty Twenty wants to show an except at the top of every post. That&#8217;s a problem for me. All of my previous posts have an excerpt that&#8217;s shown on the Blog Page. I want to keep that, but remove the excerpt from the top of the Post. Maybe some day they will add an option for that. Until then, we need to fix it our self.<br>To change this, copy the file <code>template-parts/entry-header.php</code> into your child theme and edit line 59 to add <code>&amp;&amp; false</code> like so:</p>



<pre class="wp-block-code"><code>if ( has_excerpt() &amp;&amp; is_singular() &amp;&amp; false ) {</code></pre>



<p>This will always evaluate the if statement to false.<br>Another option is to just remove that section of code.</p>



<p>Don&#8217;t forget, <a href="https://github.com/ryandaniels/wp-twentytwenty-child-tiny" target="_blank" rel="noreferrer noopener" aria-label="there's a project on GitHub (opens in a new tab)">there&#8217;s a project on GitHub</a> with all of these changes already done. So you can use that for reference.</p>



<h2 class="wp-block-heading" id="Delete-embedded-fonts">Delete embedded fonts</h2>



<p>The WordPress Twenty Twenty theme has embedded fonts that can&#8217;t be easily removed (yet).</p>



<p>Why remove the fonts? Because it adds 450kb of unneeded files to your website. Speed is important for a website. A smaller site is a faster site, and a faster site is always good! Don&#8217;t believe me? Ask any search engine that question.<br>Side note: Want to know more about making WordPress faster? Check out the <a href="https://ryandaniels.ca/blog/guide-to-wordpress-static-site/">Guide to WordPress as a Static Site</a>. And also this great post by <a rel="noreferrer noopener" aria-label="Mark S (opens in a new tab)" href="https://markosaric.com/speed-up-wordpress/" target="_blank">Mark Saric</a>.</p>



<p>Back to the fonts. Until <a rel="noreferrer noopener" aria-label="this issue (opens in a new tab)" href="https://core.trac.wordpress.org/ticket/48630" target="_blank">this issue</a> is resolved, the easiest work-around to remove the included font is to zero out the file. To do this, log in to your web server where WordPress runs. Go to the Twenty Twenty main theme and empty the font files.</p>



<pre class="wp-block-code"><code>$ cd ~/wp-content/themes/twentytwenty/assets/fonts/inter
$ &gt; Inter-italic-var.woff2
$ &gt; Inter-upright-var.woff2</code></pre>



<p><strong>This isn&#8217;t a very good option since the files will be restored when the theme is updated</strong>. Let&#8217;s hope that issue is fixed soon so it can be removed properly.</p>



<p>Another option is to edit the main Twenty Twenty theme&#8217;s style.css and style-rtl.css, but <strong>this is also not a good option since changes there will be overwritten when the theme is updated</strong>.</p>



<pre class="wp-block-code"><code>$ cd ~/wp-content/themes/twentytwenty/
$ sed -i 's,src: url(./assets/fonts/inter/Inter-upright-var.woff2) format("woff2");,,g' style*.css
$ sed -i 's,src: url(./assets/fonts/inter/Inter-italic-var.woff2) format("woff2");,,g' style*.css</code></pre>



<p>This removes the fonts from being embedded, on lines <a href="https://core.trac.wordpress.org/browser/branches/5.4/src/wp-content/themes/twentytwenty/style.css#L265" target="_blank" rel="noreferrer noopener">265</a> and <a href="https://core.trac.wordpress.org/browser/branches/5.4/src/wp-content/themes/twentytwenty/style.css#L273" target="_blank" rel="noreferrer noopener">273</a> (for current version of the theme in WordPress 5.4) of your style.css and style-rtl.css files.</p>



<h2 class="wp-block-heading" id="Remove-Twenty-Twenty-2.0-new-font-Noto-Serif">Remove Twenty Twenty 2.0 new font &#8211; Noto Serif</h2>



<p>The update for Twenty Twenty 2.0 <a href="https://themes.trac.wordpress.org/changeset?old_path=%2Ftwentytwenty%2F1.9&amp;old=174617&amp;new_path=%2Ftwentytwenty%2F2.0&amp;new=174617&amp;sfp_email=&amp;sfph_mail=#file36" target="_blank" rel="noreferrer noopener">added a new font</a> which is much larger than the previous font. And this is used because the above bloated embedded fonts are removed!</p>



<p>To remove this new font, called &#8220;Noto Serif&#8221;, edit your child theme <code>style.css</code> to add:</p>



<pre class="wp-block-code"><code>.entry-content {
  font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
  letter-spacing: normal;
}</code></pre>



<h2 class="wp-block-heading">Conclusion</h2>



<p>Now you have customized the Twenty Twenty theme! </p>



<p>It&#8217;s now easier to read and navigate because the headings don&#8217;t take up the entire page and your text isn&#8217;t squished into a tiny space. Goodbye massive fonts! The category was removed from the top, tags were removed from certain pages, and the excerpt is also gone from the top of every post! Lastly, it is also faster because the embedded fonts are removed.</p>



<p>Want to know more about making your WordPress website even faster? Check out the <a href="https://ryandaniels.ca/blog/guide-to-wordpress-static-site/">Guide to WordPress as a Static Site</a>.</p>
<p>The post <a href="https://ryandaniels.ca/blog/set-up-customize-wordpress-twenty-twenty/">How To Set Up And Customize WordPress Twenty Twenty Theme</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1823</post-id>	</item>
		<item>
		<title>Guide to WordPress as a Static Site</title>
		<link>https://ryandaniels.ca/blog/guide-to-wordpress-static-site/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Sat, 13 Jul 2019 18:21:41 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Guide]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<category><![CDATA[WordPress Security]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1672</guid>

					<description><![CDATA[<p><a href="https://ryandaniels.ca/blog/guide-to-wordpress-static-site/"><img class="alignleft size-thumbnail wp-image-1684" src="https://ryandaniels.ca/wp-content/uploads/2019/07/fast_motorcycle-300x145.jpg" alt="WordPress static html fast like this motorcycle" width="300" height="145" /></a>Running your own WordPress site can have it's challenges. What if you could have all the benefits of WordPress, and also all the benefits of a static site? WordPress as a static site is the answer.</p>
<p>The post <a href="https://ryandaniels.ca/blog/guide-to-wordpress-static-site/">Guide to WordPress as a Static Site</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="wp-image-1684 size-full aligncenter" src="https://ryandaniels.ca/wp-content/uploads/2019/07/fast_motorcycle.jpg" alt="WordPress static html fast like this motorcycle" width="1280" height="617" srcset="https://ryandaniels.ca/wp-content/uploads/2019/07/fast_motorcycle.jpg 1280w, https://ryandaniels.ca/wp-content/uploads/2019/07/fast_motorcycle-300x145.jpg 300w, https://ryandaniels.ca/wp-content/uploads/2019/07/fast_motorcycle-800x386.jpg 800w, https://ryandaniels.ca/wp-content/uploads/2019/07/fast_motorcycle-768x370.jpg 768w" sizes="auto, (max-width: 1280px) 100vw, 1280px" /></p>
<p>Running your own WordPress site can have it&#8217;s challenges. What if you could have all the benefits of WordPress, and also all the benefits of a static site? WordPress as a static site is the answer.</p>
<p>Why static HTML files? There are many benefits when serving your website as static HTML files. Here are just a few reasons:</p>
<ul>
<li>Speed &#8211; Static HTML files are much faster than generating a dynamic website on every page load. Page load times are so much faster!</li>
<li>Security &#8211; Avoid security issues that come with PHP and WordPress Plugins since there&#8217;s no way to access PHP or the Plugins.</li>
<li>Cost &#8211; Save money. You need a smaller server to host your website since less memory is required when using only HTML files.</li>
</ul>
<p>You could create a static site using a static website generator such as Jekyll, Hugo, or Pelican. But what if you already use WordPress? Or you like all the flexibility WordPress can give you?</p>
<p>A WordPress Plugin called <a href="https://wordpress.org/plugins/simply-static/" target="_blank" rel="noopener noreferrer">Simply Static</a> can turn your dynamic WordPress site into static HTML pages.</p>
<p>This lets you use your WordPress site as a development site. When changes or a new post is ready, run Simply Static to generate the static HTML files. Then your main site is just static HTML files.</p>
<p>Certain types of websites will be better as a WordPress static site. Others may not.</p>
<p>This <a href="https://www.brianshim.com/webtricks/wordpress-static-site-generator/" target="_blank" rel="noopener noreferrer">great post by Brian Shim</a> with more benefits and drawbacks is worth checking out.<br />
The main problem when turning WordPress into static HTML files is that anything dynamic will no longer work! If you&#8217;re not okay with that, there are a few fixes.</p>
<p>To build on Brian&#8217;s article, this was my experience and some workarounds for a short guide to WordPress as a Static Site.</p>
<p>Spoiler Alert: This site is using WordPress converted to static HTML files. It has been for the past 7 months. It&#8217;s really not that hard to set up if you have some experience with WordPress!</p>
<h2>How to setup WordPress as a Static Site</h2>
<p>As previously mentioned, follow this <a href="https://www.brianshim.com/webtricks/wordpress-static-site-generator/" target="_blank" rel="noopener noreferrer">great post by Brian Shim</a> first. Then follow these steps to create a WordPress static site.</p>
<h3>Site Search</h3>
<p>To get search working on your static WordPress site, check out my previous post: <a href="https://ryandaniels.ca/blog/wordpress-search-using-duckduckgo/">WordPress Search using DuckDuckGo</a>.</p>
<p>Then, add to Simply Static&#8217;s &#8220;URLs to Exclude&#8221;:<br />
<code>https://dev.example.com/search</code><br />
<code>https://dev.example.com/search/.*</code></p>
<ul>
<li>Check the option: <code><input checked="checked" disabled="disabled" name="excludable[3][do_not_follow]" type="checkbox" value="1" />Do not save </code></li>
<li>Check the option: <code><input checked="checked" disabled="disabled" name="excludable[3][do_not_save]" type="checkbox" value="1" />Do not follow </code></li>
</ul>
<h3>WordPress Permalinks</h3>
<p>Plain <a href="https://wordpress.org/support/article/using-permalinks/" target="_blank" rel="noopener noreferrer">WordPress Permalinks</a> are a problem (previously known as Ugly Permalinks). A normal dynamic WordPress site will figure out what to do with them by performing a database lookup. WordPress as a static site doesn&#8217;t have a database so your main page will be shown instead of the post.</p>
<p>Plain Permalinks look like this: <code>https://dev.example.com/?p=123</code><br />
Where <code>123</code> is the Post ID in WordPress.</p>
<p>Even if you don&#8217;t use Plain Permalinks, they can still show up on your site as a &#8220;shortlink&#8221;.<br />
Note: They are also present in your RSS feed pages, but they seem to have to affect.</p>
<p>It&#8217;s safer to just remove the shortlink reference from the posts. You can do this by modifying your theme. Add to your child theme&#8217;s functions.php:</p>
<pre><code>// Remove shortlink
remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0);</code></pre>
<p>Check that it is removed. On a post, make sure the source code doesn&#8217;t have something like this near the top:</p>
<pre><code>&lt;link rel='shortlink' href='https://dev.example.com/?p=123' /&gt;</code></pre>
<p>Something else to consider with shortlinks:</p>
<p>If your site is new, chances are nobody has been using the shortlinks. However, if not, you should add redirects to your web server (<a href="https://httpd.apache.org/" target="_blank" rel="noopener noreferrer">Apache</a> or <a href="https://nginx.org/en/" target="_blank" rel="noopener noreferrer">nginx</a>) configuration.</p>
<h3>RSS Feed</h3>
<p>Simply Static creates the /feed directory with an index.xml file inside. Your web server needs to know about it.</p>
<p>Modify your Apache or nginx configuration so the web server&#8217;s index search looks for xml files as well.</p>
<p>Apache: <code>DirectoryIndex index.html index.php index.xml</code></p>
<p>nginx: <code>index index.html index.htm index.xml;</code></p>
<p>Don&#8217;t forget to add your RSS Feed URL to Simply Static&#8217;s &#8220;Additional URLs&#8221;, for example:<br />
<code>https://dev.example.com/feed/</code></p>
<h3>AMP</h3>
<p>I use the <a href="https://wordpress.org/plugins/amp/" target="_blank" rel="noopener noreferrer">WordPress AMP Plugin</a> to generate AMP pages. There was an issue with an infinite loop of AMP pages. To be safe and avoid that, ignore any URLs inside a post&#8217;s AMP path.</p>
<p>For example, add to Simply Static&#8217;s &#8220;URLs to Exclude&#8221;: <code>https://dev.example.com/blog/.*/amp/.*</code></p>
<ul>
<li>Uncheck the option: <code><input disabled="disabled" name="excludable[3][do_not_follow]" type="checkbox" value="1" />Do not save </code></li>
<li>Check the option:   <code><input checked="checked" disabled="disabled" name="excludable[3][do_not_save]" type="checkbox" value="1" />Do not follow </code></li>
</ul>
<h3>Disable WordPress Update Services</h3>
<p>Not sure if this is still a thing.. but better to disable the <a href="https://codex.wordpress.org/Update_Services" target="_blank" rel="noopener noreferrer">WordPress Update Services</a>. Since your WordPress site is now used for development, nobody should know about it.</p>
<p>In the WordPress admin dashboard, go to: Settings -&gt; Writing&#8221; and delete everything in &#8220;Update Services&#8221;. Click &#8220;Save Changes&#8221;.</p>
<h2>Test Everything on your WordPress static site!</h2>
<p>Check your sitemaps, RSS feeds, some pages, some posts, archives, tags, and everything else mentioned above. Also check for 404 errors (pages not found).</p>
<p>You will probably have to add more items to Simply Static&#8217;s &#8220;Additional URLs&#8221;.</p>
<h2>Hide Your WordPress Site</h2>
<p>Very important! Now that WordPress is your development site, nobody should be able to access it. Don&#8217;t forget to add a password to your WordPress site with <a href="https://httpd.apache.org/docs/2.4/mod/mod_auth_basic.html" target="_blank" rel="noopener noreferrer">HTTP Basic Authentication for Apache</a> or for <a href="https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/" target="_blank" rel="noopener noreferrer">nginx</a>.</p>
<h2>Conclusion</h2>
<p>Your WordPress site is now converted to static HTML files. You can still have the benefits of WordPress to create your website, and also the benefits of static HTML files to improve speed, security, and reduce cost.</p>
<p>Want more speed? Do you still use the Apache web server? Stop using Apache and switch to nginx for even faster page load times!</p>
<p>The post <a href="https://ryandaniels.ca/blog/guide-to-wordpress-static-site/">Guide to WordPress as a Static Site</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1672</post-id>	</item>
		<item>
		<title>WordPress Search using DuckDuckGo</title>
		<link>https://ryandaniels.ca/blog/wordpress-search-using-duckduckgo/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Mon, 31 Dec 2018 21:01:28 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Guide]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1627</guid>

					<description><![CDATA[<p><a href="https://ryandaniels.ca/blog/wordpress-search-using-duckduckgo/"><img class="alignleft size-full wp-image-1630" src="https://ryandaniels.ca/wp-content/uploads/2018/12/duckduckgo.png" alt="WordPress search using DuckDuckGo search engine" width="250" height="200" /></a>WordPress has a built-in search feature which allows a site using self-hosted WordPress to search local pages and posts, and then display the results on the site. What if you want to use an external search engine like DuckDuckGo to do this instead?</p>
<p>The post <a href="https://ryandaniels.ca/blog/wordpress-search-using-duckduckgo/">WordPress Search using DuckDuckGo</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>WordPress has a built-in search feature which allows a site using self-hosted WordPress to search local pages and posts, and then display the results on the site. What if you want to use an external search engine to do this instead?</p>
<h2>Why use an external Search Engine?</h2>
<p>The Built-in WordPress search feature can be slow, and can cause performance issues if you run a large WordPress website.</p>
<p>Also, if you want to create a static website from your WordPress site you need to change the search feature to use an external search engine.</p>
<p>Important: This is for self-hosted WordPress websites, not a wordpress.com website.</p>
<h2>What Search Engine to use?</h2>
<p>There are a few options. The obvious choice is <a href="https://cse.google.com/cse/" target="_blank" rel="noopener noreferrer">Google Custom Search Engine</a>, because Google knows search.</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1630 aligncenter" src="https://ryandaniels.ca/wp-content/uploads/2018/12/duckduckgo.png" alt="DuckDuckGo search engine" width="250" height="200" />However, a more privacy friendly alternative would be beneficial to your users. Since unfortunately not all users are using <a href="https://ryandaniels.ca/blog/firefox-privacy-settings-made-easy/">Firefox for privacy</a> with a content blocking add-on. This is where <a href="https://duckduckgo.com/spread" target="_blank" rel="noopener noreferrer">DuckDuckGo</a> comes to the rescue.</p>
<h2>How to use WordPress Search using DuckDuckGo</h2>
<p>There&#8217;s a few options for adding a search box to your WordPress self-hosted website.</p>
<p>DuckDuckGo has <a href="https://duckduckgo.com/search_box" target="_blank" rel="noopener noreferrer">basic instructions</a> for adding a search box. More specific information for WordPress is below.</p>
<h3>Custom HTML widget</h3>
<p>The easiest way is to add a &#8220;Custom HTML&#8221; widget to wherever you need a search box.</p>
<pre><code>&lt;form action="https://duckduckgo.com/"&gt;
&lt;input type="hidden" id="sites" name="sites" value="ryandaniels.ca"&gt;
&lt;input type="search" placeholder="Search &amp;hellip;" value="" name="q" /&gt;
&lt;button type="submit" class="search-submit"&gt;&lt;/button&gt;&lt;/form&gt;
</code></pre>
<p>This is creating a form which is sent to DuckDuckGo search, using a hidden field with the value of your domain. Be sure to change it from &#8220;ryandaniels.ca&#8221;!</p>
<p>Of course, you will need to make some changes with CSS to make this fit into your theme.</p>
<p>Also be careful, other places could be using the built-in search, like on an error page. The next option solves this problem.</p>
<h3>Create a Search Page in WordPress</h3>
<p>If you are familiar with modifying WordPress themes this is the best and easiest method.</p>
<p>Create a custom search form (searchform.php file) using the <a href="https://codex.wordpress.org/Creating_a_Search_Page" target="_blank" rel="noopener noreferrer">WordPress Codex documentation</a>, and be sure to put it into your WordPress <a href="https://codex.wordpress.org/Child_Themes" target="_blank" rel="noopener noreferrer">child theme</a> folder. The benefit is there&#8217;s no need to mess around with CSS, and if your theme uses a search box on a 404 page, this will automatically work!</p>
<p>As an example, this is based on the <a href="https://wordpress.org/themes/twentyseventeen/" target="_blank" rel="noopener noreferrer">Twenty Seventeen WordPress theme</a>. In your &#8220;child theme&#8221; folder, create a new file called <code>searchform.php</code> with the contents:</p>
<pre><code>&lt;?php
/**
* Template for displaying search forms in Twenty Seventeen
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/

?&gt;

&lt;?php $unique_id = esc_attr( uniqid( 'search-form-' ) ); ?&gt;

&lt;!-- &lt;form role="search" method="get" class="search-form" action="&lt;?php echo esc_url( home_url( '/' ) ); ?&gt;"&gt; --&gt;
&lt;form role="search" method="get" class="search-form" action="https://duckduckgo.com/"&gt;
&lt;label for="&lt;?php echo $unique_id; ?&gt;"&gt;
&lt;span class="screen-reader-text"&gt;&lt;?php echo _x( 'Search for:', 'label', 'twentyseventeen' ); ?&gt;&lt;/span&gt;
&lt;/label&gt;
&lt;input type="hidden" id="sites" name="sites" value="&lt;?php echo esc_url( home_url() ); ?&gt;"&gt;
&lt;input type="search" id="&lt;?php echo $unique_id; ?&gt;" class="search-field" placeholder="&lt;?php echo esc_attr_x( 'Search &amp;hellip;', 'placeholder', 'twentyseventeen' ); ?&gt;" value="&lt;?php echo get_search_query(); ?&gt;" name="q" /&gt;
&lt;button type="submit" class="search-submit"&gt;&lt;?php echo twentyseventeen_get_svg( array( 'icon' =&gt; 'search' ) ); ?&gt;&lt;span class="screen-reader-text"&gt;&lt;?php echo _x( 'Search', 'submit button', 'twentyseventeen' ); ?&gt;&lt;/span&gt;&lt;/button&gt;
&lt;/form&gt;</code></pre>
<p>The only new or modified lines are the &#8220;&lt;form &#8230;&#8221; to tell the search box to use DuckDuckGo.<br />
The hidden input name to use your site.<br />
The search input name is now &#8220;q&#8221; instead of &#8220;s&#8221;.</p>
<p>Now anywhere on your site that uses a search box will use this new search form! You can add a search widget to your sidebar and it will go to DuckDuckGo.</p>
<h2>Use a WordPress Plugin</h2>
<p><a href="https://wordpress.org/plugins/wp-google-search/" target="_blank" rel="noopener noreferrer">WP Google Search</a><br />
<a href="https://duck.co/help/add-ons/wordpress" target="_blank" rel="noopener noreferrer">DuckDuckGo Plugin</a> (unfortunately no longer available)</p>
<h3>Other options</h3>
<p>These are other options, which probably aren&#8217;t a good idea. I&#8217;ll list them anyways. But just don&#8217;t.</p>
<p>Use <a href="https://httpd.apache.org/docs/current/howto/htaccess.html" target="_blank" rel="noopener noreferrer">.htaccess</a> to redirect the search query <code>yourdomain.com/?s=search</code> before it gets to WordPress. Since WordPress redirects searches to <code>/?s=search</code> (where search is the search text), you could use .htaccess redirects to catch the <code>/?s=</code> and do a redirect to an external search engine. Why this is a bad idea? Don&#8217;t have any root directory redirects, it could hurt your <a href="https://en.wikipedia.org/wiki/Search_engine_optimization" target="_blank" rel="noopener noreferrer">SEO</a> (used for search engine ranking). There&#8217;s also a performance impact having Apache (or nginx) web servers perform this operation on your root web directory!</p>
<p>Create a PHP page to do the redirect. This can also work, but unless you need more control of what&#8217;s sent to the external search engine, the other options work fine with less overhead.</p>
<h2>Conclusion</h2>
<p>Now you have created a custom search form on your WordPress site. You&#8217;ve reduced your overhead needed by WordPress and now have the option to <a href="https://ryandaniels.ca/blog/guide-to-wordpress-static-site/">setup a static WordPress website</a>!</p>
<p>Want to try a demo? Use the search box on my site! I created a custom search page in my WordPress theme.</p>
<p>The post <a href="https://ryandaniels.ca/blog/wordpress-search-using-duckduckgo/">WordPress Search using DuckDuckGo</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1627</post-id>	</item>
		<item>
		<title>How to Automatically Add Watermark using WordPress</title>
		<link>https://ryandaniels.ca/blog/how-to-add-watermark-wordpress/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Wed, 19 Aug 2015 16:36:51 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1534</guid>

					<description><![CDATA[<p><a href="//ryandaniels.ca/blog/how-to-add-watermark-wordpress/"><img src="https://ryandaniels.ca/wp-content/uploads/automatically_add_watermark_wordpress-300x169.jpg" alt="How to Automatically Add Watermark" width="300" height="169" class="alignleft size-thumbnail wp-image-1537" /></a>Most people have pictures on their website. If you don't have any pictures, you probably should! When these pictures are original works you don't want other people using them. Another reason to add a watermark is if you want your logo on your pictures so people can identify your brand.</p>
<p>The post <a href="https://ryandaniels.ca/blog/how-to-add-watermark-wordpress/">How to Automatically Add Watermark using WordPress</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-575" src="//ryandaniels.ca/wp-content/uploads/automatically_add_watermark_wordpress-800x450.jpg" alt="How to Automatically Add Watermark" width="800" height="450" /></p>
<p>Most people have pictures on their website. If you don&#8217;t have any pictures, you probably should! When these pictures are original works you don&#8217;t want other people using them. A watermark can help deter unwanted use of your pictures. Another reason to add a watermark is if you want your logo on your pictures so people can identify your brand.</p>
<p>One way to help do that is by adding a watermark. Using a WordPress Plugin, you can automatically add watermark to your pictures. This is the second post in the <a href="//ryandaniels.ca/blog/images-on-your-website/">Essential Guide to Images on your Website</a> series.</p>
<h2>Automatically Add Watermark</h2>
<p>I like the free WordPress plugin <a href="https://wordpress.org/plugins/easy-watermark/" target="_blank" rel="noopener noreferrer">Easy Watermark</a>. It has many options to use text or a picture for the watermark. It can also automatically apply the watermark to your picture when you upload it to WordPress. If you don&#8217;t want that, you can do a batch watermark on all your pictures or manually choose which existing pictures to watermark.</p>
<p>You might not want all images that WordPress automatically created to be watermarked. For example, the Thumbnail size is so small you might not want to see the watermark on it when reading your article. You only want the full size picture to have the watermark. Easy Watermark has the option to only apply the watermark to the image sizes you want.</p>
<p><a href="//ryandaniels.ca/wp-content/uploads/automatically_add_watermark_wordpress-easy_watermark_settings-general.png" rel="lightbox[1534]"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-798" src="//ryandaniels.ca/wp-content/uploads/automatically_add_watermark_wordpress-easy_watermark_settings-general-246x300.png" alt="How to Automatically Add Watermark using WordPress - Easy Watermark Settings General" width="246" height="300" /></a></p>
<p>&nbsp;</p>
<p>The settings I use so both portrait and landscape pictures look good with a watermark:</p>
<p><a href="//ryandaniels.ca/wp-content/uploads/automatically_add_watermark_wordpress-easy_watermark_settings-image.png" rel="lightbox[1534]"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-799" src="//ryandaniels.ca/wp-content/uploads/automatically_add_watermark_wordpress-easy_watermark_settings-image-155x300.png" alt="How to Automatically Add Watermark using WordPress - Easy Watermark Settings Image" width="155" height="300" /></a></p>
<p>&nbsp;</p>
<p>Notice I use an Image for the watermark. You can create the watermark image using <a href="http://www.getpaint.net/index.html" target="_blank" rel="noopener noreferrer">paint.net</a>. More about that tool in my next post about Image Optimization Guide. Be sure to use a PNG file with transparency, and you&#8217;ll be good to go.</p>
<h2>Wrapping Up</h2>
<p>Adding a watermark to a picture is simple using a free WordPress plugin. If you don&#8217;t want to use a plugin for this task, you can also manually add a watermark using your photo editing software of choice. I&#8217;d rather save some time and let WordPress handle the job!</p>
<p><div class="thebluebox">
<h2 style="text-align: center;">Need help with your website?<br /><br />
<a href="//ryandaniels.ca/contact/">How can I help you?</a></h2>
</div></p>
<p>The post <a href="https://ryandaniels.ca/blog/how-to-add-watermark-wordpress/">How to Automatically Add Watermark using WordPress</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1534</post-id>	</item>
		<item>
		<title>Stop iframe Content Theft</title>
		<link>https://ryandaniels.ca/blog/stop-iframe-content-theft/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Tue, 04 Aug 2015 14:06:36 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1520</guid>

					<description><![CDATA[<p><a href="//ryandaniels.ca/blog/stop-iframe-content-theft/"><img src="https://ryandaniels.ca/wp-content/uploads/stop_iframe_content_theft-1280x720-300x169.jpg" alt="Stop iframe Content Theft" width="300" height="169" class="alignleft size-medium wp-image-1524" /></a>Don't let your website be a victim of content theft!<br />
Stop other websites from using your website content with their message (overlay) over top.</p>
<p>Some websites offer a "service" to create their own call to action over top of any website. Why is this a problem? If some other person is using your content with their own call to action or ads on top it can appear that they created the content.</p>
<p>They are getting the benefit from your content. Some would consider that content theft. At best it's pretty shady.</p>
<p>The post <a href="https://ryandaniels.ca/blog/stop-iframe-content-theft/">Stop iframe Content Theft</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-447" src="//ryandaniels.ca/wp-content/uploads/stop_iframe_content_theft-1280x720-800x450.jpg" alt="Stop iframe Content Theft" width="800" height="450" /></p>
<p><strong>Don&#8217;t let your website be a victim of content theft!</strong><br />
Stop other websites from using your website content with their message (overlay) over top.</p>
<p>Some websites offer a &#8220;service&#8221; to create their own call to action over top of any website. Why is this a problem? If some other person is using your content with their own call to action or ads on top it can appear that they created the content.</p>
<p>They are getting the benefit from your content. Some would consider that content theft. <strong>At best it&#8217;s pretty shady</strong>.</p>
<h2>How to Stop iframe Content Theft</h2>
<p>To stop this, there are a few options.</p>
<ol>
<li>Add one line of code to your web server config or .htaccess file</li>
<li>Use a WordPress Plugin to add that one line of code</li>
<li>Use a WordPress Plugin to use JavaScript</li>
</ol>
<h3>One line of code</h3>
<p>The most efficient way to stop this is to add one line of code to your web server configuration file. This will block any website that is trying to use an <a href="https://en.wikipedia.org/wiki/HTML_element#Frames" target="_blank" rel="noopener noreferrer">iframe</a> to load your website. Don&#8217;t worry, it won&#8217;t break anything on your own website if internally you want to use an iframe.</p>
<p>In your root .htaccess file or Apache httpd.conf (/etc/apache2/httpd.conf) add this:</p>
<pre><code>Header always append X-Frame-Options SAMEORIGIN</code></pre>
<p>The SAMEORIGIN option means you can still use an iframe to load anything from your own website in an iframe.</p>
<h3>Plugin to add that one line of code</h3>
<p>There is another option if you can&#8217;t edit the .htaccess file or are not comfortable with that. You can install the <a href="https://wordpress.org/plugins/wp-noframenoclickjacking/" target="_blank" rel="noopener noreferrer">WP no-iFrames</a> plugin (free) to do this for you.</p>
<p>The above methods will completely block any website trying to use your content in an iframe. Some of these overlay &#8220;services&#8221; won&#8217;t even let a user create content from your website because it is now &#8220;<a href="https://sniply.zendesk.com/hc/en-us/articles/200878425-Why-doesn-t-Sniply-support-insert-site-" target="_blank" rel="noopener noreferrer">secure</a>&#8220;. Your content is now safe from this iframe content theft!</p>
<p>Here&#8217;s an example of what it now looks like when blocking the iframe content theft.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-717" src="//ryandaniels.ca/wp-content/uploads/stop_iframe_content_theft-example.png" alt="Stop iframe Content Theft - Example of Blocked website" width="645" height="440" /></p>
<h3>Plugin using JavaScript &#8211; Frame Buster</h3>
<p>A third option is using a bit of JavaScript to gracefully block any overlay, and then redirect the user to your website. <strong>This is a great way to still get the visitor to your website</strong> when a shady overlay website is trying to use your content. That will show them!</p>
<p>A free plugin called <a href="http://warfareplugins.com/frame-buster/?ref=158" target="_blank" rel="noopener noreferrer">Frame Buster</a> from Warfare Plugins can do this for you.</p>
<p>[Tweet &#8220;Don&#8217;t let your website be a victim of content theft&#8221;]</p>
<h2>Conclusion</h2>
<p>If you want a quick way to block content thieves from using an overlay on top of your content you can use one line of code to block them. No plugin needed.</p>
<p>However if you want to redirect that user to your own website and don&#8217;t mind using another plugin to do this, then Sniply Buster is for you.</p>
<p>Apparently only <a href="https://sniply.zendesk.com/hc/en-us/articles/200878425-Why-doesn-t-Sniply-support-insert-site-" target="_blank" rel="noopener noreferrer">1%</a> of websites are blocking these tools. <strong>Let&#8217;s get this number higher</strong>. Don&#8217;t let your website be a victim of content theft!<br />
<div class="thebluebox">
<h2 style="text-align: center;">Need help with your website?<br /><br />
<a href="//ryandaniels.ca/contact/">How can I help you?</a></h2>
</div></p>
<p>The post <a href="https://ryandaniels.ca/blog/stop-iframe-content-theft/">Stop iframe Content Theft</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1520</post-id>	</item>
		<item>
		<title>The Best WordPress Lightbox Plugin</title>
		<link>https://ryandaniels.ca/blog/best-wordpress-lightbox-plugin/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Tue, 28 Jul 2015 14:11:24 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1513</guid>

					<description><![CDATA[<p><a href="//ryandaniels.ca/blog/best-wordpress-lightbox-plugin/"><img src="//ryandaniels.ca/wp-content/uploads/best_wordpress_lightbox_plugin-1280x720-300x169.jpg" alt="Best WordPress Lightbox Plugin" width="300" height="169" class="alignleft size-medium wp-image-1517" /></a>Too many websites have a poor look and feel to them. The user experience of your website needs to be awesome.</p>
<p>One easy way to improve the user experience is by having your pictures displayed beautifully. How? In this post I'll talk about the best WordPress Lightbox plugin, and a few alternatives.</p>
<p>The post <a href="https://ryandaniels.ca/blog/best-wordpress-lightbox-plugin/">The Best WordPress Lightbox Plugin</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-414" src="//ryandaniels.ca/wp-content/uploads/best_wordpress_lightbox_plugin-1280x720-800x450.jpg" alt="Best WordPress Lightbox Plugin" width="800" height="450" /></p>
<p>Too many websites have a poor look and feel to them. The user experience of your website needs to be awesome.</p>
<p>One easy way to improve the user experience is by having your pictures displayed beautifully. How? In this post I&#8217;ll talk about the best WordPress Lightbox plugin, and a few alternatives. For other great plugins be sure to check out <a href="//ryandaniels.ca/blog/best-wordpress-plugins-start-blog/">The Best WordPress Plugins to Kick-Start your Blog</a>.</p>
<p>Ok, lets talk about Lightbox.</p>
<p>&nbsp;</p>
<p>A great way to improve your website is by having beautiful pictures that look even better when a user clicks on them and they open up smooth and seamlessly to a larger picture.</p>
<p>Being seamless is the key idea here. You don&#8217;t want a user to click on a picture and they are taken away from your website.</p>
<p>Here&#8217;s an example of what I mean:</p>
<p><figure id="attachment_681" aria-describedby="caption-attachment-681" style="width: 300px" class="wp-caption alignnone"><a href="//ryandaniels.ca/wp-content/uploads/wordpress_lightbox_plugin-long_road-1280x720.jpg" rel="nobox" rel="lightbox[1513]"><img loading="lazy" decoding="async" class="wp-image-681 size-medium" src="//ryandaniels.ca/wp-content/uploads/wordpress_lightbox_plugin-long_road-1280x720-300x169.jpg" alt="WordPress Lightbox Plugin - Long Road back" width="300" height="169" /></a><figcaption id="caption-attachment-681" class="wp-caption-text">No Lightbox effect. Bad user experience!</figcaption></figure></p>
<p>&nbsp;</p>
<p>You click on the above picture, and you are taken away from my website. The picture opens and to go back you need to click your back button. Hopefully you do click on your back button and continue reading this!</p>
<p><strong>That&#8217;s a problem.</strong> I&#8217;ve essentially left the website I was on to look at a picture. Will I come back? Will your visitor come back?</p>
<h2>How to fix this bad user experience?</h2>
<p>Lightbox has been around for several years. It is a way to display images (and video) by filling the user&#8217;s screen and dimming the rest of the webpage. (<a href="https://en.wikipedia.org/wiki/Lightbox_%28JavaScript%29" target="_blank" rel="noopener noreferrer">Thanks Wikipedia</a>)</p>
<h2>The Best WordPress Lightbox Plugin</h2>
<h3>WP jQuery Lightbox</h3>
<p>The <a href="https://wordpress.org/plugins/wp-jquery-lightbox/" target="_blank" rel="noopener noreferrer">WP jQuery Lightbox</a> (free) WordPress plugin is extremely simple to use. Just install it, change a few settings and everything else is automatic. All your pictures will automatically be displayed using Lightbox and look great.</p>
<p>Also, the resource usage is very light compared to other Lightbox plugins. Your website will continue to load fast for your visitors.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-680" src="//ryandaniels.ca/wp-content/uploads/wordpress_lightbox_plugin-WP_jQuery_Lightbox.png" alt="The Best WordPress Lightbox Plugin - WP jQuery Lightbox" width="649" height="430" /></p>
<p>&nbsp;</p>
<p>Give it a try now, with the Lightbox effect enabled. Doesn&#8217;t it look so much better than the first time you clicked on it? You can even have a caption displayed with the picture.</p>
<p><figure id="attachment_681" aria-describedby="caption-attachment-681" style="width: 300px" class="wp-caption alignnone"><a href="//ryandaniels.ca/wp-content/uploads/wordpress_lightbox_plugin-long_road-1280x720.jpg" rel="lightbox[1513]"><img loading="lazy" decoding="async" class="wp-image-681 size-medium" src="//ryandaniels.ca/wp-content/uploads/wordpress_lightbox_plugin-long_road-1280x720-300x169.jpg" alt="WordPress Lightbox Plugin - Long Road back. Much better with the WordPress Lightbox Plugin" width="300" height="169" /></a><figcaption id="caption-attachment-681" class="wp-caption-text">Lightbox effect in action. So much better!</figcaption></figure></p>
<h4>Two other alternatives:</h4>
<p><a href="https://wordpress.org/plugins/simple-lightbox/" target="_blank" rel="noopener noreferrer"> Simple Lightbox</a> (free). Also easy to use, but uses more JavaScript/code than WP jQuery Lightbox so it is heavier on resources and page loading time.<br />
<a href="https://wordpress.org/plugins/wp-lightbox-2/" target="_blank" rel="noopener noreferrer"> WP Lightbox 2</a> (free/premium). Has more options if you pay for it. Also needs more resources.</p>
<h3>These all work for pictures, but what about video?</h3>
<p>Another plugin to the rescue. <a href="https://wordpress.org/plugins/wp-video-lightbox/" target="_blank" rel="noopener noreferrer">WP Video Lightbox</a> (free) can handle youtube and vimeo videos in a Lightbox display. Is it worth adding another plugin to do this? In my opinion no, it is not needed. The built-in WordPress support for <a href="https://codex.wordpress.org/Embeds" target="_blank" rel="noopener noreferrer">embedding</a> works well enough.</p>
<h3>Notable mention</h3>
<p><a href="https://wordpress.org/plugins/grand-media/" target="_blank" rel="noopener noreferrer">Gmedia Gallery</a> (free) is another alternative which can do images and local video. The one nice thing about this plugin that I really like is the thumbnail view. <a href="http://codeasily.com/wordpress-plugins/gmedia-gallery/" target="_blank" rel="noopener noreferrer">It looks great</a>. If you need something more advanced this is the plugin to use.</p>
<p>[Tweet &#8220;Improve your website user experience. The Best #WordPress Lightbox Plugin&#8221;]</p>
<h2>Conclusion</h2>
<p>Adding the Lightbox effect to your WordPress website can really enhance your pictures and overall user experience. The best WordPress Lightbox plugin is WP jQuery Lightbox. It is easy to use, and light weight on resources and page loading time.</p>
<p>If you need something more advanced (with a very nice thumbnail view effect), try Gmedia Gallery.</p>
<p>What do you think about the Lightbox effect? Have you found a better plugin? Let me know in the comments.<br />
<div class="thebluebox">
<h2 style="text-align: center;">Need help with your website?<br /><br />
<a href="//ryandaniels.ca/contact/">How can I help you?</a></h2>
</div></p>
<p>The post <a href="https://ryandaniels.ca/blog/best-wordpress-lightbox-plugin/">The Best WordPress Lightbox Plugin</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1513</post-id>	</item>
		<item>
		<title>How to Update WordPress</title>
		<link>https://ryandaniels.ca/blog/how-to-update-wordpress/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Thu, 09 Jul 2015 13:58:27 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1503</guid>

					<description><![CDATA[<p><a href="//ryandaniels.ca/blog/how-to-update-wordpress/"><img src="//ryandaniels.ca/wp-content/uploads/how_to_update_wordpress-1280x720-300x169.jpg" alt="How to Update WordPress" width="300" height="169" class="alignleft size-medium wp-image-1509" /></a>In this post I'll discuss how to update WordPress. Along with why you need to stay current, and tips for knowing when to update.</p>
<p>&#160;</p>
<p>&#160;</p>
<p>The post <a href="https://ryandaniels.ca/blog/how-to-update-wordpress/">How to Update WordPress</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-372" src="//ryandaniels.ca/wp-content/uploads/how_to_update_wordpress-1280x720-800x450.jpg" alt="How to Update WordPress" width="800" height="450" /></p>
<p>In this post I&#8217;ll discuss how to update WordPress. Along with why you need to stay current, and tips for knowing when to update.</p>
<p>WordPress is a popular platform. With that popularity, sometimes it creates unwanted attention. Having a large number of websites all running the same software could create an easy target if there is a security vulnerability.</p>
<p>Don&#8217;t let your website fall behind with updates. Keeping WordPress up to date also helps to keep your WordPress site secure. Other important WordPress components I&#8217;ve mentioned before are <a href="//ryandaniels.ca/blog/what-is-wordpress/">plugins and your theme</a>. It is also recommended to keep those updated.</p>
<h2>3 reasons to update WordPress</h2>
<p><strong>Security</strong>, <strong>bug fixes</strong>, and <strong>new features</strong>.</p>
<p>You don&#8217;t want a bad guy getting into your website. Keeping WordPress up to date is a good start to reducing the risk.</p>
<p>The second and third benefits of keeping your WordPress installation updated: you also get all the bug fixes and new features from the WordPress core team and the plugin &amp; theme developers.</p>
<p>You want everything to be secure, running smooth and as efficient as possible.</p>
<h2>What to update? Your entire WordPress installation</h2>
<h3>WordPress core</h3>
<p>WordPress has a major and minor version number. Currently the WordPress version is 4.2.2. By default the major version is not automatically updated. However, the minor versions are. Any security patches are included in a minor version and <a href="https://codex.wordpress.org/Updating_WordPress" target="_blank" rel="noopener noreferrer">automatically updated</a>. Leaving this default behaviour is recommended.</p>
<h3>WordPress Plugins</h3>
<p>Plugins need to be updated manually (except in <a href="https://codex.wordpress.org/Configuring_Automatic_Background_Updates" target="_blank" rel="noopener noreferrer">special cases</a>).</p>
<h3>WordPress Themes</h3>
<p>Themes need to be updated manually (except in <a href="https://codex.wordpress.org/Configuring_Automatic_Background_Updates" target="_blank" rel="noopener noreferrer">special cases</a>).</p>
<h2>Know when to update WordPress</h2>
<p>By default, the only way to know an update is available is when you log in to your WordPress website. At the top of the WordPress Admin Screens is a bar telling you to there&#8217;s an update.</p>
<p><img loading="lazy" decoding="async" class=" wp-image-630 size-full alignnone" src="//ryandaniels.ca/wp-content/uploads/how_to_update_wordpress-admin_bar.png" alt="How to Update WordPress - Admin Bar notification" width="411" height="53" /></p>
<h3>Plugin to notify you by email</h3>
<p>It&#8217;s not always possible to check for updates regularly. <a href="https://wordpress.org/plugins/wp-updates-notifier/" target="_blank" rel="noopener noreferrer">WP Updates Notifier</a> is a useful plugin to let you know (by email) when there is an update available for the WordPress core, plugins or themes. Set how often to check for updates, enter your email, and notify on all plugin and theme updates. That&#8217;s it!</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-389" src="//ryandaniels.ca/wp-content/uploads/how_to_update_wordpress-updates_notifier_plugin.png" alt="How to Update WordPress - WP Updates Notifier" width="600" height="377" /></p>
<h2>How to update WordPress</h2>
<p>You need to be careful when you update the WordPress core, plugins and themes. You don&#8217;t want an update to break your website. It&#8217;s best to manually update them.</p>
<p>Here are the steps you can follow when there&#8217;s an update available:</p>
<ol>
<li><strong>Backup</strong> <em>development</em> website and <strong>verify</strong> the backup works</li>
<li><strong>Update</strong> WordPress <em>development</em> website</li>
<li><strong>Test</strong> website functionality</li>
</ol>
<p>Hopefully all goes well. Do the exact same thing on your <strong>production</strong> website:</p>
<ol>
<li><strong>Backup</strong> <em>production</em> website and <strong>verify</strong> the backup works</li>
<li><strong>Update</strong> WordPress <em>production</em> website</li>
<li><strong>Test</strong> website functionality</li>
</ol>
<p>It is always better to update your development site first. This way you can test for any issues without the risk of breaking your &#8220;production&#8221; website. Make sure you <a href="//ryandaniels.ca/blog/how-to-make-wordpress-backup/">make a backup</a> first and verify it works! Sometimes testing on a development website isn&#8217;t possible all the time. In this case, make sure you at least have a backup so you can rollback to a working state.</p>
<p>[Tweet &#8220;How to Update #WordPress&#8221;]</p>
<h2>Conclusion</h2>
<p>Keeping everything in your WordPress installation updated is a great start to keeping your website secure and running smoothly. Use your development environment first to test the new update and then perform the update on your production website. Don&#8217;t forget to make a backup.<br />
<div class="thebluebox">
<h2 style="text-align: center;">Need help with your website?<br /><br />
<a href="//ryandaniels.ca/contact/">How can I help you?</a></h2>
</div></p>
<p>The post <a href="https://ryandaniels.ca/blog/how-to-update-wordpress/">How to Update WordPress</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1503</post-id>	</item>
		<item>
		<title>How to Make a WordPress Backup</title>
		<link>https://ryandaniels.ca/blog/how-to-make-wordpress-backup/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Mon, 29 Jun 2015 14:15:50 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1494</guid>

					<description><![CDATA[<p><a href="//ryandaniels.ca/blog/how-to-make-wordpress-backup/"><img class="alignleft size-medium wp-image-350" src="//ryandaniels.ca/wp-content/uploads/How_to_Make_a_WordPress_Backup-1280x720-300x169.jpg" alt="How to Make a WordPress Backup" width="300" height="169" class="alignnone size-thumbnail wp-image-1496" /></a>In this post I'll talk about how to make a WordPress backup for your website.</p>
<p>&#160;</p>
<p>&#160;</p>
<p>The post <a href="https://ryandaniels.ca/blog/how-to-make-wordpress-backup/">How to Make a WordPress Backup</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-349" src="//ryandaniels.ca/wp-content/uploads/How_to_Make_a_WordPress_Backup-1280x720-800x450.jpg" alt="How to Make a WordPress Backup" width="800" height="450" /></p>
<p>In this post I&#8217;ll talk about how to make a WordPress backup for your website.</p>
<p>Nobody wants their website to go down. But if it does you will need a backup of your website to get up and running. Don&#8217;t get stuck in a situation of being without a backup when disaster strikes.</p>
<p>Did you make a change and lock yourself out? Did you make a change and the only way to go back is from a backup? Make sure you have a WordPress backup!</p>
<h2>What is a WordPress Backup?</h2>
<p>Creating a scheduled backup is one of the most important maintenance tasks you can perform. Most hosting providers (including <a href="//ryandaniels.ca/go/siteground/" target="_blank" rel="nofollow noopener noreferrer">SiteGround</a>) offer an option to back up your WordPress website. However, just to be safe (and so you can quickly have access to your backups), you should also take your own backups.</p>
<p>There are two items you need: Your <strong>database</strong> and the <strong>files</strong> on your website. The database contains all of your posts, pages, links, etc. The files contain the core WordPress installation, all of your plugins, themes, and pictures.</p>
<p>How often you perform a backup is up to you. If you post once a week, then a weekly backup is probably enough. If you have a very busy website and you post more often, you&#8217;ll also want to create backups more often. Think of it this way, realistically, how much data are you willing to lose?</p>
<p>Also, be sure to store your backups in two or three places. Only keeping them on your local computer isn&#8217;t recommended. It&#8217;s best to keep a backup in a few places, including on your local computer, &#8220;in the cloud&#8221;, and in your email (if size permits). By keeping backups in multiple locations you can ensure at least one will be available.</p>
<h3>File Backup</h3>
<p>The files on your website can be very large. So emailing them isn&#8217;t an option. To easily backup your files, I recommend the free plugin <a href="https://wordpress.org/plugins/wordpress-backup-to-dropbox/" target="_blank" rel="noopener noreferrer">WordPress Backup to Dropbox</a>. It gives you the option to specify how often you want to take a backup. Plus, once your files are on Dropbox, you can copy them to your local computer so you store your backup in a few places.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-341" src="//ryandaniels.ca/wp-content/uploads/backup_wordpress_website-wp_to_dropbox.jpg" alt="Take a WordPress backup with WordPress to Dropbox" width="600" height="641" /></p>
<h3>Database Backup</h3>
<p>Backing up your database is just as important as backing up the files on your website. An easy solution to back up your database is the free plugin <a href="https://wordpress.org/plugins/wp-dbmanager/" target="_blank" rel="noopener noreferrer">WP-DBManager</a>. You can set a schedule to send the database backup as an email. The database backup size shouldn&#8217;t be too big so emailing it won&#8217;t be a problem.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-342" src="//ryandaniels.ca/wp-content/uploads/backup_wordpress_website-WP-DBManager.jpg" alt="Backup WordPress website with WP-DBManager" width="600" height="127" /></p>
<h3>Premium Solution for File and Database Backups</h3>
<p>The last option I recommend is <a href="https://vaultpress.com/" target="_blank" rel="noopener noreferrer">VaultPress</a>. They offer premium solutions starting at $5/month. If you don&#8217;t mind spending $5 per month this option is even easier than the above mentioned plugins. In addition, if you use the Jetpack plugin (which <a href="//ryandaniels.ca/blog/best-wordpress-plugins-start-blog/">you really should</a>) there is already built-in integration with VaultPress so you don&#8217;t need to install another plugin.</p>
<h2>Conclusion</h2>
<p>Keeping a recent WordPress backup will save the day if your website goes down. Having a simple solution is important to ensure you have a WordPress backup and the above solutions will give you that simplicity.</p>
<p>If you don&#8217;t have a WordPress backup yet, create one right now!<br />
<div class="thebluebox">
<h2 style="text-align: center;">Need help with your website?<br /><br />
<a href="//ryandaniels.ca/contact/">How can I help you?</a></h2>
</div></p>
<p>The post <a href="https://ryandaniels.ca/blog/how-to-make-wordpress-backup/">How to Make a WordPress Backup</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1494</post-id>	</item>
		<item>
		<title>Find Broken Links on your Website</title>
		<link>https://ryandaniels.ca/blog/find-broken-links-on-your-website/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Wed, 24 Jun 2015 13:44:07 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1487</guid>

					<description><![CDATA[<p><a href="//ryandaniels.ca/blog/find-broken-links-on-your-website/"><img src="//ryandaniels.ca/wp-content/uploads/find_broken_links_on_your_website-1280x720-300x169.jpg" alt="How to Find Broken Links on your Website" width="300" height="169" class="alignleft size-medium wp-image-1490" /></a>In this post I'll show you how to find broken links on your website and fix them.</p>
<p>&#160;</p>
<p>&#160;</p>
<p>The post <a href="https://ryandaniels.ca/blog/find-broken-links-on-your-website/">Find Broken Links on your Website</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-315" src="//ryandaniels.ca/wp-content/uploads/find_broken_links_on_your_website-1280x720-800x450.jpg" alt="How to Find Broken Links on your Website" width="800" height="450" /></p>
<p>Nobody likes to click on a link and get an error page. It&#8217;s frustrating, and as a website visitor you usually just give up.</p>
<p>Picture this, as a website owner, you want your customer to go to a great post about something amazing but, instead, your reader gets the dreaded <a href="https://en.wikipedia.org/wiki/HTTP_404" target="_blank" rel="noopener noreferrer">404</a> error page. Odds are, they gave up after that error and left your website. That&#8217;s not good for anyone.</p>
<p>Another problem with broken links is that search engines don&#8217;t like them. You need search engines to show your webpages to potential customers, and it&#8217;s more difficult for search engines if the internal link is broken.</p>
<p>In this post I&#8217;ll show you how to find broken links on your website and fix them.</p>
<h2>How to Find Broken Links</h2>
<p>It&#8217;s important to regularly check for broken links on your site.</p>
<p>To find broken links on your website you can:</p>
<ul>
<li>Manually check</li>
<li>Use an external tool</li>
<li>Use a WordPress Plugin</li>
</ul>
<p>Let&#8217;s take a look at each option.</p>
<h3>Manually check</h3>
<p>To find broken links on your website you could manually click on every link on your entire website. However, this could be very time consuming to do on a regular basis.</p>
<p>There is one time when you should actually do a quick manual check. That should be done before you post a new article or page.</p>
<h3>Use an external tool</h3>
<p>Instead of clicking on every link on your website, you can use a tool to find broken links for you.</p>
<p>The best way to check is using a tool like <a href="http://validator.w3.org/checklink" target="_blank" rel="noopener noreferrer">Link Checker</a> by W3C. Enter your website address, and it will scan your webpage to find broken links. The results the tool finds will be displayed so you can take action to fix them.</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-602 alignnone" src="//ryandaniels.ca/wp-content/uploads/How_to_Find_Broken_Links-Link_Checker.png" alt="How to Find Broken Links - Link Checker" width="600" height="486" /></p>
<p>Another tool to help find broken links is <a href="https://www.google.com/webmasters/tools/crawl-errors" target="_blank" rel="noopener noreferrer">Google Webmaster Tools</a>. Under the section &#8220;Crawl &gt; Crawl Errors&#8221; you can see which pages had errors from Google trying to index your website.</p>
<h3>Use a WordPress Plugin</h3>
<p>One other option is to use a WordPress plugin. If your goal is to limit your plugins (and it should be!) then I recommend manually checking for broken links every month using the above two tools. But if you really must, you can try the <a href="https://wordpress.org/plugins/broken-link-checker/" target="_blank" rel="noopener noreferrer">Broken Link Checker</a> plugin.</p>
<h2>How to Fix Broken Links</h2>
<h3>Internal Broken Links</h3>
<p>As an example: If you change a category name or your &#8220;About&#8221; page to &#8220;About-Us&#8221; you could have internal broken links, but it may not show up with the previous tools. This happens if other people use the old links to get to your website.</p>
<p>To easily fix this scenario, use the plugin <a href="https://wordpress.org/plugins/redirection/" target="_blank" rel="noopener noreferrer">Redirection</a> to create a 301 Redirect rule from the old (broken) link to the new internal link. It&#8217;s best to do this right after you make the change in the category &#8220;slug&#8221; (the URL-friendly version of the name) for example.</p>
<p>The Redirection plugin is great for fixing internal broken links.</p>
<p>This plugin can also show you how many 404 errors your website has after it has been running long enough to collect the data.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-603" src="//ryandaniels.ca/wp-content/uploads/How_to_Fix_Broken_Links-Redirection.png" alt="How to Fix Broken Links - Redirection Plugin" width="600" height="154" /></p>
<h3>External Broken Links</h3>
<p>Another example is if you make a typo in a link to an external website. If this is the case using the previous tools like <a href="http://validator.w3.org/checklink" target="_blank" rel="noopener noreferrer">Link Checker</a> by W3C would identify this and you will need to edit your post to correct the broken link.</p>
<h2>Conclusion</h2>
<p>Finding broken links on your website is all part of maintaining your website. It&#8217;s not the most exiting task in the world, but it&#8217;s something that needs to be done. Lucky for us there are tools available to help automate the job.</p>
<p>What methods do you use to find broken links on your site? Leave a comment and let me know.<br />
<div class="thebluebox">
<h2 style="text-align: center;">Need help with your website?<br /><br />
<a href="//ryandaniels.ca/contact/">How can I help you?</a></h2>
</div></p>
<p>The post <a href="https://ryandaniels.ca/blog/find-broken-links-on-your-website/">Find Broken Links on your Website</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1487</post-id>	</item>
		<item>
		<title>How to Choose a WordPress Theme for your Blog or Website</title>
		<link>https://ryandaniels.ca/blog/best-wordpress-themes/</link>
		
		<dc:creator><![CDATA[Ryan Daniels]]></dc:creator>
		<pubDate>Sun, 07 Jun 2015 15:31:25 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Guide]]></category>
		<category><![CDATA[WordPress How To]]></category>
		<category><![CDATA[WordPress Training]]></category>
		<guid isPermaLink="false">https://ryandaniels.ca/?p=1464</guid>

					<description><![CDATA[<p><a href="//ryandaniels.ca/blog/best-wordpress-themes/"><img class="alignleft wp-image-1467 size-full" src="//ryandaniels.ca/wp-content/uploads/how_to_choose_a_wordpress_theme-1280x720-300x169.jpg" alt="How to choose a WordPress Theme" width="300" height="169" /></a>In this post I will take a close look at all of the things you need to consider when choosing a WordPress Theme. I will also provide you with some of my picks for the best WordPress themes.</p>
<p>&#160;</p>
<p>The post <a href="https://ryandaniels.ca/blog/best-wordpress-themes/">How to Choose a WordPress Theme for your Blog or Website</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-457" title="How to Choose a WordPress Theme" src="//ryandaniels.ca/wp-content/uploads/how_to_choose_a_wordpress_theme-1280x720-800x450.jpg" alt="Best WordPress Themes" width="800" height="450" /></p>
<p>In this post I will take a close look at all of the things you need to consider when choosing a WordPress Theme. I will also provide you with some of my picks for the best WordPress themes.</p>
<p>Imagine this, you have the greatest content on your website (or plan to shortly) and really think everyone should be reading it. The problem is, people aren&#8217;t paying attention. You get a few visitors but nothing like what you expect. You want to be getting tons of traffic to your website.</p>
<p>What could be the problem? Does your website look like it was made 10 years ago? Is it too boring or distracting? Choosing the best WordPress theme for your website can make all the difference to present your content in a stunning way.</p>
<p>Now that you have a good understanding of <a href="//ryandaniels.ca/blog/what-is-wordpress/">what WordPress is</a>, and <a href="//ryandaniels.ca/blog/how-to-start-a-blog/">how to start a blog</a> from my previous posts, we need to talk about how to choose a WordPress theme.</p>
<h2>Purpose of your website or blog</h2>
<p>This is the first and most important question because you want a WordPress theme that will compliment the purpose of your website or blog.</p>
<p><strong>What is your website for?</strong></p>
<p><strong>What do you want it to achieve?</strong></p>
<p>If you are a photographer you&#8217;ll want a theme that offers a place to showcase your beautiful photographs.<br />
If you are a local business you will want a clean look with an area for a map and address, along with a contact form and an about section.</p>
<h2>Budget &#8211; Free Theme or Premium Theme</h2>
<p>The next decision to make is a <strong>Free or Premium theme</strong>?</p>
<p>There are many free themes and the best part is they are free! However, some downsides are that free themes aren&#8217;t always maintained or updated. Another thing to consider is how much you want to customize the theme. Is there documentation for it? And lastly, will there be support for it?</p>
<p>Premium themes are not too expensive, usually around $50 (a one-time fee). Plus, they are well maintained, documented, and offer support. More on that in a bit.</p>
<h2>Theme Features to Look For</h2>
<p>Now that you have your website goal established and an idea for a budget, you need to decide what features you require in a WordPress theme and begin to research options.</p>
<p>A few things to <strong>keep in mind while researching</strong> for a new design:</p>
<h4>&gt;&gt; Visual Appeal</h4>
<p>Is the theme visually appealing to you and does it match the look you want to achieve for the purpose of your website?</p>
<h4>&gt;&gt; Theme Functionality and Customization Options</h4>
<p>Can you easily modify the look of the theme, including the colours and number of columns? Can you move elements around easily?</p>
<h4>&gt;&gt; Responsiveness</h4>
<p>Make sure the theme offers mobile responsiveness. This is important because many people now use their tablets or phones to view sites instead of a computer with a large monitor. You need to make sure your website will look nice on every device. Most recent WordPress Themes have this functionality.<br />
Sites like <a href="https://www.browserstack.com/responsive" target="_blank" rel="noopener noreferrer">BrowserStack</a> and <a href="http://mattkersley.com/responsive/" target="_blank" rel="noopener noreferrer">Matt Kersley&#8217;s Responsive Design testing</a> and <a href="https://www.google.com/webmasters/tools/mobile-friendly/" target="_blank" rel="noopener noreferrer">Google’s Mobile Friendly test</a> can help test this.</p>
<p>Also, confirm the theme works across all web browsers (Chrome, Firefox, Safari, Internet Explorer). A site like <a href="https://www.browserling.com/" target="_blank" rel="noopener noreferrer">browserling</a> can help test this.</p>
<h4>&gt;&gt; Support and Documentation</h4>
<p>It can be difficult to figure out if the developer provides a good level of support. Check the theme&#8217;s support forum and try to determine how fast questions are answered. Also, consider when the theme was last updated, and how often it has been updated.<br />
The theme should have documentation available so it will be easy to understand how to make any changes.<br />
Plus, check how other people rate the theme from reviews.</p>
<h2>Research and Explore WordPress Themes</h2>
<p>Now that you have all of these things in mind when looking for a WordPress theme, it&#8217;s time to start exploring.</p>
<p>Here are a few places you can find free and premium themes:</p>
<ul>
<li><a href="https://wordpress.org/themes/" target="_blank" rel="noopener noreferrer">Themes from WordPress</a> (Free)</li>
<li><a href="//ryandaniels.ca/go/studiopress/" target="_blank" rel="nofollow noopener noreferrer">StudioPress</a> (Premium)</li>
<li><a href="//ryandaniels.ca/go/mythemeshop/" target="_blank" rel="nofollow noopener noreferrer">My Theme Shop</a> (Free &amp; Premium)</li>
<li><a href="http://themeforest.net/" target="_blank" rel="noopener noreferrer">Theme Forest</a> (Premium)</li>
<li><a href="http://www.elegantthemes.com/" target="_blank" rel="noopener noreferrer">Elegant Themes</a> (Premium)</li>
</ul>
<div class="thebluebox">
<h2 style="text-align: center;">Need help with your website or blog?</h2>
<h2 style="text-align: center;"><a href="//ryandaniels.ca/contact/" target="_blank" rel="noopener noreferrer">How can I help you?</a></h2>
</div>
<h2>Recommended Themes</h2>
<p>Like I mentioned above, everyone will have a different purpose and different goals for their website. With that being said, here are a few themes that I recommend for a starting point.</p>
<h3>Best WordPress Themes that are Free</h3>
<h4>Multipurpose theme: <em>Point Theme</em></h4>
<p>Easy to customize because it has tons of options including changing the colours, sidebar location, add custom CSS, add a logo, add custom header code. It also has built-in Ad space options, about the author and related posts section. The <a href="//ryandaniels.ca/go/mythemeshop-point/" target="_blank" rel="nofollow noopener noreferrer">Point Theme</a> is mobile friendly (responsive) and looks great.</p>
<p><a href="//ryandaniels.ca/go/mythemeshop-point/" target="_blank" rel="nofollow noopener noreferrer"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-497" src="//ryandaniels.ca/wp-content/uploads/point.jpg" alt="How to Choose a WordPress theme free - Point Theme" width="800" height="709" /></a></p>
<p>Check out the <a href="//ryandaniels.ca/go/mythemeshop-point/" target="_blank" rel="nofollow noopener noreferrer">Point Theme</a>.</p>
<h4>Blog or Business: <em>Zerif Lite Theme</em></h4>
<p>Great theme for a Blog or a Business. The <a href="https://wordpress.org/themes/zerif-lite/" target="_blank" rel="noopener noreferrer">Zerif Lite Theme</a> offers a customizable footer section so you can include your business phone number and address, a nice &#8220;About Us&#8221; section to put your business and a built-in section for Testimonials. It&#8217;s also mobile responsive and has a lot of documentation.</p>
<p><a href="https://wordpress.org/themes/zerif-lite/" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-498" src="//ryandaniels.ca/wp-content/uploads/zerif.jpg" alt="Best Blog Themes for WordPress - Zerif Theme" width="800" height="709" /></a></p>
<p>Check out the <a href="https://wordpress.org/themes/zerif-lite/" target="_blank" rel="noopener noreferrer">Zerif Lite Theme</a>.</p>
<h3>Best WordPress Themes that are Premium</h3>
<h4>Photography theme: <em>Ambiance Pro Theme</em></h4>
<p>Puts your photography in the spotlight by using a grid with the featured picture as a background for the post. The <a href="//ryandaniels.ca/go/studiopress-ambiance/" target="_blank" rel="nofollow noopener noreferrer">Ambiance Pro Theme</a> also offers options for custom headers, landing pages, and is mobile responsive.</p>
<p><a href="//ryandaniels.ca/go/studiopress-ambiance/" target="_blank" rel="nofollow noopener noreferrer"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-494" src="//ryandaniels.ca/wp-content/uploads/ambiance.jpg" alt="Best Photography WordPress Themes - Ambiance Theme" width="800" height="709" /></a></p>
<p>Check out the <a href="//ryandaniels.ca/go/studiopress-ambiance/" target="_blank" rel="nofollow noopener noreferrer">Ambiance Pro Theme</a>.</p>
<h4>Food Blog: <em>Foodie Pro Theme</em></h4>
<p>A Foog Blog or website needs to pull in the viewer with their pictures. <a href="//ryandaniels.ca/go/studiopress-foodie/" target="_blank" rel="nofollow noopener noreferrer">Foodie Pro Theme</a> is another great theme that can also be used for a Photography website. Options include a built-in slider to feature your pictures, customizable &#8220;About Me section&#8221;, Ad space, easy to change the fonts, and mobile responsiveness.</p>
<p><a href="//ryandaniels.ca/go/studiopress-foodie/" target="_blank" rel="nofollow noopener noreferrer"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-496" src="//ryandaniels.ca/wp-content/uploads/foodie_pro.jpg" alt="Best Food WordPress Themes - Foodie Pro Theme" width="800" height="709" /></a></p>
<p>Check out the <a href="//ryandaniels.ca/go/studiopress-foodie/" target="_blank" rel="nofollow noopener noreferrer">Foodie Pro Theme</a>.</p>
<h4>Business: <em>Architect Theme</em></h4>
<p>The <a href="//ryandaniels.ca/go/mythemeshop-architect/" target="_blank" rel="nofollow noopener noreferrer">Architect Theme</a> is perfect for a business. It has a Testimonials section and a Projects/Portfolio page. Other options include CSS animation to get a visitor&#8217;s attention, Google Maps to highlight your location, and a contact form. Documentation is available to help you along the way and support is included.</p>
<p><a href="//ryandaniels.ca/go/mythemeshop-architect/" target="_blank" rel="nofollow noopener noreferrer"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-495" src="//ryandaniels.ca/wp-content/uploads/architect.jpg" alt="Best WordPress Themes Premium - Architect Theme" width="800" height="709" /></a></p>
<p>Check out the <a href="//ryandaniels.ca/go/mythemeshop-architect/" target="_blank" rel="nofollow noopener noreferrer">Architect Theme</a>.</p>
<h2>Need Help?</h2>
<p>Feel free to <a href="//ryandaniels.ca/contact/">contact</a> me if you need any help choosing, configuring or customizing your WordPress Theme. <strong>Make sure your website stands out from all the rest.</strong> <a href="//ryandaniels.ca/contact/">I can help!</a></p>
<p><div class="thebluebox">
<h2 style="text-align: center;">Need help with your website?<br /><br />
<a href="//ryandaniels.ca/contact/">How can I help you?</a></h2>
</div></p>
<p>Be sure to check out the next article: <a href="//ryandaniels.ca/blog/best-wordpress-plugins-start-blog/">The Best WordPress Plugins to Kick-Start your Blog</a>.</p>
<p>The post <a href="https://ryandaniels.ca/blog/best-wordpress-themes/">How to Choose a WordPress Theme for your Blog or Website</a> appeared first on <a href="https://ryandaniels.ca/">Ryan Daniels</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1464</post-id>	</item>
	</channel>
</rss>
