<?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>Advanced WordPress Help &#8211; WordPress 101</title>
	<atom:link href="https://wordpress101.imaginarytree.com/category/advanced-wordpress-help/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress101.imaginarytree.com</link>
	<description>A site for learning WordPress</description>
	<lastBuildDate>Thu, 21 Oct 2010 10:30:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Adding a copyright year to your WordPress website footer that will stay updated</title>
		<link>https://wordpress101.imaginarytree.com/2011/01/01/adding-a-copyright-year-to-your-wordpress-website-footer-that-will-stay-updated/</link>
					<comments>https://wordpress101.imaginarytree.com/2011/01/01/adding-a-copyright-year-to-your-wordpress-website-footer-that-will-stay-updated/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Sat, 01 Jan 2011 08:20:11 +0000</pubDate>
				<category><![CDATA[Advanced WordPress Help]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=338</guid>

					<description><![CDATA[Happy new year! With the fresh new year upon us, have you found yourself having to remember to update the copyright at the bottom of your WordPress website? If so, this blog post is for you!! NOTE: This is an advanced WordPress instruction. To add a copyright year to your footer (in PHP) that will ... <a title="Adding a copyright year to your WordPress website footer that will stay updated" class="read-more" href="https://wordpress101.imaginarytree.com/2011/01/01/adding-a-copyright-year-to-your-wordpress-website-footer-that-will-stay-updated/" aria-label="Read more about Adding a copyright year to your WordPress website footer that will stay updated">Read more</a>]]></description>
										<content:encoded><![CDATA[<h3>Happy new year!</h3>
<p>With the fresh new year upon us, have you found yourself having to remember to update the copyright at the bottom of your WordPress website? If so, this blog post is for you!!<span id="more-338"></span></p>
<p><strong>NOTE:</strong> This is an advanced WordPress instruction. To add a copyright year to your footer (in PHP) that will stay updated with the current year, you will need to feel comfortable working within the files that make up your active theme.</p>
<p>The file we will be accessing &amp; working with today is called &#8220;footer.php&#8221;. To access your theme files, you can either FTP to your current theme ( your-site-root/wp-content/themes/your-theme/ ) or within the WordPress interface, you can find your current theme files under &#8220;Appearance&#8221;, &#8220;Editor&#8221;.</p>
<p>Let&#8217;s change the footer information on this site to say &#8220;© XXXX WordPress 101 Class&#8221;, where XXXX = the current year.</p>
<p>The site footer, at the very least, tends to say something to this effect:</p>
<pre>&lt;?php bloginfo('name'); ?&gt;</pre>
<p>That code yields the site title you set within your &#8220;Settings&#8221;, &#8220;General&#8221;. For this site, it&#8217;s &#8220;WordPress 101 Class&#8221;. We&#8217;re going to use that site title, but add a copyright symbol, and the current year to the front of it.</p>
<p>To add the copyright symbol, type:</p>
<pre>&amp;copy;</pre>
<p>To add the year, in PHP which will echo the current year, type:</p>
<pre>&lt;?php echo date("Y"); ?&gt;</pre>
<p>So all together, the new line in the footer.php that you have modified will look like this:</p>
<pre>&amp;copy; &lt;?php echo date("Y"); ?&gt; &lt;?php bloginfo('name'); ?&gt;</pre>
<p>Don&#8217;t forget to add spaces between your individual code snippets, for readability! Feel free to add any additional static text you may wish to have in your footer &amp; enjoy the freedom of not having to remember to update your website copyright with every new year! <em>That&#8217;s something to celebrate!</em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2011/01/01/adding-a-copyright-year-to-your-wordpress-website-footer-that-will-stay-updated/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Creating &#038; using &#8220;Child Themes&#8221; in WordPress</title>
		<link>https://wordpress101.imaginarytree.com/2010/10/10/creating-using-child-themes-in-wordpress/</link>
					<comments>https://wordpress101.imaginarytree.com/2010/10/10/creating-using-child-themes-in-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Sun, 10 Oct 2010 00:05:42 +0000</pubDate>
				<category><![CDATA[Advanced WordPress Help]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=334</guid>

					<description><![CDATA[This is well beyond the &#8220;WordPress 101&#8221; help, but if you find yourself liking most of a theme and just want to change a few aspects of it, then a &#8220;child theme&#8221; is for you! Why create a child theme? Why not just change the theme and be done with it? Well&#8230; to get to ... <a title="Creating &#038; using &#8220;Child Themes&#8221; in WordPress" class="read-more" href="https://wordpress101.imaginarytree.com/2010/10/10/creating-using-child-themes-in-wordpress/" aria-label="Read more about Creating &#038; using &#8220;Child Themes&#8221; in WordPress">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>This is well beyond the &#8220;WordPress 101&#8221; help, but if you find yourself liking most of a theme and just want to change a few aspects of it, then a &#8220;child theme&#8221; is for you!</p>
<p><span id="more-334"></span></p>
<h3>Why create a child theme?</h3>
<p>Why not just change the theme and be done with it? Well&#8230; to get to the point quickly, themes can be updated. If a conscientious theme author updates their theme to stay compatible with an updated version of WordPress (which is a GOOD thing!), and you choose to update your installation of their theme, any customization you&#8217;ve made to that theme can get inadvertently overwritten. <em>Oh no!</em></p>
<p>Here&#8217;s where a child theme will really work well. You can update the parent theme, without worry of losing the style changes you&#8217;ve employed.</p>
<p>Let&#8217;s take Twenty Ten as an example. It&#8217;s a very versatile theme &#8211; custom header images ~ custom background color and images &#8211; all without having to learn to dig in the source code. Woo hoo!</p>
<p>Now&#8230; say you want to change any font size or color &#8211; or perhaps change the header or footer information&#8230; Time for us to create a child theme.</p>
<h4>Step 1:</h4>
<p>In your theme directory (folder), create a new directory for your child theme. You may name it whatever you like.</p>
<h4>Step 2:</h4>
<p>Save a file called &#8220;styles.css&#8221; into that directory.</p>
<h4>Step 3:</h4>
<p>Add the following code to the header comments of your styles.css. Substitute the words &#8220;parent-theme&#8221; for your actual parent theme name.</p>
<pre>Template: parent-theme</pre>
<p>This line will follow the &#8220;Theme URI&#8221; line, such as the example below:</p>
<pre>/*
Theme Name: Your Theme Name
Theme URI: http://wordpress.org/
Template: twentyten
Description: This child theme supplements the default WordPress theme, TwentyTen.
It is created so the style can be updated, without losing the formatting changes chosen
by the designer if the TwentyTen theme were to have an update.
Author: Your Name
Version: 1.0
Tags: custom child theme for yourSite.com

Please note: This child theme depends on the original theme.
You must have TwentyTen in your themes directory for this to work.
*/</pre>
<h4>Step 4:</h4>
<p>Within the child &#8220;styles.css&#8221; file, after the header comments, import the styles.css from the parent theme. Once again, substitute the words &#8220;parent-theme&#8221; for your actual parent theme name. I tend to add a comment line below the import line, to let anyone looking at the CSS file know that the styles listed below are overriding the parent.</p>
<pre>@import url("../parent-theme/style.css");
/* Overriding the default styles from the parent Template */</pre>
<h4>Step 5:</h4>
<p>Add any specific css that you wish to add, or change to the parent theme. Anything you place within the child style.css file as well as within it&#8217;s directory will automatically override the parent&#8217;s settings. So, if you place a footer.php file within the child directory, it will automatically override the footer.php file within the parent directory. This allows for great customization possibilities!</p>
<p>&#8212;</p>
<p>Have fun with your semi-custom theme editing!</p>
<p>For more in depth information, here are some helpful links.</p>
<p><a href="http://codex.wordpress.org/Child_Themes" target="_blank">http://codex.wordpress.org/Child_Themes</a></p>
<p><a href="http://op111.net/53" target="_blank">http://op111.net/53</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2010/10/10/creating-using-child-themes-in-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Transferring hosts &#038; want to keep your WordPress site?</title>
		<link>https://wordpress101.imaginarytree.com/2010/08/22/transferring-hosts-want-to-keep-your-wordpress-site/</link>
					<comments>https://wordpress101.imaginarytree.com/2010/08/22/transferring-hosts-want-to-keep-your-wordpress-site/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Sun, 22 Aug 2010 05:39:08 +0000</pubDate>
				<category><![CDATA[Advanced WordPress Help]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=236</guid>

					<description><![CDATA[Although this doesn&#8217;t REMOTELY fall under the &#8220;101&#8221; heading, it can be useful for individuals who are looking to change hosting services or for hosting individuals who have access to the cPanel and PHPMyAdmin section of both the old and the new host server &#38; wish to make a transfer. So if you have a ... <a title="Transferring hosts &#038; want to keep your WordPress site?" class="read-more" href="https://wordpress101.imaginarytree.com/2010/08/22/transferring-hosts-want-to-keep-your-wordpress-site/" aria-label="Read more about Transferring hosts &#038; want to keep your WordPress site?">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>Although <strong>this doesn&#8217;t REMOTELY fall under the &#8220;101&#8221; heading</strong>, it can be useful for individuals who are looking to change hosting services or for hosting individuals who have access to the cPanel and PHPMyAdmin section of both the old and the new host server &amp; wish to make a transfer. So if you have a WordPress driven site and are looking to transfer to a new host, you can either use this yourself or you can pass this on to someone else who can use this information <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><span id="more-236"></span></p>
<h3>Export your site&#8217;s database from the old location</h3>
<p>Using your web browser,</p>
<figure id="attachment_237" aria-describedby="caption-attachment-237" style="width: 290px" class="wp-caption alignright"><a href="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/phpMyAdmin-screenshot.jpg"><img fetchpriority="high" decoding="async" class="size-medium wp-image-237" title="phpMyAdmin export settings" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/phpMyAdmin-screenshot-300x290.jpg" alt="" width="300" height="290" srcset="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/phpMyAdmin-screenshot-300x290.jpg 300w, https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/phpMyAdmin-screenshot.jpg 550w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-237" class="wp-caption-text">Image of the settings for people who are visual. Click to view larger.</figcaption></figure>
<p>1. Go to the PHPMyAdmin location of the server where the database you wish to export resides. If your hosting company offers cPanel, that makes getting to the PHPMyAdmin very easy. Simply sign in to cPanel, then select <img decoding="async" class="alignleft size-full wp-image-242" title="phpmyadmin-icon" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/phpmyadmin-icon.gif" alt="" width="73" height="51" />&#8220;PHPMyAdmin&#8221; icon from the &#8220;Databases&#8221; section, then sign in to this area, if necessary.</p>
<p><em>If you don&#8217;t have access to cPanel, or have any trouble, contact your host for help.</em></p>
<p>2. Click the tab labeled &#8220;Export&#8221; and you will be taken to the Export database page. Select and deselect the check boxes as noted in the picture to the right. Be sure to check the box &#8220;Save as file&#8221; or your export will not download. Type a name for your database and click the button labeled &#8220;Go&#8221;.</p>
<p>9. Select a location to save your database on your local hard drive (preferably something easy to remember).</p>
<p>***IMPORTANT***</p>
<p>Selecting &#8220;add DROP TABLE&#8221; means that if the copy of the database created is later imported to another WordPress installation, the tables in the imported copy will overwrite them if they exist in the target database. You should be careful to keep track of your databases, and make sure you only import and export the correct databases for your task!</p>
<p>Note if a radio button other than &#8220;None&#8221; is enabled in the group &#8220;compression&#8221;. Uncompressed databases may be larger, but are sometimes easier to work with.</p>
<p>This document details that items that should be selected. If it is not in this document above, then it *should/can* be omitted.</p>
<p>It cannot be stressed enough how important it is to make a backup of both your server files and you database! DO NOT DELETE a database or files off a server unless you are 200% sure that everything works!</p>
<h3>Import your the database to the new location</h3>
<p>Using your web browser,</p>
<figure id="attachment_250" aria-describedby="caption-attachment-250" style="width: 290px" class="wp-caption alignright"><a href="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/user-with-all-privileges.gif"><img decoding="async" class="size-medium wp-image-250" title="User with All Privileges" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/user-with-all-privileges-300x160.gif" alt="" width="300" height="160" srcset="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/user-with-all-privileges-300x160.gif 300w, https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/user-with-all-privileges.gif 456w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-250" class="wp-caption-text">Click to view larger.</figcaption></figure>
<p><img loading="lazy" decoding="async" class="size-full wp-image-249 alignright" title="mysql-wizard" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/mysql-wizard.gif" alt="" width="55" height="75" /></p>
<p>1. If you have access to cPanel on your new host, sign in and use the MySQL Database Wizard to create a new empty database with a user with all privileges. I tend to keep the same password as the previous install to keep things simple. (The password can be found in your wp-config.php file.) Oftentimes, the username cannot be recycled. If that is the case, just change your wp-config.php file to accommodate what you need. Once you&#8217;ve created the username and password, you will see a screen that looks like the image to the right, here. Click the &#8220;All Privileges&#8221; checkbox at the top to instantly check all selections &amp; click &#8220;Next Step&#8221; to finish off.</p>
<p>2. Go to the PHPMyAdmin location of the <img loading="lazy" decoding="async" class="alignleft" title="phpmyadmin-icon" src="../wp-content/uploads/2010/08/phpmyadmin-icon.gif" alt="" width="73" height="51" />server where you wish  to import your data. If your hosting company offers cPanel, simply sign in to cPanel, then  select &#8220;PHPMyAdmin&#8221; icon from the &#8220;Databases&#8221; section, then sign in to this area (if necessary).</p>
<figure id="attachment_251" aria-describedby="caption-attachment-251" style="width: 290px" class="wp-caption alignright"><a href="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/import.gif"><img loading="lazy" decoding="async" class="size-medium wp-image-251" title="import" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/import-300x260.gif" alt="" width="300" height="260" srcset="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/import-300x260.gif 300w, https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/import.gif 503w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-251" class="wp-caption-text">Click to view larger.</figcaption></figure>
<p>3. Select the empty database you&#8217;ve created, then select the &#8220;Import&#8221; tab at the top. Click the &#8220;Browse&#8221; button to navigate on your computer where you downloaded your database &amp; click the &#8220;Go&#8221; button at the bottom to import it. (See image to the right.)</p>
<h3>FTP all your WordPress files to the new location</h3>
<p>1. The last step to replicate your WordPress site on a new host is to connect to both your former and new sites via FTP. Copy all the appropriate WordPress files from the former site directory to the new directory. If you have any question on what files are associated with WordPress, check the WordPress site.</p>
<p>2. Once you&#8217;ve copied your files to the new FTP location, be sure to set your database and username if needed by editing the wp-config.php file.</p>
<p>That&#8217;s it! (Hah!) Good luck!</p>
<hr />
<p><em>Thanks to the <a href="http://drupal.org/node/81993">drupal user</a> who posted these wonderful instructions on how to export! They certainly have helped with my transferring of WordPress sites.<br />
</em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2010/08/22/transferring-hosts-want-to-keep-your-wordpress-site/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
