<?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>WordPress Theme Mods &#187; Word Press Code Snippets/Tutorials</title>
	<atom:link href="http://wpthememods.com/category/links/word-press-code-snippetstutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://wpthememods.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 06 Jun 2011 22:56:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Re-direct for Login Page</title>
		<link>http://wpthememods.com/links/word-press-code-snippetstutorials/re-direct-for-login-page.html</link>
		<comments>http://wpthememods.com/links/word-press-code-snippetstutorials/re-direct-for-login-page.html#comments</comments>
		<pubDate>Mon, 06 Jun 2011 22:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=671</guid>
		<description><![CDATA[function possibly_redirect(){ global $pagenow; if( &#8216;wp-login.php&#8217; == $pagenow ) { wp_redirect(&#8216;devsite/login/&#8217;); exit(); } }]]></description>
			<content:encoded><![CDATA[<p>function possibly_redirect(){<br />
 global $pagenow;<br />
 if( &#8216;wp-login.php&#8217; == $pagenow ) {<br />
  wp_redirect(&#8216;devsite/login/&#8217;);<br />
  exit();<br />
 }<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/word-press-code-snippetstutorials/re-direct-for-login-page.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Cloud Front with JW Player Support</title>
		<link>http://wpthememods.com/links/wordpress-and-jquery-links/setting-up-cloud-front-with-jw-player-support.html</link>
		<comments>http://wpthememods.com/links/wordpress-and-jquery-links/setting-up-cloud-front-with-jw-player-support.html#comments</comments>
		<pubDate>Sun, 06 Feb 2011 23:09:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress and JQuery]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=656</guid>
		<description><![CDATA[1.  Create an Amazon Web Services account 2.  Create Amazon S3 Account 3.  Create Amazon CloudFront Account 4.  Create an S3 bucket 5.  Link Cloud Front Distribution to S3 bucket 6. Create login in an FTP that supports Amazon S3 7. Upload video to S3 8.  Insert video in post using jwplayer shortcode]]></description>
			<content:encoded><![CDATA[<p>1.  Create an <a href="http://aws.amazon.com/">Amazon Web Services</a> account</p>
<p>2.  Create Amazon S3 Account</p>
<p>3.  Create Amazon CloudFront Account</p>
<p>4.  Create an S3 bucket</p>
<p>5.  Link Cloud Front Distribution to S3 bucket</p>
<p>6. Create login in an FTP that supports Amazon S3</p>
<p>7. Upload video to S3</p>
<p>8.  Insert video in post using jwplayer shortcode</p>
<div>
<div>
<p></p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/wordpress-and-jquery-links/setting-up-cloud-front-with-jw-player-support.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Show related posts</title>
		<link>http://wpthememods.com/links/word-press-code-snippetstutorials/how-to-show-related-posts.html</link>
		<comments>http://wpthememods.com/links/word-press-code-snippetstutorials/how-to-show-related-posts.html#comments</comments>
		<pubDate>Tue, 02 Nov 2010 03:30:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=652</guid>
		<description><![CDATA[How to  Show related posts without a plugin]]></description>
			<content:encoded><![CDATA[How to  Show related posts without a plugin]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/word-press-code-snippetstutorials/how-to-show-related-posts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to List Recent Posts from One Category</title>
		<link>http://wpthememods.com/links/word-press-code-snippetstutorials/how-to-list-recent-posts-from-one-category.html</link>
		<comments>http://wpthememods.com/links/word-press-code-snippetstutorials/how-to-list-recent-posts-from-one-category.html#comments</comments>
		<pubDate>Sat, 30 Oct 2010 18:36:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=650</guid>
		<description><![CDATA[How to List Recent Posts from One Category]]></description>
			<content:encoded><![CDATA[How to List Recent Posts from One Category]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/word-press-code-snippetstutorials/how-to-list-recent-posts-from-one-category.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure WordPress</title>
		<link>http://wpthememods.com/links/wordpress-development/secure-wordpress.html</link>
		<comments>http://wpthememods.com/links/wordpress-development/secure-wordpress.html#comments</comments>
		<pubDate>Tue, 03 Aug 2010 05:35:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>
		<category><![CDATA[WordPress Development]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=536</guid>
		<description><![CDATA[Secure your WordPress site]]></description>
			<content:encoded><![CDATA[Secure your WordPress site]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/wordpress-development/secure-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Tutorials</title>
		<link>http://wpthememods.com/links/wordpress-development/wordpress-3-0-tutorials.html</link>
		<comments>http://wpthememods.com/links/wordpress-development/wordpress-3-0-tutorials.html#comments</comments>
		<pubDate>Tue, 03 Aug 2010 05:34:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>
		<category><![CDATA[WordPress Development]]></category>
		<category><![CDATA[3.0]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=534</guid>
		<description><![CDATA[WordPress 3.0 Tutorials]]></description>
			<content:encoded><![CDATA[WordPress 3.0 Tutorials]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/wordpress-development/wordpress-3-0-tutorials.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Popeye Plugin for WordPress</title>
		<link>http://wpthememods.com/links/wordpress-plugins-links/popeye-plugin-for-wordpress.html</link>
		<comments>http://wpthememods.com/links/wordpress-plugins-links/popeye-plugin-for-wordpress.html#comments</comments>
		<pubDate>Tue, 03 Aug 2010 04:37:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[photo gallery]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=530</guid>
		<description><![CDATA[Cool image effect ]]></description>
			<content:encoded><![CDATA[Cool image effect ]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/wordpress-plugins-links/popeye-plugin-for-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Columns in WordPress Post or Page</title>
		<link>http://wpthememods.com/links/word-press-code-snippetstutorials/create-columns-in-wordpress-post-or-page.html</link>
		<comments>http://wpthememods.com/links/word-press-code-snippetstutorials/create-columns-in-wordpress-post-or-page.html#comments</comments>
		<pubDate>Sun, 18 Jul 2010 03:29:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=490</guid>
		<description><![CDATA[Adding columns too a WordPress post or page with CSS]]></description>
			<content:encoded><![CDATA[<p>Go to HTML editor and add:</p>
<pre class="brush: xml;">&lt;div id=&quot;left&quot;&gt;text&lt;/div&gt;
&lt;div id=&quot;right&quot;&gt;text&lt;/div&gt;</pre>
<p>Add following to the style sheet:</p>
<pre class="brush: css;">#contact-left{
 float: left;
 width: 150px;
}
#contact-right{
 float: right;
 width: 400px;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/word-press-code-snippetstutorials/create-columns-in-wordpress-post-or-page.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a Widgeted Footer in a Studio Press Theme</title>
		<link>http://wpthememods.com/links/word-press-code-snippetstutorials/adding-a-widgeted-footer-in-a-studio-press-theme-2.html</link>
		<comments>http://wpthememods.com/links/word-press-code-snippetstutorials/adding-a-widgeted-footer-in-a-studio-press-theme-2.html#comments</comments>
		<pubDate>Sun, 18 Jul 2010 02:20:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=449</guid>
		<description><![CDATA[Add a widgeted footer in a Studio Press child theme using the simple hooks plugin]]></description>
			<content:encoded><![CDATA[<p>Below is directions for creating a 3 column footer area for a Genesis  Child Theme using the Simple Hooks Plugin. </p>
<p>First: Register Sidebars in functions.php:</p>
<pre class="brush: php;">
genesis_register_sidebar(array(
	'name'=&gt;'Home Bottom #1',
	'description' =&gt; 'This is the first column of the bottom section of the homepage.',
	'before_widget' =&gt; '&lt;div id=&quot;%1$s&quot; class=&quot;widget %2$s&quot;&gt;', 'after_widget'  =&gt; '&lt;/div&gt;',
	'before_title'=&gt;'&lt;h4 class=&quot;widgettitle&quot;&gt;','after_title'=&gt;'&lt;/h4&gt;'
));
genesis_register_sidebar(array(
	'name'=&gt;'Home Bottom #2',
	'description' =&gt; 'This is the second column of the bottom section of the homepage.',
	'before_widget' =&gt; '&lt;div id=&quot;%1$s&quot; class=&quot;widget %2$s&quot;&gt;', 'after_widget'  =&gt; '&lt;/div&gt;',
	'before_title'=&gt;'&lt;h4 class=&quot;widgettitle&quot;&gt;','after_title'=&gt;'&lt;/h4&gt;'
));
genesis_register_sidebar(array(
	'name'=&gt;'Home Bottom #3',
	'description' =&gt; 'This is the third column of the bottom section of the homepage.',
	'before_widget' =&gt; '&lt;div id=&quot;%1$s&quot; class=&quot;widget %2$s&quot;&gt;', 'after_widget'  =&gt; '&lt;/div&gt;',
	'before_title'=&gt;'&lt;h4 class=&quot;widgettitle&quot;&gt;','after_title'=&gt;'&lt;/h4&gt;'
));
?&gt;</pre>
<p>2nd, add following code to stylesheet:</p>
<pre class="brush: css;">

#footer_widgeted {

width: 960px;

margin: 0 auto 0;

padding: 0;

overflow: hidden;

}

 

#footer_widgeted a, #footer_widgeted a:visited {

color: #CC3300;

text-decoration: none;

}

 

#footer_widgeted a:hover {

color: #CC3300;

text-decoration: underline;

}

 

#footer_widgeted p {

margin: 0;

padding: 0 0 10px 0;

}

 

#footer_widgeted h2 {

color: #444444;

font-size: 16px;

font-family: Arial, Tahoma, Verdana;

font-weight: bold;

margin: 0 0 5px 0;

padding: 0;

text-decoration: none;

}

 

#footer_widgeted h2 a, #footer_widgeted h2 a:visited {

color: #444444;

text-decoration: none;

text-transform: none;

font-style: normal;

}

 

#footer_widgeted h2 a:hover {

color: #CC3300;

text-decoration: none;

}

 

#footer_widgeted h4 {

color: white;

font-size: 18px;

font-family: Arial, Tahoma, Verdana;

font-weight: bold;

margin: 0 0 10px 0;

padding: 0;

}

 

#footer_widgeted ul {

list-style-type: none;

margin: 0;

padding: 0;

}

 

#footer_widgeted ul li {

list-style-type: none;

margin: 0 0 5px 0;

padding: 0 0 5px 0;

border-bottom: 1px solid #DDDDDD;

}

 

#footer_widgeted ul ul {

list-style-type: none;

margin: 0;

padding: 0 0 10px 0;

}

 

#footer_widgeted ul li ul li {

margin: 0;

padding: 5px 0 0 0;

}

 

#footer_widgeted .widget {

margin: 0;

padding: 0 0 5px 0;

}

 

#footer_widgeted .textwidget {

margin: 0;

padding: 0;

}

 

#footer_widgeted .featuredpost .post, #footer_widgeted .featuredpage .page {

clear: both;

}

 

#footer_widgeted .featuredpost, #footer_widgeted .featuredpage {

clear: both;

}

 

#footer_widgeted .featuredpost img, #footer_widgeted .featuredpage img {

margin: 0 0 10px 0;

padding: 0;

border: 10px solid #F2F2F2;

}

 

#footer_widgeted .user-profile .avatar {

background: #FFFFFF;

margin: 0 0 -5px 0;

padding: 1px;

border: 4px solid #EEEEEE;

}

 

#footer_widgeted_left {

float: left;

width: 300px;

margin: 0;

padding: 10px 15px 0 0;

border-right: 1px dotted #373737;

height: 200px;

}

 

#footer_widgeted_center {

float: left;

width: 300px;

margin: 0;

padding: 10px 0 0 12px;

height: 200px;

}

 

#footer_widgeted_right {

float: right;

width: 300px;

margin: 0;

padding: 10px 0 0 20px;

height: 200px;

border-left: 1px dotted #373737;
</pre>
<p>3rd Add following code under genesis_footer Hook in simple hooks plugin and check Execute PHP on this hook?,</p>
<pre class="brush: php;">
&lt;div id=&quot;footer_widgeted&quot;&gt;

	&lt;div id=&quot;footer_widgeted_left&quot;&gt;
		&lt;?php if (!dynamic_sidebar('Home Bottom #4')) : ?&gt;
		&lt;?php endif; ?&gt;
	&lt;/div&gt;

&lt;div id=&quot;footer_widgeted_center&quot;&gt;
		&lt;?php if (!dynamic_sidebar('Home Bottom #5')) : ?&gt;
		&lt;?php endif; ?&gt;
	&lt;/div&gt;

  &lt;div id=&quot;footer_widgeted_right&quot;&gt;
		&lt;?php if (!dynamic_sidebar('Home Bottom #6')) : ?&gt;
		&lt;?php endif; ?&gt;
	&lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;footer-cr&quot;&lt;p&gt;Copyright &amp;copy; &lt;?php echo date('Y'); ?&gt;  &amp;middot; Windsor Direct. All rights reserved &amp;middot;   &lt;?php wp_loginout(); ?&gt;&lt;/p&gt;&lt;div&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/word-press-code-snippetstutorials/adding-a-widgeted-footer-in-a-studio-press-theme-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Titles and Link to Album in Next Gen Gallery Album Pages</title>
		<link>http://wpthememods.com/links/word-press-code-snippetstutorials/add-titles-and-link-to-album-in-next-gen-gallery-album-pages.html</link>
		<comments>http://wpthememods.com/links/word-press-code-snippetstutorials/add-titles-and-link-to-album-in-next-gen-gallery-album-pages.html#comments</comments>
		<pubDate>Sat, 17 Jul 2010 22:26:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Word Press Code Snippets/Tutorials]]></category>

		<guid isPermaLink="false">http://wpthememods.com/?p=397</guid>
		<description><![CDATA[Add titles and links to the album page in Next Gen Gallery album pages ]]></description>
			<content:encoded><![CDATA[<p>Add following starting at line 17 to nextgen-gallery/view/gallery.php</p>
<pre class="brush: xml;">&lt;h1&gt;&lt;?php
&lt;pre&gt;if($_GET['nggpage'] == &quot;&quot;)
{echo $gallery-&gt;title;}?&gt;&lt;/h1&gt;
</pre>
<div id="_mcePaste">
<p>Starting at line 62:</p>
<pre class="brush: php;">	&lt;!-- Pagination --&gt;  	&lt;?php echo $pagination ?&gt; &lt;h3&gt;&lt;div align=&quot;center&quot; style=&quot;margin-top:10px&quot;&gt; [ &lt;a href=&quot;http://yoursite.com/photo-albums&quot;&gt;View All Albums&lt;/a&gt; ]&lt;/h3&gt;&lt;/div&gt;</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://wpthememods.com/links/word-press-code-snippetstutorials/add-titles-and-link-to-album-in-next-gen-gallery-album-pages.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

