<?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>WPBandit</title> <atom:link href="http://wpbandit.com/feed/" rel="self" type="application/rss+xml" /><link>http://wpbandit.com</link> <description>WordPress Themes, Free PSDs &#38; Resources</description> <lastBuildDate>Mon, 20 Feb 2012 15:51:34 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Easily Add Javascript To Your WordPress Themes</title><link>http://wpbandit.com/easily-add-javascript-to-your-wordpress-themes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=easily-add-javascript-to-your-wordpress-themes</link> <comments>http://wpbandit.com/easily-add-javascript-to-your-wordpress-themes/#comments</comments> <pubDate>Mon, 20 Feb 2012 14:30:03 +0000</pubDate> <dc:creator>Jermaine</dc:creator> <category><![CDATA[Tips]]></category><guid isPermaLink="false">http://wpbandit.com/?p=141</guid> <description><![CDATA[WordPress has built-in functions to add javascript to your themes. It is really tempting to manually place &#60;script&#62; tags in your header.php template but...]]></description> <content:encoded><![CDATA[<p>WordPress has built-in functions to add javascript to your themes. It is really tempting to manually place <code>&lt;script&gt;</code> tags in your <em>header.php</em> template but we advise against it. It can break compatibility with your current theme and possibly several of your plugins.</p><p><span id="more-141"></span></p><h3>The Problem</h3><p>Many themes use some sort of jQuery slider  to display featured posts. In order to use the slider your theme must load jQuery, the jQuery plugin (for the slider), and most likely custom jQuery code to initialize the slider. Manually adding all javascript files to your theme will work OK until you have a plugin that requires jQuery.</p><p>The code will possibly look similar to below:</p><p><script src="https://gist.github.com/1866931.js"></script></p><p>Once you enable a plugin that requires jQuery and loads it properly you will discover that jQuery has been loaded twice. This will typically cause a conflict and things will break.</p><h3>The Solution</h3><p>The correct way to add javascript files to your theme requires using the <strong>wp_register_script</strong> and <strong>wp_enqueue_script</strong> functions. The register function does exactly as it says and registers your script(s) for use. The enqueue function actually loads the script in your theme. You can enqueue (load) a script without registering it.</p><p>The correct way to add scripts:</p><p><script src="https://gist.github.com/1867033.js"></script></p><p>In the example above I showed how to use the register and enqueue functions. Both functions take five paramaters and each one is explained below.</p><ul><li>$handle &#8211; name of the script, this should be unique</li><li>$src &#8211; the full URL of the script</li><li>$deps &#8211; an array of scripts required by this script</li><li>$ver &#8211; the version of the script</li><li>$in_footer &#8211; load script in the footer, default: FALSE</li></ul><h4>One Caveat</h4><p>You may have noticed that I used the <strong>wp_enqueue_scripts</strong> action to register and enqueue the scripts. As of WordPress 3.3 you are required to use the <em>wp_enqueue_scripts</em>, <em>admin_enqueue_scripts</em>, or <em>init</em> actions to register and enqueue stylesheets and javascript. This is pretty simple and does not take a lot of extra effort.</p><p>Happy coding!</p> ]]></content:encoded> <wfw:commentRss>http://wpbandit.com/easily-add-javascript-to-your-wordpress-themes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Properly Install WordPress Themes</title><link>http://wpbandit.com/how-to-properly-install-wordpress-themes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-properly-install-wordpress-themes</link> <comments>http://wpbandit.com/how-to-properly-install-wordpress-themes/#comments</comments> <pubDate>Mon, 06 Feb 2012 12:00:56 +0000</pubDate> <dc:creator>Jermaine</dc:creator> <category><![CDATA[Tips]]></category> <category><![CDATA[Theme Installation]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://wpbandit.com/?p=131</guid> <description><![CDATA[Installing a WordPress theme is quite simple using the WordPress dashboard. This post will help you get started whether you are new to WordPress...]]></description> <content:encoded><![CDATA[<p class="summary">Installing a WordPress theme is quite simple using the WordPress dashboard. This post will help you get started whether you are new to WordPress or have an existing site with many posts. Hate reading directions? Jump to the <em>Important</em> section below.</p><p><span id="more-131"></span></p><h3>Paranoid</h3><p>I cannot recall ever losing any data installing a WordPress theme but if you&#8217;re the extremely paranoid type I recommend backing up your site. There are many solutions available and I have not used any of them ;-) Pick one, try it out and hope that all goes well &#8211; just in case.</p><h3>Smart</h3><p>Before installing a new theme it would probably be a good idea to put your site in some kind of maintenance mode. This will show visitors a temporary page while you setup the new theme. All of our themes are powered by our wonderful Feather plugin which includes such an option. How nice of us right? :D</p><p>As an alternative two popular plugins are:</p><ul><li><a href="http://wordpress.org/extend/plugins/wp-maintenance-mode/" target="_blank">WP Maintenance Mode</a></li><li><a href="http://wordpress.org/extend/plugins/maintenance-mode/" target="_blank">Maintenance Mode</a></li></ul><h3>Important</h3><p>The most important thing you must do before installing a new theme is to <strong>disable all of your plugins</strong>. Sometimes conflicts can occur between plugins and themes breaking the function of the plugin and/or theme. If you have 10+ plugins installed it can be difficult to determine which one is causing the issue.</p><h3>Work</h3><p>After you have installed your theme (<strong>with all plugins disabled</strong>) begin to setup your theme. If your theme includes options be sure that all you plan to use are working as expected.</p><p><strong>Activate Plugins</strong></p><p>At this point your theme should be almost be ready to launch with the exception of the plugins you plan to use. Activate each plugin one-by-one and test the most important sections of your site. While this may seem tedious it can save a lot of work later.</p><h3>Pro Tip</h3><p>Ideally it is beneficial to have a development environment to do testing before uploading the theme to your server. This helps to minimize and eliminate errors that may occur.</p><p>—<br /> Additional Information: <a href="http://codex.wordpress.org/Themes#Adding_New_Themes" target="_blank">WordPress Codex &#8211; Adding New Themes</a></p> ]]></content:encoded> <wfw:commentRss>http://wpbandit.com/how-to-properly-install-wordpress-themes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Freebies &#8211; what would you like to see?</title><link>http://wpbandit.com/freebie-psds-what-would-you-like-to-see/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=freebie-psds-what-would-you-like-to-see</link> <comments>http://wpbandit.com/freebie-psds-what-would-you-like-to-see/#comments</comments> <pubDate>Wed, 25 Jan 2012 21:29:22 +0000</pubDate> <dc:creator>Alexander</dc:creator> <category><![CDATA[Freebies]]></category><guid isPermaLink="false">http://wpbandit.com/?p=116</guid> <description><![CDATA[Now with the new freebie section up and running, we would love to hear your ideas on what you would like to see there....]]></description> <content:encoded><![CDATA[<p>Now with the new freebie section up and running, we would love to hear your ideas on what you would like to see there. More buttons? Some random interfaces? Full website designs? Icons? Interface-imitations, such as the Steam UI one? We&#8217;re open to all ideas here. The more the better. Leave a comment below if you have some good idea &#8211; it will help us.</p> ]]></content:encoded> <wfw:commentRss>http://wpbandit.com/freebie-psds-what-would-you-like-to-see/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>New year, new look and plenty of new ideas</title><link>http://wpbandit.com/new-year-new-look-and-plenty-of-new-ideas/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-year-new-look-and-plenty-of-new-ideas</link> <comments>http://wpbandit.com/new-year-new-look-and-plenty-of-new-ideas/#comments</comments> <pubDate>Wed, 25 Jan 2012 18:54:48 +0000</pubDate> <dc:creator>Alexander</dc:creator> <category><![CDATA[News]]></category> <category><![CDATA[Freebies]]></category> <category><![CDATA[Ideas]]></category> <category><![CDATA[New website design]]></category><guid isPermaLink="false">http://wpbandit.com/?p=96</guid> <description><![CDATA[What you see here is the new WPBandit. We decided it was time for a facelift and have added some new sections to the...]]></description> <content:encoded><![CDATA[<p>What you see here is the new WPBandit. We decided it was time for a facelift and have added some new sections to the site. In addition we have restructured our workflow.</p><h4>What&#8217;s new?</h4><p>Other than the completely new design, we have migrated our support forum to the bbPress plugin. Less bridges, more stability and continuous updates for the plugin were some of the key points in that decision. Hopefully the forum will also feel a little bit more &#8220;modern&#8221; now.</p><h4>Workflow</h4><p>Over time our development environment became split with a mixture of SVN and GIT repositories. All of our code has been migrated to git (we&#8217;re now using <a href="http://github.com/" title="github">github</a> for everything) which will allow us to create new themes and update existing ones much faster.</p><h4>Giving back</h4><p>We felt it was time for us to give back to our awesome supporters, and that is what we will do in the form of freebies! New items will be added to the freebies section as time permits. Most of them will be useful PSD resources &#8211; but you can probably expect some neat code examples as well.</p><p>So there you go, this is WPB version five &#8211; we hope that you like it. If you spot any issues with the new site, please let us know.</p><p>Thank you for your support!</p> ]]></content:encoded> <wfw:commentRss>http://wpbandit.com/new-year-new-look-and-plenty-of-new-ideas/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using apc
Object Caching 353/428 objects using apc
Content Delivery Network via Amazon Web Services: CloudFront: d2qy1llrlda81m.cloudfront.net

Served from: wpbandit.com @ 2012-02-22 17:41:56 -->
