<?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>jegan &#8211; WordPress 101</title>
	<atom:link href="https://wordpress101.imaginarytree.com/author/jegan/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress101.imaginarytree.com</link>
	<description>A site for learning WordPress</description>
	<lastBuildDate>Tue, 11 Aug 2015 18:42:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>MAMP and Location of the mySQL dump path</title>
		<link>https://wordpress101.imaginarytree.com/2011/07/03/mamp-and-location-of-the-mysql-dump-path/</link>
					<comments>https://wordpress101.imaginarytree.com/2011/07/03/mamp-and-location-of-the-mysql-dump-path/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Sun, 03 Jul 2011 15:25:44 +0000</pubDate>
				<category><![CDATA[Developer's Corner]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[mySQL dump path]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WP-DBManager]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=496</guid>

					<description><![CDATA[I&#8217;ve been using MAMP which has allowed me to develop my WordPress sites locally. I&#8217;ve recently installed the wp-dbmanager in order to do backups before doing major changes to a test site and had trouble finding the mySQL dump path. Thanks to the help from Adrian Tomic, I was able to set the dump path ... <a title="MAMP and Location of the mySQL dump path" class="read-more" href="https://wordpress101.imaginarytree.com/2011/07/03/mamp-and-location-of-the-mysql-dump-path/" aria-label="Read more about MAMP and Location of the mySQL dump path">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.mamp.info/en/downloads/index.html" target="_blank">MAMP</a> which has allowed me to develop my WordPress sites locally. I&#8217;ve recently installed the wp-dbmanager in order to do backups before doing major changes to a test site and had trouble finding the mySQL dump path. Thanks to the help from <a href="http://www.adriantomic.se/blog/blog-post-2/" target="_blank">Adrian Tomic</a>, I was able to set the dump path quickly.</p>
<blockquote><p>The path to the “files” are as follows.</p>
<p>To mysqldump: /Applications/MAMP/Library/bin/mysqldump<br />
To mysql: /Applications/MAMP/Library/bin/mysql</p></blockquote>
<p>This small post it to help me remember for future sites I need it for &amp; it may help others.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2011/07/03/mamp-and-location-of-the-mysql-dump-path/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>Embedding FLV Videos in Your WordPress Site Using the FLV Embed Plugin</title>
		<link>https://wordpress101.imaginarytree.com/2010/09/15/embedding-flv-videos-in-your-wordpress-site-using-the-flv-embed-plugin/</link>
					<comments>https://wordpress101.imaginarytree.com/2010/09/15/embedding-flv-videos-in-your-wordpress-site-using-the-flv-embed-plugin/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Wed, 15 Sep 2010 17:07:56 +0000</pubDate>
				<category><![CDATA[Not Recommended anymore]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=286</guid>

					<description><![CDATA[NOTE: This plugin has not been updated since 2009. Not recommended to use anymore. If you are looking to embed FLV videos into your WordPress site &#8211; and include a player (so users can start and stop the video) then look no further than the FLV Embed plugin. First, install and activate the plugin. Once ... <a title="Embedding FLV Videos in Your WordPress Site Using the FLV Embed Plugin" class="read-more" href="https://wordpress101.imaginarytree.com/2010/09/15/embedding-flv-videos-in-your-wordpress-site-using-the-flv-embed-plugin/" aria-label="Read more about Embedding FLV Videos in Your WordPress Site Using the FLV Embed Plugin">Read more</a>]]></description>
										<content:encoded><![CDATA[<p><span style="color: #ff0000;">NOTE: This plugin has not been updated since 2009. Not recommended to use anymore.</span></p>
<p>If you are looking to embed FLV videos into your WordPress site &#8211; and include a player (so users can start and stop the video) then look no further than the <strong>FLV Embed</strong> plugin.</p>
<p><span id="more-286"></span>First, install and activate the plugin. Once it is activated, you call the video by using the following code:</p>
<pre>[ flv:url width height ]</pre>
<p>Take out the spaces after and before the brackets to activate the code. Ssubstitute the word &#8220;url&#8221; with the actual url and the words &#8220;width&#8221; and &#8220;height&#8221; with the numerical width and height you desire, like this:</p>
<pre>[ flv:http://www.dooropenermagazine.com/TDO/video/fall2010.flv 550 334 ]</pre>
<p>Working example:</p>
<p>[flv:http://www.dooropenermagazine.com/TDO/video/fall2010.flv 550 334]</p>
<p>The above example takes advantage of a &#8220;poster frame&#8221;. To create a frame that people will see before playing the movie, simply save a jpeg within the same folder as the .flv and give it the same name as the flv file. In this example, the flv name is: fall2010.flv and the poster frame is: fall2010.jpg</p>
<p>To view all available options for this plugin, go to your &#8220;Settings&#8221; menu, then choose &#8220;FLV Embed&#8221;.</p>
<p>For more information, <a href="https://wordpress.org/plugins/flv-embed/" target="_blank">here is a link</a> to the plugin&#8217;s site.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2010/09/15/embedding-flv-videos-in-your-wordpress-site-using-the-flv-embed-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="http://www.dooropenermagazine.com/TDO/video/fall2010.flv" length="11636684" type="video/x-flv" />

			</item>
		<item>
		<title>Formbuilder Plugin</title>
		<link>https://wordpress101.imaginarytree.com/2010/09/03/formbuilder-plugin/</link>
					<comments>https://wordpress101.imaginarytree.com/2010/09/03/formbuilder-plugin/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Fri, 03 Sep 2010 04:03:28 +0000</pubDate>
				<category><![CDATA[Recommended Plugins]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=271</guid>

					<description><![CDATA[This is a plug-in that allows you to add functional forms that allow people to contact you through your website. I covered how to install and use this in a video lesson.]]></description>
										<content:encoded><![CDATA[<p>This is a plug-in that allows you to add functional forms that allow people to contact you through your website. I covered how to install and use this in a <a href="https://wordpress101.imaginarytree.com/lessons/how-to-install-a-plugin/">video lesson</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2010/09/03/formbuilder-plugin/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>
		<item>
		<title>NextGen Gallery hack</title>
		<link>https://wordpress101.imaginarytree.com/2010/08/20/nextgen-gallery-hack/</link>
					<comments>https://wordpress101.imaginarytree.com/2010/08/20/nextgen-gallery-hack/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Fri, 20 Aug 2010 23:40:08 +0000</pubDate>
				<category><![CDATA[Hacks!]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=228</guid>

					<description><![CDATA[If you have installed the NextGen Gallery &#38; find it slightly annoying the page scrolls back to the top when you&#8217;re clicking back to the page, here is the fix you&#8217;re looking for: FTP to your site and find the following file: wp-content/nextgen-gallery/shutter/shutter-reloaded.js Search for and comment out the following two lines: document.documentElement.style.overflowX = ''; ... <a title="NextGen Gallery hack" class="read-more" href="https://wordpress101.imaginarytree.com/2010/08/20/nextgen-gallery-hack/" aria-label="Read more about NextGen Gallery hack">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>If you have installed the NextGen Gallery &amp; find it slightly annoying the page scrolls back to the top when you&#8217;re clicking back to the page, here is the fix you&#8217;re looking for:</p>
<p><span id="more-228"></span>FTP to your site and find the following file:<br />
wp-content/nextgen-gallery/shutter/shutter-reloaded.js</p>
<p>Search for and comment out the following two lines:</p>
<pre>document.documentElement.style.overflowX = '';
</pre>
<pre>window.scrollTo(0,t.Top);
</pre>
<p>Unfortunately, if you auto-update the NextGen Gallery plug-in and this isn&#8217;t part of their update, you will need to re-do this.</p>
<p>Much thanks to the <a href="http://wordpress.org/support/topic/plugin-nextgen-gallery-firefox-36-compatbility-issue-clicking-on-gallery-scrolls-page-up-to-top" target="_blank">WordPress community</a> for finding and sharing a solution.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2010/08/20/nextgen-gallery-hack/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Looking to link your website to the social media sites you use?</title>
		<link>https://wordpress101.imaginarytree.com/2010/08/17/looking-to-link-your-site-to-social-media-sites-you-use/</link>
					<comments>https://wordpress101.imaginarytree.com/2010/08/17/looking-to-link-your-site-to-social-media-sites-you-use/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Tue, 17 Aug 2010 16:54:32 +0000</pubDate>
				<category><![CDATA[Recommended Plugins]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=205</guid>

					<description><![CDATA[Install &#38; activate the &#8220;Social Media Widget&#8221; to connect your WordPress site to the social media sites you keep up with. This is a very flexible and comprehensive widget! See the links to the left for examples. (Note: none are active links.) Once you activate the plug-in, you have the ability to change the size ... <a title="Looking to link your website to the social media sites you use?" class="read-more" href="https://wordpress101.imaginarytree.com/2010/08/17/looking-to-link-your-site-to-social-media-sites-you-use/" aria-label="Read more about Looking to link your website to the social media sites you use?">Read more</a>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignleft size-full wp-image-213" title="SocialMediaWidget-web2.0" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-web2.0.png" alt="" width="247" height="371" srcset="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-web2.0.png 247w, https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-web2.0-199x300.png 199w" sizes="auto, (max-width: 247px) 100vw, 247px" />Install &amp; activate the &#8220;Social Media Widget&#8221; to connect your WordPress site to the social media sites you keep up with. This is a very flexible and comprehensive widget! See the links to the left for examples. (Note: none are active links.)</p>
<p>Once you activate the plug-in, you have the ability to change the  size and style of the buttons. Simply go to the &#8220;Appearance&#8221;, &#8220;Widgets&#8221; menu to the left of your dashboard &amp; drag it from the list of available widgets to the right to activate it.</p>
<p><span id="more-205"></span>This plug-in is quite nice &amp; <em>very</em> easy.</p>
<p>The default image link  size is 32px (See the list to the right.) but you can also make them 16px or 64px. (See below)</p>
<p>Also note that you can activate as many or as little as you wish so you will never feel obligated to keep up with social media sites you either don&#8217;t use or phase in or out with your interests.</p>
<p>Below are some more screen shots to give you more of an idea of how differently they can be displayed.</p>
<p><strong><em>This has been another simple WordPress 101 widget recommendation.</em></strong></p>
<p><img loading="lazy" decoding="async" class="alignleft" title="SocialMediaWidget-64" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-64.png" alt="" width="291" height="519" /><img loading="lazy" decoding="async" title="SocialMediaWidget-16" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-16.png" alt="" width="313" height="55" /><img loading="lazy" decoding="async" class="alignnone size-full wp-image-218" title="SocialMediaWidget-sketch" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-sketch.png" alt="" width="167" height="328" srcset="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-sketch.png 167w, https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-sketch-152x300.png 152w" sizes="auto, (max-width: 167px) 100vw, 167px" /><img loading="lazy" decoding="async" class="alignright size-full wp-image-219" title="SocialMediaWidget-hearts" src="https://wordpress101.imaginarytree.com/wp-content/uploads/2010/08/SocialMediaWidget-hearts.png" alt="" width="173" height="333" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2010/08/17/looking-to-link-your-site-to-social-media-sites-you-use/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Lost access to your WordPress site?</title>
		<link>https://wordpress101.imaginarytree.com/2010/08/17/lost-access-to-your-wordpress-site/</link>
					<comments>https://wordpress101.imaginarytree.com/2010/08/17/lost-access-to-your-wordpress-site/#comments</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Tue, 17 Aug 2010 05:43:43 +0000</pubDate>
				<category><![CDATA[Hacks!]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=198</guid>

					<description><![CDATA[If you&#8217;ve lost access to your WordPress site because you moved the WordPress files in or out of a subfolder or subdomain, made a mistake when filling out the WordPress &#8220;General Settings&#8221; or simply transferred your domain name and need access to the previous site, you&#8217;re not totally up the creek! The following is a ... <a title="Lost access to your WordPress site?" class="read-more" href="https://wordpress101.imaginarytree.com/2010/08/17/lost-access-to-your-wordpress-site/" aria-label="Read more about Lost access to your WordPress site?">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;ve lost access to your WordPress site because you moved the WordPress files in or out of a subfolder or subdomain, made a mistake when filling out the WordPress &#8220;General Settings&#8221; or simply transferred your domain name and need access to the previous site, you&#8217;re not totally up the creek! The following is a hack that you can use to restore access to your blog.</p>
<p>Access your site files via FTP and edit the wp-config.php file. I generally place it just above where you define the database is, which makes it the first two uncommented lines in your wp-config.php file.</p>
<p>Add these two lines to your wp-config.php, where &#8220;example.com&#8221; is the NEW location of your site.</p>
<pre>define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');</pre>
<p>This is not the best fix: it&#8217;s just hardcoding the values. You won&#8217;t be able to edit them on the General settings page anymore when using this method, but when you&#8217;re desperate, this is a good hack to gain access!</p>
<p>Thanks so much to <a href="http://austinmatzko.com/2007/03/20/wordpress-relocation-without-editing-the-database/" target="_blank">filosofo</a> and <a href="http://codex.wordpress.org/Changing_The_Site_URL" target="_blank">WordPress.org</a> for sharing this hack!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2010/08/17/lost-access-to-your-wordpress-site/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>A Simple Way to Share Privileged Information</title>
		<link>https://wordpress101.imaginarytree.com/2010/08/06/a-simple-way-to-share-privileged-information/</link>
					<comments>https://wordpress101.imaginarytree.com/2010/08/06/a-simple-way-to-share-privileged-information/#respond</comments>
		
		<dc:creator><![CDATA[jegan]]></dc:creator>
		<pubDate>Fri, 06 Aug 2010 15:53:38 +0000</pubDate>
				<category><![CDATA[Developer's Corner]]></category>
		<guid isPermaLink="false">http://wordpress101.imaginarytree.com/?p=168</guid>

					<description><![CDATA[Whether you&#8217;re selling retail and wholesale items, or simply need to share some content with registered users, or alternatively, content only with visitors, then this simple solution will come to the rescue! It&#8217;s so simple and easy to follow, you&#8217;ll feel the power of dynamic site content! Content for users who are logged in Just ... <a title="A Simple Way to Share Privileged Information" class="read-more" href="https://wordpress101.imaginarytree.com/2010/08/06/a-simple-way-to-share-privileged-information/" aria-label="Read more about A Simple Way to Share Privileged Information">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>Whether you&#8217;re selling retail and wholesale items, or simply need to share some content with registered users, or alternatively, content only with visitors, then this simple solution will come to the rescue! It&#8217;s so simple and easy to follow, you&#8217;ll feel the power of dynamic site content! <span id="more-168"></span></p>
<h3>Content for users who are logged in</h3>
<p>Just paste the following code on your <em>functions.php</em> file:</p>
<pre>add_shortcode( 'member', 'member_check_shortcode' );

function member_check_shortcode( $atts, $content = null ) {
	 if ( is_user_logged_in() &amp;&amp; !is_null( $content ) &amp;&amp; !is_feed() )
		return $content;
	return '';
}
</pre>
<p>Once done, you can add the following to your posts to create a portion or text (or any other content) that will be only displayed to registered users:</p>
<pre>[member]
This text will be only displayed to registered users.
[/member]
</pre>
<h3>Content for users who are not logged in</h3>
<p>Alternatively, you may wish to share information to only people NOT signed in. Just paste the following code on your <em>functions.php</em> file:</p>
<pre><code>add_shortcode( 'visitor', 'visitor_check_shortcode' );

function visitor_check_shortcode( $atts, $content = null ) {
	 if ( ( !is_user_logged_in() &amp;&amp; !is_null( $content ) ) || is_feed() )
		return $content;
	return '';
}</code></pre>
<p>Anytime you write a post/page, add this to only show content to users that are not logged in:</p>
<pre><code>[visitor]
Some content for the people just browsing your site.
[/visitor]</code></pre>
<p>Easy and useful!</p>
<p><em>Credits goes to <a href="http://justintadlock.com/archives/2009/05/09/using-shortcodes-to-show-members-only-content" target="_blank">Justin Tadlock</a> for this simple and elegant solution! Thanks also to <a href="http://www.wprecipes.com/" target="_none">WP Recipies</a> for sharing this helpful tip!</em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress101.imaginarytree.com/2010/08/06/a-simple-way-to-share-privileged-information/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
