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

<channel>
	<title>Tracey Jones, Author at Tricky Enough</title>
	<atom:link href="https://www.trickyenough.com/author/tracey/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.trickyenough.com/author/tracey/</link>
	<description>Explore and Share the Tech</description>
	<lastBuildDate>Fri, 08 Nov 2024 09:05:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.trickyenough.com/wp-content/uploads/2021/05/favicon-32x32-1.png</url>
	<title>Tracey Jones, Author at Tricky Enough</title>
	<link>https://www.trickyenough.com/author/tracey/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">100835972</site>	<item>
		<title>WordPress Child Themes: What, Why, and How</title>
		<link>https://www.trickyenough.com/wordpress-child-themes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-child-themes</link>
					<comments>https://www.trickyenough.com/wordpress-child-themes/#comments</comments>
		
		<dc:creator><![CDATA[Tracey Jones]]></dc:creator>
		<pubDate>Thu, 05 May 2016 18:19:16 +0000</pubDate>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[WordPress Child Themes]]></category>
		<category><![CDATA[WordPress themes]]></category>
		<guid isPermaLink="false">https://www.trickyenough.com/?p=687</guid>

					<description><![CDATA[<p>Are you using WordPress and not aware of the WordPress Child Themes? Are you making changes every time with your theme when it is updated? Then it&#8217;s time to know about the WordPress Child Themes. I have already written a post on WordPress Theme Frameworks in a different post, so it will be better to...</p>
<p>The post <a href="https://www.trickyenough.com/wordpress-child-themes/">WordPress Child Themes: What, Why, and How</a> appeared first on <a href="https://www.trickyenough.com">Tricky Enough</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Are you using WordPress and not aware of the WordPress Child Themes?</p>
<p>Are you making changes every time with your theme when it is updated?</p>
<p>Then it&#8217;s time to know about the <strong>WordPress Child Themes</strong>.</p>
<p>I have already written a post on <a href="https://www.trickyenough.com/free-wordpress-themes-for-blogging/">WordPress Theme</a> Frameworks in a <a href="https://gauravtiwari.org/2016/02/21/wordpress-theme-frameworks/" rel="nofollow">different post</a>, so it will be better to check it out first if you have no knowledge about it.</p>
<p>WordPress developed the concept of parent/child themes and integrated it into the core <em>specifically </em>to take care of theme upgrade and customization issues. Theme frameworks like Genesis are based on WordPress’ child theme feature.</p>
<p>Now a child theme is one of the simplest things to grasp on WordPress, so there’s no reason to frown like that. A child theme, as defined by WordPress, is “a theme that inherits the functionality of another theme (aka parent theme).”</p>
<p>Let’s simplify this even more:</p>
<p><strong>Recommended:</strong></p>
<p><a href="https://www.trickyenough.com/why-use-wordpress/">Best reason to use WordPress for your website or blog?</a></p>
<p><a href="https://www.trickyenough.com/wordpress-vs-blogspot/" rel="noopener">Learn the Difference Between WordPress and Blogspot.</a></p>
<h2>What is a Child Theme?</h2>
<p>Essentially it’s just a theme based off of <em>another </em>complete Theme. Think of it as a paint job over a car (credit goes to Studiopress for the analogy). The default car, with all its features and interior (as manufactured), is the parent theme. The modifications made <em>over </em>those, without irreparably changing the default car (new paint, alloy wheels, seat warmers… Wow I’m getting off topic) is your child theme.</p>
<p>The minimum requirement for a child theme is a directory (theme folder) named after the parent theme, and consisting of two files – <em>style.css</em> and <em>functions.php</em>. Other files can be created with the same name as parent theme if you want the child theme to override those files in parent theme when processed.</p>
<h2>Why Use a Child Theme?</h2>
<p>You like your current theme, but you wish it could do a bit…more. You want to jazz it up your way, or maybe add some features/code snippets to it.</p>
<p>That’s when child themes come into play.</p>
<p>While making those same changes right within your original theme files would be your first instinct (cut out the middleman, in this case – child theme, so to speak), those changes will be overwritten anytime the theme is updated.</p>
<p>A child theme, on the other hand, gives you an ‘overlay’ to work with while preserving the integrity of your original Theme.</p>
<p>It’s also a good time to mention that while learning WordPress theme development –child theme customization is an excellent way to start.</p>
<h2>How to Create a Child Theme?</h2>
<p>It’s easy.</p>
<p>You’ll need:</p>
<ul>
<li>WordPress installation (Duh.)</li>
<li>Access to FTP</li>
<li>A text/code editor like Notepad++</li>
<li>Basic knowledge of WordPress functions, HTML, CSS, JavaScript, and PHP</li>
</ul>
<p>You can also use a plugin like <a href="https://wordpress.org/plugins/one-click-child-theme/"><em>One-click Child Theme</em></a> if you are not able to access your WordPress installation directory.</p>
<p>For those of you who <em>can </em>use the FTP client:</p>
<ol>
<li>Go to your WordPress directory</li>
<li>Access path <em>/wp-content/themes</em></li>
<li>Create a new folder (directory) and name it after your parent theme (the one you intend to customize). For instance, if you are creating a child theme for TwentyFifteen, create a new folder called TwentyFifteen-child. This is because WordPress can recognize the child theme and load the changes you have made in the child theme. <em>Do not use any spaces in the name.</em></li>
<li>Create two files with your text editor, namely <em>CSS </em>and <em>functions.php. </em>Save them both in the child theme folder.</li>
<li>Technically, you are done creating a child theme!</li>
</ol>
<p>How simple was that, right?</p>
<p>Now check out the great tutorial on editing WordPress child themes to do with the theme as you please.</p>
<p><em><strong>Also, check:</strong></em></p>
<p><a href="https://www.trickyenough.com/how-to-make-an-online-gaming-site/">How can you make an Online WordPress Gaming Website?</a></p>
<p><a href="https://www.trickyenough.com/essential-wordpress-plugins/" rel="noopener">Essential WordPress Plugins for your WordPress website</a>.</p>
<h2>Some Words of Advice (about WordPress Child Themes):</h2>
<ul>
<li>Make sure to enqueue your parent theme’s stylesheet (<em>CSS) </em>file if you are happy with most of the style but only need to make a few changes. Use <em>wp_enqueue_scripts </em>function in child theme’s <em>functions.php. </em>For parent themes that have more than one stylesheets (and if you want them all) use <em>get_template_directory_uri() </em>function as directed in the tutorial.</li>
</ul>
<ul>
<li>Child themes may cause compatibility issues with parent Themes, although it’s very rare and usually happens after the parent theme is updated with different CSS selectors. Use Firebug to find them and update your child theme accordingly.</li>
</ul>
<ul>
<li>If you have already made changes in your original theme files, you need to download a fresh copy of the Theme, compare the two and put the customized files in a child theme folder instead.</li>
</ul>
<h2>Endnote</h2>
<p>Keep the Codex open in a tab at all times, just to have a reference point.</p>
<p>And if you are having any issue or problem with the <em><strong>WordPress Child Themes</strong></em>, let me know through the comments, and I will be there to help you. </p>
<p>The post <a href="https://www.trickyenough.com/wordpress-child-themes/">WordPress Child Themes: What, Why, and How</a> appeared first on <a href="https://www.trickyenough.com">Tricky Enough</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.trickyenough.com/wordpress-child-themes/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">687</post-id>	</item>
	</channel>
</rss>
