<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Ask WP Girl</title>
	
	<link>http://askwpgirl.com</link>
	<description>Making WordPress Easy and Fun</description>
	<lastBuildDate>Wed, 25 Jan 2012 17:27:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/AskWpGirl" /><feedburner:info uri="askwpgirl" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>AskWpGirl</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Gravity Forms Placeholder Text that Works with IE</title>
		<link>http://feedproxy.google.com/~r/AskWpGirl/~3/sfDrKdUfet0/</link>
		<comments>http://askwpgirl.com/gravity-forms-placeholder-text-works-with-ie/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 05:56:41 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://askwpgirl.com/?p=497</guid>
		<description><![CDATA[Surprisingly Gravity Forms hasn’t implemented the placeholder feature for Gravity Forms input elements. The placeholder allows you to show placeholder text inside the field instead of using field labels to create more concise looking forms like this: On June 22, 2011, Jorge Pedret, a freelance web developer, came up with a solution to the Gravity [...]]]></description>
			<content:encoded><![CDATA[<p>Surprisingly Gravity Forms hasn’t implemented the placeholder feature for Gravity Forms input elements. The placeholder allows you to show placeholder text inside the field instead of using field labels to create more concise looking forms like this:</p>
<p><img class="alignnone size-full wp-image-498" title="Gravity Form with Placeholder Input Values" src="http://askwpgirl.com/wp-content/uploads/2012/01/gravityform-placeholder-input.png" alt="" width="302" height="534" /></p>
<p>On June 22, 2011, Jorge Pedret, a freelance web developer, came up with <a href="http://jorgepedret.com/web-development/placeholder-text-for-gravity-form-input-elements/" target="_blank">a solution to the Gravity Forms placeholder problem</a> with a clever function and script that could be added to your theme&#8217;s functions.php file. Unfortunately, the solution he posted didn&#8217;t work with non-html 5 compliant browsers, such as IE 7 and IE 8.</p>
<p>On September 15, 2011, <a href="http://www.wpbeginner.com/wp-tutorials/how-to-add-placeholder-text-in-gravity-forms/" target="_blank">WP Beginner reposted Jorge&#8217;s solution</a>, yet it still didn&#8217;t work on IE. Luckily, an astute reader of WP Beginner, <a href="https://twitter.com/#!/chood531" target="_blank">chood531</a>, solved the problem and posted some code on <a href="http://www.livefyre.com/" target="_blank">pastebin</a>, however, the code was only partial, so unless you&#8217;re paying special attention, you might not put one and one together, as I did not because it&#8217;s late on a Friday night, and it&#8217;s been a loooong week. So, I thought I&#8217;d do others the favor of post the code in it&#8217;s entirety here.</p>
<p>What you need to do is copy the code below and paste into your WordPress theme&#8217;s functions.php file and upload.</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
// Gravity Forms placeholder text

/* Add a custom field to the field editor */
add_action(&quot;gform_field_standard_settings&quot;, &quot;my_standard_settings&quot;, 10, 2);

function my_standard_settings($position, $form_id){

// Create settings on position 25 (right after Field Label)

if($position == 25){
?&gt;

&lt;li style=&quot;display: list-item; &quot;&gt;
&lt;label for=&quot;field_placeholder&quot;&gt;Placeholder Text

&lt;!-- Tooltip to help users understand what this field does --&gt;
&lt;a href=&quot;javascript:void(0);&quot; tooltip=&quot;&amp;lt;h6&amp;gt;Placeholder&amp;lt;/h6&amp;gt;Enter the placeholder/default text for this field.&quot;&gt;(?)&lt;/a&gt;

&lt;/label&gt;

&lt;input type=&quot;text&quot; id=&quot;field_placeholder&quot; size=&quot;35&quot; onkeyup=&quot;SetFieldProperty('placeholder', this.value);&quot;&gt;

&lt;/li&gt;
&lt;?php
}
}

/* Now we execute some javascript technicalitites for the field to load correctly */

add_action(&quot;gform_editor_js&quot;, &quot;my_gform_editor_js&quot;);

function my_gform_editor_js(){
?&gt;
&lt;script&gt;
//binding to the load field settings event to initialize the checkbox
jQuery(document).bind(&quot;gform_load_field_settings&quot;, function(event, field, form){
jQuery(&quot;#field_placeholder&quot;).val(field[&quot;placeholder&quot;]);
});
&lt;/script&gt;

&lt;?php
}

/* We use jQuery to read the placeholder value and inject it to its field */

add_action('gform_enqueue_scripts',&quot;my_gform_enqueue_scripts&quot;, 10, 2);

function my_gform_enqueue_scripts($form, $is_ajax=false){
global $is_IE;

?&gt;
&lt;script&gt;

jQuery(function(){
&lt;?php

/* Go through each one of the form fields */

foreach($form['fields'] as $i=&gt;$field){

/* Check if the field has an assigned placeholder */

if(isset($field['placeholder']) &amp;&amp; !empty($field['placeholder']) &amp;&amp; !$is_IE){

/* If a placeholder text exists, inject it as a new property to the field using jQuery */

?&gt;

jQuery(&quot;#input_&lt;?php echo $form['id']?&gt;_&lt;?php echo $field['id']?&gt;&quot;).attr('placeholder',&quot;&lt;?php echo $field['placeholder']?&gt;&quot;);

&lt;?php
}
elseif($is_IE) { ?&gt;

jQuery(&quot;#input_&lt;?php echo $form['id']?&gt;_&lt;?php echo $field['id']?&gt;&quot;).attr('value',&quot;&lt;?php echo $field['placeholder']?&gt;&quot;);

&lt;?php
}
}
?&gt;
});
&lt;/script&gt;
&lt;?php
}
?&gt;
</pre>
<p>Empty your browser cache and when you go to edit a Gravity Form field, you&#8217;ll now see the following new field:</pre>
<p><img title="Gravity Form Placeholder Field" src="http://askwpgirl.com/wp-content/uploads/2012/01/placeholderfieldgf.gif" alt="" width="520" height="410" /></p>
<p>Be sure to read the excellent instructions by WP Beginner on how to <a href="http://www.wpbeginner.com/wp-tutorials/how-to-add-placeholder-text-in-gravity-forms/" target="_blank">Add Placeholder Text in Gravity Forms Drop Down field</a> - just scroll down a bit in the post  to the very ed (ignore the code stuff and use the code below instead that works in IE).</p>
<img src="http://feeds.feedburner.com/~r/AskWpGirl/~4/sfDrKdUfet0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://askwpgirl.com/gravity-forms-placeholder-text-works-with-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://askwpgirl.com/gravity-forms-placeholder-text-works-with-ie/</feedburner:origLink></item>
		<item>
		<title>Moving WordPress from Subdirectory to Root – FAQ</title>
		<link>http://feedproxy.google.com/~r/AskWpGirl/~3/3QZG4NyFmt4/</link>
		<comments>http://askwpgirl.com/moving-wordpress-from-subdirectory-to-root-faq/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 17:32:19 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Installing]]></category>

		<guid isPermaLink="false">http://askwpgirl.com/?p=463</guid>
		<description><![CDATA[If you followed the instructions in my post &#8220;How do I move WordPress from a subdirectory to the root directory?&#8221; and you encountered any issues, please read the following list of frequently encountered issues. Please comment below if you continue to have problems or write to me via my Contact form if you need personal [...]]]></description>
			<content:encoded><![CDATA[<p>If you followed the instructions in my post &#8220;<a title="How do I move WordPress from a subdirectory to the root directory?" href="http://askwpgirl.com/how-do-i-move-wordpress-from-a-subdirectory-to-the-root-directory/">How do I move WordPress from a subdirectory to the root directory?</a>&#8221; and you encountered any issues, please read the following list of frequently encountered issues.</p>
<p>Please comment below if you continue to have problems or write to me via my <a href="http://moongoosedesigns.com/contact-angela-bowman-boulder-colorado/" target="_blank">Contact</a> form if you need personal assistance. If I can help you in less than 15 minutes, then I&#8217;m happy to do so for free. If the problem is more involved than that and requires me to login to your site and do the fix for you, then I charge $75/hour. Usually, I can solve these problems in less than 1/2 hour.</p>
<h2>Verify the following:</h2>
<h3>1 &#8211; Index.php location and settings</h3>
<p>Please check: Which index.php file did you move and where did you move it? The index.php file you moved should start with the following code:</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./mywp/wp-blog-header.php');
?&gt;
</pre>
<p>Check the require line in your file. Be sure that the / are in the right place and that the subdirectory name is correct. Most people make a mistake and either don&#8217;t edit the require line and put their subdirectory name in it or make a mistake with the syntax and have an extra slash, no slash, an extra period, etc.</p>
<p>Next, where did you put this index.php file? Some people have put it in the root of the hosting account instead of in the domain root &#8212; which is the public_html folder on most hosts. If you moved this file outside the public_html folder, that won&#8217;t work. Some people&#8217;s hosting accounts are really wildly configured, and their host does not have a straight forward path for you to figure out where the heck your domain root is. So, to keep things simple, you would have wanted to move the index.php to the directory just above your subdirectory that contains the WordPress application.</p>
<p>Finally, some people have inadvertently moved the index.php file in their theme&#8217;s folder rather than the index.php file in the subdirectory. If you don&#8217;t see the require line above in your index.php file, then you moved the wrong file.</p>
<h3>2 &#8211; WordPress General Settings</h3>
<p>The next most common mistake is to not set the General Settings in the WordPress Dashboard correctly. Here is how they should have been set:</p>
<p><img class="alignnone size-full wp-image-309" title="General Settings WordPress-1" src="http://askwpgirl.com/wp-content/uploads/2010/04/General-Settings-%E2%80%B9-Ask-WP-Girl-%E2%80%94-WordPress-1.jpg" alt="" width="532" height="77" /></p>
<p>If a mistake was made here, then you might not be able to see your site or you won&#8217;t be able to login to your site. It is pretty common to have made a mistake with these settings or forgotten to make the change here. To fix this, you will need to login to your phpMyAdmin application via your web hosting control panel. Take note of your database username and password in the wp-config.php file and check the following:</p>
<p>Login to the database and go to the wp_options table and click the browse tab.</p>
<p>The first option is is for siteurl (which is totally inconsistent with the General Settings field label). This should be set to the URL with the subdirectory:</p>
<p><a href="http://askwpgirl.com/wp-content/uploads/2011/11/MAMP1-2.png" rel="lightbox[463]"><img class="alignnone size-large wp-image-465" title="MAMP1-2" src="http://askwpgirl.com/wp-content/uploads/2011/11/MAMP1-2-1024x274.png" alt="" width="602" height="161" /></a></p>
<p>Go to the next page of the table and check the home value. This should be the URL to the main site URL without the subdirectory name:</p>
<p><a href="http://askwpgirl.com/wp-content/uploads/2011/11/home-2-1.png" rel="lightbox[463]"><img class="alignnone size-large wp-image-466" title="home-2-1" src="http://askwpgirl.com/wp-content/uploads/2011/11/home-2-1-1024x421.png" alt="" width="589" height="242" /></a></p>
<h3>3 &#8211; .htaccess</h3>
<p>Some web hosts will have issues with the .htaccess commands once your index.php file is in the public_html file. If this is the case, you should still be able to login to WordPress via the subdirectory, and your home page will display correct BUT your links to the other pages will show a &#8220;Page Not Found&#8221; error. (Please note: even though you are showing the pages of your site from the main domain url, you will still need to login via the subdirectory url &#8211; e.g. http://yoursite.com/mywp/wp-admin &#8211; and all of your images on the site will still be located in the http://yoursite.com/mywp/wp-content/uploads.)</p>
<p>So, if you are having troubles with your &#8220;pretty permalinks&#8221; in other words, the home page of the site displays okay, but your subpages display a File Not Found message, then login to your WordPress dashboard and go to Settings &gt; Permalinks and click Save Changes. This should cause your .htaccess file to be updated correctly. If this does not work, you may need to move the .htaccess to the root directory and manually replace the current WordPress mod rewrite directive with the code below. (Note: you will need to show invisible files via your FTP application or use the web host&#8217;s file manager to see this file.)</p>
<pre class="brush: php; title: ; notranslate">

# BEGIN WordPress
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&lt;/IfModule&gt;

# END WordPress
</pre>
<p>IMPORTANT NOTE: If you are on a Windows hosting account (please check this before commenting below), you will NOT have an .htacccess file. You will need to install a web.config file to use the Microsoft&#8217;s Rewrite Module. For more information, please read: <a href="http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite" target="_blank">http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite</a>. If you are on GoDaddy and have Windows hosting, please read: <a href="http://wordpress.org/support/topic/godaddy-iis-and-removing-indexphp-in-url?replies=20#post-1507468" target="_blank">http://wordpress.org/support/topic/godaddy-iis-and-removing-indexphp-in-url?replies=20#post-1507468</a></p>
<p>To determine if the permalinks is the issue with why your internal page links are displaying as Page Not Found, try to use the Default permalinks (Permalinks &gt; Settings) and see if you can view all your interior pages fine. If you CAN view all your pages using the Default permalink settings (in other words, the pretty urls are turned off), then the issue is related to the .htaccess file on Linux/Apache hosting or not having a web.config file and rewrite rules enabled on a Windows server.</p>
<p>You may need to check with your web host about how to make this work properly. Some, such as Yahoo web hosting really are not good WordPress hosts, others require that /index.php be part of the permalink structure. So, if the default permalinks work, and you&#8217;ve tried creating and editing your .htaccess (Linux) or web.config file (Windows), then call your web host.</p>
<h3>4 &#8211; PHP Version Called in the .htaccess file</h3>
<p>One person who wrote to me had their php version command in their .htaccess file. They had deleted the .htaccess file after moving WordPress, so the PHP directive calling for the correct version of PHP was removed, and their site therefore was running PHP 4, and the latest WordPress will not run in PHP 4. This is something you can check with your web host, and they can give you the line that goes in your .htaccess file to call for the correct version of PHP. It will look something like this:</p>
<pre class="brush: php; title: ; notranslate">

AddHandler application/x-httpd-php5s .php
</pre>
<h3>5 &#8211; Old Site Files Interfering with New Site</h3>
<p>Several people installed WordPress in a subdirectory because they had an existing site in the main url. When they followed these instructions to move the index.php file the WordPress subdirectory to the main site directory, they left the old site files in the main directory and therefore, the browser kept trying to open the old index.html file rather than the index.php file. To fix this, simply create a new folder called _OLD in your main directory and drag all of your old site files into this folder. Download this folder and then delete it from the server after you&#8217;ve verified that the site is functioning correctly. Do not leave these old files on the server unless you have excluded them from search engines via a robots.txt file.</p>
<h3>6 &#8211; Redirecting Old URLs</h3>
<p>Whether you had an old .html site up or had your current WordPress site in the subdirectory indexed by Google, you&#8217;ll want to do redirects on these pages that Google may have indexed.</p>
<p>If you had an old .html site and the WordPress site was &#8220;private,&#8221; after you&#8217;ve completed this process, be sure to change the Privacy settings in the WordPress dashboard, so Google can now index these new WordPress urls. Install the <a href="http://wordpress.org/extend/plugins/redirection/" target="_blank">Redirection plugin</a> and create redirects on the old .html URLs to their new WordPress URLs. Install the <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/" target="_blank">Google XML Sitemap plugin</a> and generate a new sitemap and submit it to Google Webmaster Tools. This will help prevent any 404 Page Not Found errors. Google will eventually re-index your site with the new URLs, so you shouldn&#8217;t have those old URLs come up in search engine searches after a few weeks.</p>
<p>If your current WordPress installation was indexed by Google with the old URLs, eg http://yoursite.com/mywp/about and now it is http://yoursite.com/about, then you will need to do the same as above for those old URLs. If you have a LOT of these old URLs, ie, you had a large, active blog before you followed these instructions, I&#8217;m testing out an .htaccess command you can use to rewrite all the URLs. I&#8217;ll post it here when I&#8217;ve tortured tested it.</p>
<h3>7 &#8211; Protecting the WordPress Directory from Browsing</h3>
<p>Since we removed the index.php file from the WordPress directory, now that directory can be &#8220;browsed,&#8221; which is not good. To prevent this, add the following line to your .htaccess file:</p>
<p><strong>Options All -Indexes</strong></p>
<p>OR install the <a href="http://wordpress.org/extend/plugins/silence-is-golden-guard/" target="_blank">Silence is Golden Guard plugin</a></p>
<p>OR create a new blank index.php file in the WordPress directory which contains the following code:</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
// Silence is golden.
?&gt;
</pre>
<h3>8 &#8211; Internal Hyperlinks</h3>
<p>Please note that this process does preserve all the image links in your site. However, you will need to reset any INTERNAL hyperlinks, including any manually entered hyperlinks in the Appearance &gt; Menus.</p>
<p>Some themes have hardcoded the link to the Home page incorrect and you may need to set that correctly in the header.php file of your theme.</p>
<p>A good plugin for finding these broken links is the <a href="http://wordpress.org/extend/plugins/broken-link-checker/" target="_blank">Broken Link Checker</a>.</p>
<p>I have also used the <a href="http://wordpress.org/extend/plugins/search-and-replace/" target="_blank">Search and Replace plugin</a>, but use it with caution, because you don&#8217;t want to replace your good image links.</p>
<p>Typically, I will search for <strong>&lt;a href=&#8221;http://yoursite.com/mywp</strong></p>
<p>and replace with <strong>&lt;a href=&#8221;http://yoursite.com/mywp</strong></p>
<p>then I&#8217;ll do another search to make sure I didn&#8217;t break any image links with <strong>&lt;a href=&#8221;http://yoursite.com/wp-content</strong></p>
<p>and replace with <strong>&lt;a href=&#8221;http://yoursite.com/mywp/wp-content</strong> since the wp-content is and always will be in the mywp (aka the subdirectory).</p>
<img src="http://feeds.feedburner.com/~r/AskWpGirl/~4/3QZG4NyFmt4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://askwpgirl.com/moving-wordpress-from-subdirectory-to-root-faq/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		<feedburner:origLink>http://askwpgirl.com/moving-wordpress-from-subdirectory-to-root-faq/</feedburner:origLink></item>
		<item>
		<title>Customizing Studio Press Child Themes</title>
		<link>http://feedproxy.google.com/~r/AskWpGirl/~3/BxOTOHwyNfQ/</link>
		<comments>http://askwpgirl.com/customizing-studio-press-child-themes/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 23:55:15 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Answers to Your Questions]]></category>
		<category><![CDATA[Customizing]]></category>

		<guid isPermaLink="false">http://askwpgirl.com/?p=416</guid>
		<description><![CDATA[Q: I&#8217;ve just started a blog. I&#8217;m new at it. The blog is set up using the Genesis theme Lexicon. I would like tags to show under my posts, but for some reason they don&#8217;t. Maybe this particular theme doesn&#8217;t enable it. How can I address this? I am not a coder so is there [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Q:</strong> I&#8217;ve just started a blog. I&#8217;m new at it. The blog is set up using the Genesis theme Lexicon. I would like tags to show under my posts, but for some reason they don&#8217;t. Maybe this particular theme doesn&#8217;t enable it. How can I address this? I am not a coder so is there a plugin or something easy I can do. Also, can you tell me how to add widget-isable footers to my blog, please? In the theme I use, there are no footer widgets.</p>
<p>Thanks in advance.</p>
<p>Regards,<br />
Gary</p></blockquote>
<h3>Genesis StudioPress Themes</h3>
<p><strong>A:</strong> I am an affiliate for Genesis, and I really do love their themes! StudioPress, <a title="StudioPress Genesis Theme Framework" href="http://askwpgirl.com/go/studipress.php" target="_blank">the providers of the Genesis Framework and child themes,</a> has a great community of support with thorough documentation and tutorials:</p>
<ul>
<li><a title="Genesis Framework Tutorials" href="http://genesistutorials.com/" rel="nofollow" target="_blank">Genesis Tutorials</a></li>
<li><a title="Genesis Framework Development and Tutorials" href="http://dev.studiopress.com/" rel="nofollow" target="_blank">Genesis Development and Tutorials</a></li>
<li><a title="Genesis Theme Framework support" href="http://www.studiopress.com/support/" rel="nofollow" target="_blank">Genesis Support</a></li>
</ul>
<p>Below are a few plugins, tips, and reference links which will take you a long way to customizing your Genesis child theme easily and quickly.</p>
<h3>Genesis &#8220;Hooks&#8221;</h3>
<p>To control the content that displays on your posts and pages, I highly recommend the <a title="Genesis Simple Hooks" href="http://wordpress.org/extend/plugins/genesis-simple-hooks/" rel="nofollow" target="_blank">Genesis Simple Hooks plugin</a>. It allows for easy control of the Genesis theme &#8220;hooks&#8221; so you can add or remove any Genesis functionality from your theme without needing to be a &#8220;coder&#8221; to do so.</p>
<p>The &#8220;hooks&#8221; are different areas of the site where you can insert or remove functionality or content, such as &#8220;before header,&#8221; &#8220;after header&#8221;, &#8220;before post&#8221;, &#8220;after post,&#8221; etc. Please refer to the <a title="Genesis Hook Reference" href="http://dev.studiopress.com/hook-reference" rel="nofollow" target="_blank">Genesis Hook Reference</a> for a description of all of these areas. These are also well described in the Genesis Simple Hooks Plugin.</p>
<h3>Genesis Shortcodes</h3>
<p>There are numerous &#8220;<a title="Genesis Shortcode Reference" href="http://dev.studiopress.com/shortcode-reference " rel="nofollow" target="_blank">shortcodes</a>&#8221; you can use in the Simple Hooks plugin (which will display in the Genesis area of WordPress after you install it). Refer to the <a title="Genesis Shortcode Reference" href="http://dev.studiopress.com/shortcode-reference " rel="nofollow" target="_blank">Genesis Shortcode Reference</a> to find the code to display the content you want on your sites. Add the shortcode to the appropriate area in the Simple Hooks plugin. For example, to display the post tags below each post, enter the post_tags shortcode in the simple hook &#8220;genesis_after_post_content&#8221; hook and click Save Changes. Badabing, badaboom, your tags will display at the bottom of the post:</p>
<h2><a href="http://askwpgirl.com/wp-content/uploads/2011/09/gensis-hooks.png" rel="lightbox[416]"><img class="alignnone size-full wp-image-417" title="gensis hooks" src="http://askwpgirl.com/wp-content/uploads/2011/09/gensis-hooks.png" alt="" width="600" height="251" /></a></h2>
<h3>Genesis Footer Widgets</h3>
<p>To add widgets to your Genesis footer, you will need FTP access to your site and a text editor to edit the child theme&#8217;s functions.php file. Then, you can follow these instructions from the Genesis Tutorials site: <a title="Genesis Footer Widgets" href="http://genesistutorials.com/genesis-footer" rel="nofollow" target="_blank">Adding Widgets to the Genesis Child Theme Footer</a></p>
<p>Or, you can use this handy plugin to automatically add three footer widgets to your Genesis child theme: <a href="http://wordpress.org/extend/plugins/genesis-footer-widgets/" target="_blank">Genesis Footer Widgets</a>.</p>
<h3>Genesis Sidebars</h3>
<p>Also, if you want different sidebars on different pages or posts, install the <a title="Genesis Simple Sidebars" href="http://www.studiopress.com/plugins/simple-sidebars" rel="nofollow" target="_blank">Genesis Simple Sidebars</a> plugin. This plugin will let you create different sidebars easily which you can choose on a per page/post basis.</p>
<h3>Genesis Simple Edits</h3>
<p>This <a href="http://www.studiopress.com/plugins/simple-edits" target="_blank">Genesis Simple Edits plugin</a> creates a new Genesis settings page that allows you to modify the post-info (byline), post-meta, and footer area on any Genesis theme. Using text, shortcodes, and HTML in the textboxes provided in the admin screen, these three commonly modified areas are easily editable, without having to learn PHP or write functions, filters, or mess with hooks.</p>
<p><img class="alignnone size-full wp-image-444" title="simple-edits-small" src="http://askwpgirl.com/wp-content/uploads/2011/09/simple-edits-small.png" alt="" width="575" height="297" /></p>
<h3>Other Genesis Plugins</h3>
<p>You can find many other helpful Genesis plugins on the <a href="http://wordpress.org/extend/plugins/search.php?q=genesis" target="_blank">WordPress.org Plugin Repository</a>.</p>
<img src="http://feeds.feedburner.com/~r/AskWpGirl/~4/BxOTOHwyNfQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://askwpgirl.com/customizing-studio-press-child-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://askwpgirl.com/customizing-studio-press-child-themes/</feedburner:origLink></item>
		<item>
		<title>TimThumb WordPress Security Vulnerability</title>
		<link>http://feedproxy.google.com/~r/AskWpGirl/~3/aYiH_iRayus/</link>
		<comments>http://askwpgirl.com/timthumb-wordpress-security-vulnerability/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 21:12:32 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://askwpgirl.com/?p=405</guid>
		<description><![CDATA[Zero Day Vulnerability in Many WordPress Themes TimThumb is a popular image resizing utility used on millions of sites worldwide. It is inherently vulnerable because it allows hackers to upload and execute arbitrary PHP code in your timthumb cache directory. To prevent this from happening, it is urgent that you either update your TimThumb script [...]]]></description>
			<content:encoded><![CDATA[<h2>Zero Day Vulnerability in Many WordPress Themes</h2>
<p><a href="http://askwpgirl.com/wp-content/uploads/2011/08/TIMTHUMB.png" rel="lightbox[405]"><img class="alignnone size-full wp-image-413" title="TIMTHUMB" src="http://askwpgirl.com/wp-content/uploads/2011/08/TIMTHUMB.png" alt="" width="599" height="154" /></a><br />
TimThumb is a popular image resizing utility used on millions of sites worldwide. It is inherently vulnerable because it allows hackers to upload and execute arbitrary PHP code in your timthumb cache directory.</p>
<p>To prevent this from happening, it is urgent that you either update your TimThumb script to the latest version, remove it or edit it and set the $allowedSites array to be empty.</p>
<p>I already know several people whose sites have been hacked from this vulnerability. My WordPress Firewall plugin alerts show that robots are surfing the net and targeting all WordPress sites looking for this script to exploit. It does not matter that your site is unpopular or receives no visitors or that the theme containing it is not active. Hackers don&#8217;t care if you don&#8217;t use your site any longer. If you have this script, you will likely get hacked sooner or later.</p>
<h3>How do you know if you are at risk?</h3>
<p>1 &#8211; First, login into your site using your FTP application or SSH (<a href="http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/" target="_blank">SSH instructions here</a>).</p>
<p>2 &#8211; Check ALL the files in your themes folder on your server to see if you have any file named timthumb.php or thumb.php (different theme developers named this differently).</p>
<p>3 &#8211; Open the file in your html editor and look for</p>
<pre class="brush: php; title: ; notranslate">* TimThumb script created by Ben Gillbanks, originally created by Tim McDaniels and Darren Hoyt
* http://code.google.com/p/timthumb/</pre>
<p>If that is in the file, then you are looking at the correct file.</p>
<p>Here are a list of free themes on the wordpress.org site that contain(ed) this script: <a href="http://blog.sucuri.net/2011/08/timthumb-security-vulnerability-list-of-themes-including-it.html" target="_blank">http://blog.sucuri.net/2011/08/timthumb-security-vulnerability-list-of-themes-including-it.html</a></p>
<p>Also, all Elegant Themes downloaded prior to August 2011 contain this script. <a rel="nofollow"  href="http://www.elegantthemes.com/blog/theme-changesbug-fixes/timthumb-vulnerability-security-update" target="_blank">Elegant Themes has updated all of their themes</a> to no longer use this script.</p>
<h3>How do you fix it?</h3>
<p>1 &#8211; Go to <a rel="nofollow"  href="http://timthumb.googlecode.com/svn/trunk/timthumb.php" target="_blank">http://timthumb.googlecode.com/svn/trunk/timthumb.php</a> and copy all of the code on the page.</p>
<p>2 &#8211; Open your theme&#8217;s timthumb.php file and delete the content. Paste the code you just copied into it.</p>
<p>6 &#8211; At the very end of the code in the file, be sure that it ends with a ?&gt; to close the PHP function. (For some reason the googlecode does not have the ending ?&gt; &#8211; go figure.)</p>
<p>7 -Next, set allow external sites to false. This will prevent image fetching from external sites.</p>
<pre class="brush: php; title: ; notranslate">if(! defined('ALLOW_EXTERNAL') )         define ('ALLOW_EXTERNAL', false);            // Allow image fetching from external websites. Will check against ALLOWED_SITES if ALLOW_ALL_EXTERNAL_SITES is false</pre>
<p>8 &#8211; Next scroll to the top of the file and start to slowly scroll down until you see an area that says $allowedSites.  Remove all of the sites listed in the array:</p>
<p>Before:</p>
<pre class="brush: php; title: ; notranslate">$allowedSites = array (
'flickr.com',
'picasa.com',
'blogger.com',
'wordpress.com',
'img.youtube.com',
'upload.wikimedia.org',
'photobucket.com',
);</pre>
<p>After:</p>
<pre class="brush: php; title: ; notranslate">$allowedSites = array (

);</pre>
<p>9 &#8211; Save and upload the file.</p>
<p>10 &#8211; Repeat for ALL timthumb.php files found on your server, even the ones for themes you are not using.</p>
<p><em>Note: If you are not using the theme, then you should probably remove it from the server. Also, do NOT leave a backup of the OLD timthumb.php file on your server. If you want to keep a backup, then store it on your local computer, not on the server.<br />
</em></p>
<h3>More Information and Resources</h3>
<ul>
<li>Scan your site at <a href="http://sucuri.net" target="_blank">http://sucuri.net</a></li>
<li>Read more about how this vulnerability was discovered at: <a href="http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/" target="_blank">http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/</a></li>
<li>Subscribe to WP Security Lock to stay on top of the latest WordPress Security issues: <a href="http://www.wpsecuritylock.com/" target="_blank">http://www.wpsecuritylock.com/</a></li>
<li>Install the WordPress Firewall Plugin: <a rel="nofollow"  href="http://wordpress.org/extend/plugins/wordpress-firewall-2/" target="_blank">http://wordpress.org/extend/plugins/wordpress-firewall-2/</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/AskWpGirl/~4/aYiH_iRayus" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://askwpgirl.com/timthumb-wordpress-security-vulnerability/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://askwpgirl.com/timthumb-wordpress-security-vulnerability/</feedburner:origLink></item>
		<item>
		<title>Create an Image Gallery in WordPress Using a Lightbox Plugin</title>
		<link>http://feedproxy.google.com/~r/AskWpGirl/~3/i8P-WJGZGbU/</link>
		<comments>http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 03:06:45 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://askwpgirl.com/?p=365</guid>
		<description><![CDATA[WordPress supports image galleries without having to use any plugins. However, using a couple simple plugins will take your WordPress gallery from nice to wow! 1 &#8211; Install Cleaner Gallery Plugin The Cleaner Gallery plugin creates valid HTML code (which the default WordPress gallery does not) and ingrates with many lightbox-type plugins. (Lightbox displays a [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress supports image galleries without having to use any plugins. However, using a couple simple plugins will take your WordPress gallery from nice to wow!</p>
<h3>1 &#8211; Install Cleaner Gallery Plugin</h3>
<p>The Cleaner Gallery plugin creates valid HTML code (which the default WordPress gallery does not) and ingrates with many lightbox-type plugins. (Lightbox displays a large version of an image on top of the web page and fades out the rest of the web page. For an example of lightbox effect, see the Demo on the Slimbox 2 site: <a rel="nofollow"  href="http://www.digitalia.be/software/slimbox2/" target="_blank">http://www.digitalia.be/software/slimbox2/</a>.) (Note: the Cleaner Gallery plugin may not play well with some themes, so deactivate this plugin and skip on down to #2 if you find that the gallery doesn&#8217;t work properly after you&#8217;ve installed it.)</p>
<p>To install the plugin:</p>
<ol>
<li>Login to your WordPress dashboard and go to <strong>Plugins &gt; Add New</strong>.</li>
<li>In the search field, type <em>Cleaner Gallery</em>.</li>
<li>Click<strong> Install Now</strong> for the Cleaner Gallery plugin by Justin Tadlock and click the OK button when asked if you want to install the plugin.</li>
<li>Click the <strong>Activate Plugin</strong> link.</li>
</ol>
<h3>2 &#8211; Choose a Lightbox Plugin</h3>
<p>There are several lightbox plugins which work with Cleaner Gallery. The important thing when selecting a lightbox plugin is to find one that has been recently updated and installed by many other people &#8212; these two things demonstrate that the plugin is going concern for the developer and likely to stay updated. Each lightbox plugin works a little differently in terms of how the image enlarges, how the navigation displays, how the caption and image title display, etc. You can check the functionality of the following plugins and then decide which one you want to use:</p>
<ul>
<li><strong>Fancybox for WordPress </strong>by<strong> </strong>José Pardilla<strong>:</strong> http://wordpress.org/extend/plugins/fancybox-for-wordpress/| <a rel="nofollow"  href="http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/" target="_blank">View Demo</a> (scroll down to see the Images Demo).</li>
<li><strong>WP-Slimbox2 Plugin </strong>by Greg Yingling (malcalevak): <a rel="nofollow"  href="http://wordpress.org/extend/plugins/wp-slimbox2/" target="_blank">http://wordpress.org/extend/plugins/wp-slimbox2/</a>. See demo at: <a rel="nofollow"  href="http://www.digitalia.be/software/slimbox2/" target="_blank">http://www.digitalia.be/software/slimbox2/</a></li>
<li><strong>Floatbox Plus </strong>by Oliver Schaal: http://wordpress.org/extend/plugins/floatbox-plus/. See demo at: <a rel="nofollow"  href="http://randomous.com/floatbox/demo" target="_blank">http://randomous.com/floatbox/demo</a></li>
<li><strong>wp-jquery-lightbox</strong> by Ulf Benjaminsson: <a rel="nofollow"  href="http://wordpress.org/extend/plugins/wp-jquery-lightbox/" target="_blank">http://wordpress.org/extend/plugins/wp-jquery-lightbox/</a>. See demo at: <a rel="nofollow"  href="http://game.hgo.se/blog/motion-capture/" target="_blank">http://game.hgo.se/blog/motion-capture/</a></li>
<li><strong>Lightbox 2 by</strong> Rupert Morris: <a rel="nofollow"  href="http://wordpress.org/extend/plugins/lightbox-2/" target="_blank">http://wordpress.org/extend/plugins/lightbox-2/</a></li>
<li><strong>Thickbox: </strong>You can use the thickbox script that comes with WordPress and not have to install anything. See demo at: <a rel="nofollow"  href="http://jquery.com/demo/thickbox/" target="_blank">http://jquery.com/demo/thickbox/</a></li>
</ul>
<h3>3 &#8211; Install Your Choice Lightbox Plugin</h3>
<ol>
<li>Login to your WordPress dashboard and go to <strong>Plugins &gt; Add New</strong>.</li>
<li>In the search field, type the name of the plugin you chose from the above list in step 2. There are many plugins with similar names, so if you type the name exactly as the text in bold above, you&#8217;re more likely to find the correct plugin. Be sure to match the plugin author name as well. (If you want to use the Thickbox script that comes with WordPress, you don&#8217;t have to install a plugin.)</li>
<li>Click <strong>Install Now</strong> and click the <strong>OK</strong> button when asked if you want to install the plugin.</li>
<li>Click the <strong>Activate Plugin</strong> link.</li>
</ol>
<h3>4 &#8211; Set the Cleaner Gallery Settings</h3>
<ol>
<li>Under Appearance, click Cleaner Gallery.</li>
<li>In the Default Gallery Settings, choose display Thumbnail and Images should link to full image. You can set other settings as you prefer.</li>
<li>If you are using the built-in WordPress Thickbox, check the two Thickbox checkboxes under Script and Style settings. If you are using one of the other plugins listed above, choose the plugin name from the list under External Image Script.</li>
<li>Click Update Settings.</li>
</ol>
<p><img class="alignnone size-full wp-image-397" title="Cleaner Gallery" src="http://askwpgirl.com/wp-content/uploads/2011/08/Cleaner-Gallery.png" alt="" width="642" height="495" /></p>
<h3>5 &#8211; Set the Lightbox Plugin Settings</h3>
<p>Look under the Settings area for the lightbox plugin you installed in step 3 above and set whatever settings you&#8217;d like for the lightbox effect. For example, using the Lightbox 2 plugin, I like to set the option to have the images dynamically resized so they fit within the browser window.</p>
<h3>6 &#8211; Upload Images and Insert Gallery</h3>
<ol>
<li>On the post or page where you&#8217;d like to display your gallery, click the Add an Image icon to the right of Upload/Insert just above the visual editor toolbar.</li>
<li>Upload multiple images by shift-clicking to select a group of images.</li>
<li>After the images have uploaded, click Save Changes.</li>
<li>The Gallery tab will automatically be selected. In the Gallery Settings area, choose link thumbnails to Image File and the number of columns you&#8217;d like, then click Insert Gallery.<img class="alignnone size-full wp-image-395" title="gallerysettings" src="http://askwpgirl.com/wp-content/uploads/2011/08/gallerysettings.png" alt="" width="479" height="257" /></li>
<li>The gallery will insert a shortcode on your page or post which will display as a camera with a photo. To see the shortcode, click the HTML tab.</li>
<li>Update or Publish your post and view the results. If you have any trouble with this, try using a different lightbox plugin or deactivating the Cleaner Gallery plugin. The results vary depending on the theme you are using. If your theme already has a lightbox effect installed, you may not need to install a lightbox plugin and can just do this step 6 in order for your gallery to display.</li>
</ol>
<p>Below is a gallery of images from my recent trip to Peru.</p>
<p>In order to exclude the screenshots above from this gallery, I went into the HTML tab and modified the short code to remove these image IDs (which you can find by going the Media &gt; Library and editing the image. The image ID displays in the browser URL. Here&#8217;s my modified shortcode: [ gallery link="file" columns="4" exclude="395,397" ] (Note: I put spaces after the brackets so you can see the code, otherwise, you&#8217;d just see the images again. You can exclude more than one image by separating the image IDs with commas.) For more information about the Gallery shortcode, see <a rel="nofollow"  href="http://codex.wordpress.org/Gallery_Shortcode" target="_blank">http://codex.wordpress.org/Gallery_Shortcode</a></p>

<a href='http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/img_3276/' title='IMG_3276'><img width="150" height="150" src="http://askwpgirl.com/wp-content/uploads/2011/08/IMG_3276-150x150.jpg" class="attachment-thumbnail" alt="IMG_3276" title="IMG_3276" /></a>
<a href='http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/img_3292/' title='IMG_3292'><img width="150" height="150" src="http://askwpgirl.com/wp-content/uploads/2011/08/IMG_3292-150x150.jpg" class="attachment-thumbnail" alt="IMG_3292" title="IMG_3292" /></a>
<a href='http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/img_3288/' title='IMG_3288'><img width="150" height="150" src="http://askwpgirl.com/wp-content/uploads/2011/08/IMG_3288-150x150.jpg" class="attachment-thumbnail" alt="IMG_3288" title="IMG_3288" /></a>
<a href='http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/img_3287/' title='IMG_3287'><img width="150" height="150" src="http://askwpgirl.com/wp-content/uploads/2011/08/IMG_3287-150x150.jpg" class="attachment-thumbnail" alt="IMG_3287" title="IMG_3287" /></a>
<a href='http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/img_3282/' title='IMG_3282'><img width="150" height="150" src="http://askwpgirl.com/wp-content/uploads/2011/08/IMG_3282-150x150.jpg" class="attachment-thumbnail" alt="IMG_3282" title="IMG_3282" /></a>
<a href='http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/img_3281/' title='IMG_3281'><img width="150" height="150" src="http://askwpgirl.com/wp-content/uploads/2011/08/IMG_3281-150x150.jpg" class="attachment-thumbnail" alt="IMG_3281" title="IMG_3281" /></a>
<a href='http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/img_3280/' title='IMG_3280'><img width="150" height="150" src="http://askwpgirl.com/wp-content/uploads/2011/08/IMG_3280-150x150.jpg" class="attachment-thumbnail" alt="IMG_3280" title="IMG_3280" /></a>

<img src="http://feeds.feedburner.com/~r/AskWpGirl/~4/i8P-WJGZGbU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://askwpgirl.com/wordpress-image-gallery-lightbox-plugin/</feedburner:origLink></item>
	</channel>
</rss>

