<?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>dropthedigibomb.com &#187; css</title>
	<atom:link href="http://dropthedigibomb.com/category/open-source/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://dropthedigibomb.com</link>
	<description></description>
	<lastBuildDate>Fri, 27 Jan 2012 14:01:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Bootstrap UI from Twitter</title>
		<link>http://dropthedigibomb.com/2011/bootstrap-ui-from-twitter/</link>
		<comments>http://dropthedigibomb.com/2011/bootstrap-ui-from-twitter/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 14:11:02 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=1585</guid>
		<description><![CDATA[Bootstrap UI from Twitter]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.github.com/bootstrap/">Bootstrap UI from Twitter </a></p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2011/bootstrap-ui-from-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at CONFOO &#8211; Web Techno Conference, March 10-12 2010</title>
		<link>http://dropthedigibomb.com/2010/speaking-at-confoo-web-techno-conference-march-10-12-2010/</link>
		<comments>http://dropthedigibomb.com/2010/speaking-at-confoo-web-techno-conference-march-10-12-2010/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 17:38:07 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=952</guid>
		<description><![CDATA[The good people of PHP Quebec have asked me to speak at CONFOO this year! I am very excited about this presentation, I have spoken at many conferences and it is always nice to do one you have not done before. I will be doing a session on WordPress theming, description below&#8230; WordPress is NOT [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-958" title="confoo_logo" src="http://dropthedigibomb.com/wp-content/uploads/confoo_logo.png" alt="confoo_logo" width="580" height="115" /></p>
<p>The good people of <a href="http://www.phpquebec.com/" target="_blank">PHP Quebec</a> have asked me to speak at <a href="http://confoo.ca" target="_blank">CONFOO</a> this year! I am very excited about this presentation, I have spoken at many conferences and it is always nice to do one you have not done before.</p>
<p>I will be doing a session on WordPress theming, description below&#8230;</p>
<p><a href="http://confoo.ca/en/2010/speaker/brendan-sera-shriar" target="_blank">WordPress is NOT just a blog anymore!</a></p>
<p>For the seasoned WordPress developer or anyone coding in PHP, CSS, and jQuery, we will look at how you can take your theme to the next level. I will explain how theme architecture works, how to extend this architecture with custom template files, and how to create custom functions. I will also walk through the some interested CSS frameworks, like 960grid, implementing intermediate to advanced jQuery features, and how to customize the back end. Finally I will briefly discuss how to take your theme mobile using WPTouch and WPMobile.</p>
<p><strong>What&#8217;s CONFOO</strong></p>
<p>PHP Québec, Montréal-Python, Montréal on Rails, W3Qc and OWASP Montréal are proud to announce the first edition of the Confoo.ca Conference. From March 10<sup>th</sup> to 12<sup>th</sup> 2010, international experts in Java, .Net, PHP, Python and Ruby will present solutions for developers and project managers the prestigious <a href="http://confoo.ca/en/hotel" target="_blank">Hilton Bonaventure Hotel</a>, located in downtown Montréal.</p>
<p>There&#8217;s only 15 days left to <a href="http://confoo.ca/en/register" target="_blank">register</a>!</p>
<p>Hope to see you all there!</p>
<p>&#8211;</p>
<p><a href="http://digibombinc.com/events" target="_blank">Check out some of the slide from other events I have presented at.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2010/speaking-at-confoo-web-techno-conference-march-10-12-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Customizing the WordPress Dashboard</title>
		<link>http://dropthedigibomb.com/2010/customizing-the-wordpress-dashboard/</link>
		<comments>http://dropthedigibomb.com/2010/customizing-the-wordpress-dashboard/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 15:31:48 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Project52]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=812</guid>
		<description><![CDATA[You can customize just about everything in WordPress, but quite often we forget about the dashboard. As an admin we spend more time in the dashboard than anywhere else so why not make it look pretty and function the way we need it to. This can be useful for client work as well, the more [...]]]></description>
			<content:encoded><![CDATA[<p>You can customize just about everything in WordPress, but quite often we forget about the dashboard. As an admin we spend more time in the dashboard than anywhere else so why not make it look pretty and function the way we need it to. This can be useful for client work as well, the more you can make the overall experience enjoyable the better. Clients love to see their logos and colours used on the login page and dashboard, and if you are running a community site where your users register, there is a world of possibilities in terms of offering them a more unique back-end experience.</p>
<p>As a designer/developer I dug into the core early on (ver 2.0), wanting to get a better understanding of how WordPress works and how I can customize the overall experience for my clients. I&#8217;ve designed custom login pages and dashboards for almost every WordPress project I&#8217;ve worked on since.</p>
<p>If you have even a basic understanding of CSS and are familiar with how the basics of PHP works in WordPress you can do more than you think quite easily.<br />
<strong> </strong></p>
<p><strong>How to get started</strong><br />
There are essentially 3 ways we can customize the dashboard.</p>
<ol>
<li> plugins (don’t always meet every need)</li>
<li> core files (can change with every new version of WP)</li>
<li> functions.php (flexible and simple)</li>
</ol>
<p>After reading quite a few posts over at <a href="http://wprecipes.com">wprecipes</a> and <a href="http://wpbeginner.com" target="_blank">wpbeginner</a>, I recommend/prefer using the functions.php file, it’s cleaner, and more flexible when it comes to versioning.</p>
<p>First, let’s take a look at the basic architecture of the dashboard or for the sake of this discussion the admin area. Everything you need to get started is located in the wp-admin directory.</p>
<p><strong>wp-admin (what we need)</strong></p>
<ul>
<li>login.css</li>
<li>dashboard.css</li>
<li>wp-admin.css</li>
<li> admin.php</li>
<li> admin-header.php</li>
<li> admin-footer.php</li>
<li> menu.php</li>
</ul>
<p>These files will allow you to make basic changes to the overall look and feel.<br />
<strong></strong></p>
<p><strong>Login Page</strong><br />
Here are 2 great examples<br />
<img class="alignnone size-full wp-image-936" title="login_screen01" src="http://dropthedigibomb.com/wp-content/uploads/login_screen01.jpg" alt="login_screen01" width="581" height="279" /><br />
<em>source http://www.wpbeginner.com/showcase/best-of-best-wordpress-custom-login-page-designs/</em><br />
<img class="alignnone size-full wp-image-937" title="login_screen02" src="http://dropthedigibomb.com/wp-content/uploads/login_screen02.jpg" alt="login_screen02" width="407" height="393" /></p>
<p><em>source http://www.wpbeginner.com/showcase/best-of-best-wordpress-custom-login-page-designs/</em></p>
<p>Open login.css and you can modify the colours, images, and the form. There are also a handful of plugins available, here are 2 you should check out <a href="http://wordpress.org/extend/plugins/custom-admin-branding/" target="_blank">Custom Admin Branding</a> and <a href="http://wordpress.org/extend/plugins/bm-custom-login/" target="_blank">BM Custom Login</a> . You should also read “<a href="http://www.wpbeginner.com/showcase/best-of-best-wordpress-custom-login-page-designs/" target="_blank">Best of Best WordPress Custom Login Page Designs</a>” by wpbeginner.</p>
<p>You can also add a few lines of code to your functions.php file and achieve the same outcome without having to install a plugin or a lot of coding.</p>
<p>Open up your functions.php file or create one if the theme you’re working on does not have one and add the following code to add a custom logo on the login page.</p>
<pre><code>function my_custom_login_logo() {
echo '&lt;style type="text/css"&gt;
h1 a { background-image:url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }
&lt;/style&gt;';
}</code></pre>
<p>The above code modifies the default h1 class by changing the background image to a custom logo file stored in your themes images directory.</p>
<p><img class="alignnone size-full wp-image-938" title="dash_login" src="http://dropthedigibomb.com/wp-content/uploads/dash_login.png" alt="dash_login" width="580" height="353" /><br />
<strong> </strong></p>
<p><strong>Admin Header</strong><br />
If you wanted to change the dashboard logo (top left corner) you could modify admin-header.php. You can also change the visit link and welcome message.</p>
<pre><code>&lt;img src="../wp-includes/images/blank.gif" alt="" width="32" height="32" /&gt; &lt;h1 id="site-heading" &lt;?php echo $title_class ?&gt;&gt;&lt;a href="&lt;?php echo trailingslashit( get_bloginfo('url') ); ?&gt;" title="&lt;?php _e('Visit Site') ?&gt;"&gt;&lt;span&gt;&lt;?php echo $blog_name ?&gt;&lt;/span&gt; &lt;em id="site-visit-button"&gt;&lt;?php _e('Visit Site') ?&gt;&lt;/em&gt;&lt;/a&gt;&lt;/h1&gt;</code></pre>
<p>To change the logo we need to edit line 104 (depending on your editor) or look for <em>img id=&#8221;header-logo</em></p>
<p>All you need to do is change the img src to point to your logo file. One other thing I like to modify is the visit link. Why does it open in the same window? I’m not sure about you? but when I’m working I rather have it open in a new window, so I add <em>target=”_blank”</em> in the href tag.</p>
<p>One more thing you may want to change is the welcome message in the top right corner, “Howdy, webmaster”.</p>
<p>Go to line 108 or search for <em>howdy</em></p>
<pre><code>&lt;p&gt;&lt;?php printf(__('Howdy, &lt;a href="%1$s" title="Edit your profile"&gt;%2$s&lt;/a&gt;'), 'profile.php', $user_identity) ?&gt;</code></pre>
<p>Change Howdy to whatever you want, simple!</p>
<p>Now, here’s how to do it using functions.php:</p>
<pre><code>add_action('admin_head', 'my_custom_logo');
function my_custom_logo() {
echo '&lt;style type="text/css"&gt;
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/dash_logo.png) !important; }&lt;/style&gt;';
}</code></pre>
<p><img class="alignnone size-full wp-image-940" title="dash_logo" src="http://dropthedigibomb.com/wp-content/uploads/dash_logo.png" alt="dash_logo" width="580" height="353" /></p>
<p><strong>Admin Footer</strong><br />
Open admin-footer.php and go to line 23 or search for <em>admin_footer_text</em></p>
<pre><code>echo apply_filters( 'admin_footer_text', '&lt;span id="footer-thankyou"&gt;' . __('Thank you for creating with &lt;a href="http://wordpress.org/"&gt;WordPress&lt;/a&gt;.').'&lt;/span&gt; | '.__('&lt;a href="http://codex.wordpress.org/"&gt;Documentation&lt;/a&gt;').' | '.__('&lt;a href="http://wordpress.org/support/forum/4"&gt;Feedback&lt;/a&gt;') ); ?&gt;&lt;/p&gt;</code></pre>
<p>Now add your own text, links, and images.</p>
<p>Now, here’s how to do it using functions.php:</p>
<pre><code>function remove_footer_admin () {
echo "Your own text";
}
add_filter('admin_footer_text', 'remove_footer_admin');
</code></pre>
<p><img class="alignnone size-full wp-image-942" title="dash_footer" src="http://dropthedigibomb.com/wp-content/uploads/dash_footer.png" alt="dash_footer" width="580" height="65" /></p>
<p><strong>Widgets</strong><br />
Creating custom widgets are very useful and a lot of fun. Let’s add a simple ads window that will be viewable to all users logged in. I’m only going to show you how to do this in functions.php, it’s a lot easier. However, if you are feeling adventuress you can do this in the core.</p>
<p>To modify the core open dashboard.php located in wp-admin/includes/. You will notice all the main dashboard widgets are at the top of the file ending around line 50 in my editor. You can also play around with the current widgets, for example you can change the default WordPress dev feeds to any feed you want. I usually load feeds from my other blogs or resource sites.</p>
<p>…ok, so let’s add a widget using functions.php.</p>
<p>Add the following code to you functions.php file:</p>
<pre><code>add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets');

function my_custom_dashboard_widgets() {

global $wp_meta_boxes;

wp_add_dashboard_widget('custom_ad_widget', 'Ads', 'custom_dashboard_ad');

}

function custom_dashboard_ad() {

echo '&lt;p&gt;Check out some other cool stuff&lt;/p&gt;&lt;br /&gt;&lt;img src="http://www.dropthedigibomb.com/dropit.jpg" /&gt;';

}
</code></pre>
<p>A few things to note: The second last line is where you define the name of the widget that displays in the dashboard ‘Ads’, so you can name this anything you want. The echo, this is where you can add any basic html to output text and images. If you have a more advanced knowledge of PHP, then you can go ahead and add CSS or jQuery, pretty much anything.</p>
<p><img class="alignnone size-full wp-image-943" title="dash_widget" src="http://dropthedigibomb.com/wp-content/uploads/dash_widget.png" alt="dash_widget" width="580" height="245" /></p>
<p><strong>Now go and have fun!</strong></p>
<p><strong>Resources:</strong></p>
<p><a href="http://wpengineer.com" target="_blank">http://wpengineer.com</a></p>
<p><a href="http://www.wprecipes.com" target="_blank">http://www.wprecipes.com</a></p>
<p><a href="http://www.wpbeginner.com" target="_blank">http://www.wpbeginner.com</a></p>
<p><a href="http://buildinternet.com/2010/01/create-custom-option-panels-with-wordpress-2-9" target="_blank">http://buildinternet.com/2010/01/create-custom-option-panels-with-wordpress-2-9</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2010/customizing-the-wordpress-dashboard/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Build an easy category search in WordPress</title>
		<link>http://dropthedigibomb.com/2009/build-an-easy-category-search-in-wordpress/</link>
		<comments>http://dropthedigibomb.com/2009/build-an-easy-category-search-in-wordpress/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 22:36:25 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=759</guid>
		<description><![CDATA[I&#8217;ve had many projects in the past where clients have asked for a custom search field that allows the user to search for posts in a specific category instead of the entire site. It&#8217;s a very simple function to achieve, it requires no PHP, just straight HTML. Recently I had to revisit this piece of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had many projects in the past where clients have asked for a custom search field that allows the user to search for posts in a specific category instead of the entire site. It&#8217;s a very simple function to achieve, it requires no PHP, just straight HTML.</p>
<p>Recently I had to revisit this piece of code for a project I am working on and thought I&#8217;d share since it&#8217;s pretty useful and simple.</p>
<p>We use the standard WP search form code to start</p>
<pre><code>&lt;form method="get" id="searchform" action="&lt;?php bloginfo('url'); ?&gt;/"&gt;
&lt;label for="s"&gt;&lt;?php _e('Search for:'); ?&gt;&lt;/label&gt;
&lt;input type="text" value="&lt;?php the_search_query(); ?&gt;" name="s" id="s" /&gt;
&lt;input type="submit" id="searchsubmit" value="Search" /&gt;
&lt;/form&gt;</code></pre>
<p>We add this line of code</p>
<pre><code>&lt;input type="hidden" name="cat" value="1" /&gt;
</code></pre>
<p>This hidden field is what allows us to search a specific category.  This string will be added to the search parameter. For example; the normal search would be something like http://wwwdropthedigibomb.com/?s=(what ever keyword was used), with the hidden field we get http://wwwdropthedigibomb.com/?s=(what ever keyword was used)&amp;cat=1.  The <em>value</em> attribute refers to the ID number of your category. This is the only thing  you will need to change.</p>
<p>Here is the final code</p>
<pre><code>&lt;form method="get" id="searchform" action="&lt;?php bloginfo('url'); ?&gt;/"&gt;
&lt;label for="s"&gt;&lt;?php _e('Search for:'); ?&gt;&lt;/label&gt;
&lt;input type="text" value="&lt;?php the_search_query(); ?&gt;" name="s" id="s" /&gt;
&lt;input type="submit" id="searchsubmit" value="Search" /&gt;
&lt;input type="hidden" name="cat" value="1" /&gt;
&lt;/form&gt;
</code></pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2009/build-an-easy-category-search-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Development Presentation &#8211; FSOSS 2009</title>
		<link>http://dropthedigibomb.com/2009/wordpress-development-presentation-fsoss-2009/</link>
		<comments>http://dropthedigibomb.com/2009/wordpress-development-presentation-fsoss-2009/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 00:43:45 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[Drop It]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=677</guid>
		<description><![CDATA[I had a great time a FSOSS this year, it was really nice to see old friends and make some new ones. I would like to thank everyone who came out to my WordPress Development presentation and thank you for all the great feedback on twitter and via email. As promised I have uploaded my [...]]]></description>
			<content:encoded><![CDATA[<p>I had a great time a <a href="http://fsoss.ca" target="_blank">FSOSS</a> this year, it was really nice to see old friends and make some new ones. I would like to thank everyone who came out to my WordPress Development presentation and thank you for all the great feedback on <a href="http://twitter.com/digibomb" target="_blank">twitter</a> and via email. As promised I have uploaded my presentation on <a href="http://www.slideshare.net/digibomb" target="_blank">slideshare</a> and posted here. If you have any questions you know how to find me. Also, make sure to check some <a href="http://www.flickr.com/photos/phug/sets/72157622578625633/" target="_blank">photos</a> from the event and if you attended <a href="http://fsoss.ca" target="_blank">FSOSS</a>, and you have some time, let them know what a great job they did!</p>
<div id="__ss_2398482" style="width: 425px; text-align: left;"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="Wordpress Development Fsoss 2009" href="http://www.slideshare.net/digibomb/wordpress-development-fsoss-2009">WordPress Development Fsoss 2009</a><object style="margin:0px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordpressdevelopmentfsoss09-091101182252-phpapp02&amp;stripped_title=wordpress-development-fsoss-2009" /><param name="allowfullscreen" value="true" /><embed style="margin:0px" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordpressdevelopmentfsoss09-091101182252-phpapp02&amp;stripped_title=wordpress-development-fsoss-2009" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/digibomb">digibomb</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2009/wordpress-development-presentation-fsoss-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Include jQuery in WordPress</title>
		<link>http://dropthedigibomb.com/2009/how-to-include-jquery-in-wordpress/</link>
		<comments>http://dropthedigibomb.com/2009/how-to-include-jquery-in-wordpress/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 18:25:58 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Open Source Design]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=419</guid>
		<description><![CDATA[This is nothing new for WordPress, jQuery has been available and a part of the core since version 2.2. Since then we have seen many custom jQuery hacks and plugins make their way into WordPress themes, as well as the current WordPress Dashboard, which has become an almost all jQuery driven interface. So, why am [...]]]></description>
			<content:encoded><![CDATA[<p>This is nothing new for WordPress, jQuery has been available and a part of the core since version 2.2. Since then we have seen many custom jQuery hacks and plugins make their way into WordPress themes, as well as the current WordPress Dashboard, which has become an almost all jQuery driven interface.</p>
<p>So, why am I written this post? At almost every workshop or class I teach on WordPress  my students always ask the same questions &#8220;what is jQuery, and how can I add it to WordPress?&#8221; The answer is simple, jQuery is and easy way to add another layer of <em>interactivity</em> and <em>creativity</em> without having to worry about a lot of obtrusive Java or the bulkiness/complications that come with integrating Flash.</p>
<p>I&#8217;m not saying that jQuery is perfect, there is code that can conflict with WordPress or other jQuery additions, and not all JQuery versions are cross platform, however it is for the most part the best solution. In terms of an alternative for Flash, it can be very useful. <em>Flash is not bad</em>, but it is not always the answer either. If you require/desire some simple interactivity such as: sliding portfolios, galleries, drag and drop, hide and reveal, rollovers, tool tips, basic fading elements, why bother spending all that development time in Flash and worry about players and plugins?</p>
<p>Here are 2 really good examples of jQuery as an alternative to Flash  <a href="http://www.wearebuild.com" target="_blank">http://www.wearebuild.com</a> and <a href="http://www.x3studios.com/" target="_blank">http://www.x3studios.com</a></p>
<p>Ok, enough talk, let&#8217;s get started. What is jQuery for those of you who don&#8217;t already know?</p>
<blockquote><p>jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. <strong>jQuery is designed to change the way that you write JavaScript.</strong> &#8211; <em>JQuery.com</em></p></blockquote>
<p><strong> Loading  jQuery</strong></p>
<p>There are a couple of ways to do this in WordPress. <strong></strong></p>
<p><strong>The first and easiest way</strong> is to load the jQuery library that comes bundled with WordPress. To do this we use the <em>wp_enqueue_script()</em> function, which automatically enqueue&#8217;s the JavaScript file in your theme header. Open your <em>header.php</em> file and paste the following within the <em>&lt;head&gt;</em> and <em>&lt;/head&gt;</em> tags:</p>
<pre><code>&lt;?php wp_enqueue_script("jquery"); ?&gt;</code></pre>
<p><em>*I have heard that this does not work all the time in WordPress 2.8.1</em></p>
<p><strong>Quick tip:</strong> One thing worth taking note of is the conflict with <em>prototype</em> which may cause it to not work in IE. Be sure to call the <em>noConflict()</em> method.</p>
<pre><code>$j = jQuery.noConflict();</code></pre>
<p>And you can call any jQuery functions like this:</p>
<pre><code>$j(this).fadeTo("normal", 0.5);</code></pre>
<p><strong>The second way</strong> to load jQuery is to call it remotely from <em>Google</em>, this way you can be assured you’re always using the most up-to-date version. Otherwise, the version included inside WordPress may be dated.</p>
<pre><code>&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"&gt;&lt;/script&gt;</code></pre>
<p><strong>The third and final way</strong> is to load jQuery from your server, so if you have downloaded a specific version you can enqueue it internally. To do this, open your <em>header.php</em> file and paste the following within the <em>&lt;head&gt;</em> and <em>&lt;/head&gt;</em> tags:</p>
<pre><code>&lt;script type="text/javascript" src="&lt;?php bloginfo('template_directory'); ?&gt;/includes/js/jquery.js"&gt;&lt;/script&gt;</code></pre>
<p><em>*I usually put all my scripts in an includes directory located in my theme directory. You could also use an absolute path if your file is located elsewhere.</em></p>
<p>Now the fun begins! Once you have loaded jQuery you can take advantage of hundreds of great libraries for adding more interactivity or complexity to your themes.</p>
<p><strong>Here&#8217;s a list of some of my favorites</strong></p>
<p><a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank"><strong>Lightbox</strong></a></p>
<p><strong><img class="alignnone size-full wp-image-441" title="jquery_lightbox" src="http://dropthedigibomb.com/wp-content/uploads/jquery_lightbox.jpg" alt="jquery_lightbox" width="550" height="200" /><br />
</strong></p>
<p>A  light Javascript used to display overlay images on the current page. The <a href="http://www.huddletogether.com/projects/lightbox/">original Lightbox</a> was released in 2005. Since then, there are many scripts released with similar features using different approaches and Javascript libraries.</p>
<p><strong><a href="http://fancy.klade.lv/" target="_blank">FancyBox</a></strong></p>
<p><strong><img class="alignnone size-full wp-image-442" title="jquery_fancybox" src="http://dropthedigibomb.com/wp-content/uploads/jquery_fancybox.jpg" alt="jquery_fancybox" width="550" height="200" /><br />
</strong></p>
<p>FancyBox is a jQuery plugin that is designed to replace the overused Lightbox. It has similar features, but better transition effects (the design is Mac-like).</p>
<p><a href="http://sorgalla.com/jcarousel/" target="_blank"><strong>jCarousel</strong></a></p>
<p><strong><img class="alignnone size-full wp-image-443" title="jquery_carousel" src="http://dropthedigibomb.com/wp-content/uploads/jquery_carousel.jpg" alt="jquery_carousel" width="550" height="200" /><br />
</strong></p>
<p>jCarousel is a jQuery plugin for controlling a list of items in horizontal or vertical order. The items, which can be static HTML content or loaded with (or without) AJAX, can be scrolled back and forth (with or without animation).</p>
<p><a href="http://jqueryfordesigners.com/coda-slider-effect/" target="_blank"><strong>Code Slider</strong></a></p>
<p><strong><img class="alignnone size-full wp-image-444" title="jquery_codaslider" src="http://dropthedigibomb.com/wp-content/uploads/jquery_codaslider.jpg" alt="jquery_codaslider" width="550" height="200" /><br />
</strong></p>
<p>Coda Slider is a jQuery plugin that imitates the panel sliding effects as seen on the <a href="http://www.panic.com/coda/">Coda</a> website.</p>
<p><a href="http://jqueryfordesigners.com/jquery-tabs/" target="_blank"><strong>jQuery Tabs</strong></a></p>
<p><strong><img class="alignnone size-full wp-image-445" title="jquery_tabs" src="http://dropthedigibomb.com/wp-content/uploads/jquery_tabs.jpg" alt="jquery_tabs" width="550" height="200" /><br />
</strong></p>
<p>jQuery Tabs is a powerful and flexible jQuery plugin that lets you create customizable tab navigation (highly recommended).</p>
<p><a href="http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/" target="_blank"><strong>jQuery Tool Tip Plugin</strong></a></p>
<p><strong><img class="alignnone size-full wp-image-450" title="jquery_tooltip" src="http://dropthedigibomb.com/wp-content/uploads/jquery_tooltip.jpg" alt="jquery_tooltip" width="550" height="200" /><br />
</strong></p>
<p>Another nice Tooltip plugin.</p>
<p><a href="http://bassistance.de/jquery-plugins/jquery-plugin-accordion/" target="_blank"><strong>jQuery Accordion</strong></a></p>
<p><strong><img class="alignnone size-full wp-image-446" title="jquery_accordion" src="http://dropthedigibomb.com/wp-content/uploads/jquery_accordion.jpg" alt="jquery_accordion" width="550" height="200" /><br />
</strong></p>
<p>This plugin creates an accordion menu. It works with nested lists, definition lists, or just nested divs.</p>
<p><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/" target="_blank"><strong>jQuery Validate</strong></a></p>
<p><strong><img class="alignnone size-full wp-image-447" title="jquery_validate" src="http://dropthedigibomb.com/wp-content/uploads/jquery_validate.jpg" alt="jquery_validate" width="550" height="200" /><br />
</strong></p>
<p>A very plugin that allows you to build client-side validation and Ajax form.</p>
<p><strong>More resources</strong></p>
<ul>
<li><a href="http://www.jquery.com" target="_blank">jQuery</a></li>
<li><a href="http://www.noupe.com/jquery/the-power-of-wordpress-and-jquery-30-useful-plugins-tutorials.html" target="_blank">A list of jQuery plugins for WordPress</a></li>
<li><a href="http://www.webdesignerwall.com/general/javascript-in-modern-web-design/" target="_blank">More jQuery stuff</a></li>
<li><a href="http://net.tutsplus.com/" target="_blank">net-tuts &#8211; Lot&#8217;s of great jQuery and WordPress tutorials</a></li>
</ul>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2009/how-to-include-jquery-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin Development Workshop at RMI &#8211; Recap</title>
		<link>http://dropthedigibomb.com/2009/wordpress-plugin-development-workshop-at-rmi-recap/</link>
		<comments>http://dropthedigibomb.com/2009/wordpress-plugin-development-workshop-at-rmi-recap/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 06:26:40 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://backspacestudios.com/blog/?p=221</guid>
		<description><![CDATA[This past Saturday, yes I know it was Valentine Day, but we spread the WordPress love, I ran yet another WordPress workshop at RMI ( Rich Media Institute ), it was great to see almost everyone from the theme design workshop show up, plus a few new faces.  This was the second in a series [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://www.backspacestudios.com/wp_rmi_ad.png" alt="" /></p>
<p>This past Saturday, yes I know it was Valentine Day, but we spread the WordPress love, I ran yet another WordPress workshop at RMI ( <a href="http://www.richmediainstitute.com" target="_blank">Rich Media Institute</a> ), it was great to see almost everyone from the theme design workshop show up, plus a few new faces.  This was the second in a series of workshops I&#8217;m running at  RMI this year.</p>
<p>Other workshops to look forward to , WordPress 2.7 &#8211; all the ins and outs,  WordPress 2.7 Admin Skinning/Customization. i am also planning on running a FREE Workshop on WP2.7 Admin Theming at <a href="http://phug.ca" target="_blank">PHUG</a> end of Feb or early March.</p>
<p>For this workshop, the goal was to convert a PHP script that loads random Flash SWF ( <a href="http://backspacestudios.com/RMI/flashloader.php" target="_blank">view here</a> ) files into a functional WordPress plug-in. Sounds easy, and it was! <a href="http://backspacestudios.com/RMI/flashloader.zip">You can download the original PHP script here</a> and the <a href="http://backspacestudios.com/RMI/randomflashloader.zip">WordPress plug-in here</a>. The plug-in is fully functional, but still requires some option under the admin area. Play arounf with and let me know what you think.</p>
<p><a href="http://backspacestudios.com/RMI/wp_plugin_dev.pdf">Here&#8217;s the slide presentation from the workshop.</a></p>
<p>As promised here is a list of some plug-in development resources:<br />
<a class="external text" title="http://amiworks.co.in/talk/simplified-ajax-for-wordpress-plugin-developers-using-jquery/" href="http://amiworks.co.in/talk/simplified-ajax-for-wordpress-plugin-developers-using-jquery/">Simplified AJAX For WordPress Plugin Developers using Jquery</a><br />
<a class="external text" title="http://www.rafaeldohms.com.br/2008/03/10/desenvolvendo-plugins-para-wordpress/pt/" href="http://www.rafaeldohms.com.br/2008/03/10/desenvolvendo-plugins-para-wordpress/pt/">&#8220;Desenvolvendo Plugins para WordPress&#8221; by Rafael Dohms (in Brazilian Portuguese)</a><br />
<a class="external text" title="http://www.devlounge.net/extras/how-to-write-a-wordpress-plugin" href="http://www.devlounge.net/extras/how-to-write-a-wordpress-plugin">12 part &#8220;How to Write a WordPress Plugin&#8221; at DevLounge.net</a> by <a class="external text" title="http://ronalfy.com" href="http://ronalfy.com/">Ronald Huereca</a> (<a class="external text" title="http://www.devlounge.net/publik/Devlounge%20-%20How%20to%20Write%20a%20Wordpress%20Plugin.pdf" href="http://www.devlounge.net/publik/Devlounge%20-%20How%20to%20Write%20a%20Wordpress%20Plugin.pdf">PDF</a>)<br />
<a class="external text" title="http://ditio.net/2007/08/09/how-to-create-wordpress-plugin-from-a-scratch/" href="http://ditio.net/2007/08/09/how-to-create-wordpress-plugin-from-a-scratch/">How to create WordPress Plugin from a scratch</a><br />
<a class="external text" title="http://www.devlounge.net/articles/using-ajax-with-your-wordpress-plugin" href="http://www.devlounge.net/articles/using-ajax-with-your-wordpress-plugin">Using AJAX with your WordPress Plugin</a>, also at DevLounce.net<br />
<a class="external text" title="http://atd.agranite.com/emerald-coast/internet/wp-hacks/" href="http://atd.agranite.com/emerald-coast/internet/wp-hacks/">How to Write a Simple WordPress Plugin at ATD</a></p>
<p>Posts from past workshops:<br />
<a href="http://backspacestudios.com/blog/index.php/wordpress-25-workshop-at-rmi-recap/open-source/">http://backspacestudios.com/blog/index.php/wordpress-25-workshop-at-rmi-recap/open-source/</a><br />
<a href="http://backspacestudios.com/blog/index.php/vecta-lova-free-wordpress-theme/open-source/">http://backspacestudios.com/blog/index.php/vecta-lova-free-wordpress-theme/open-source/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2009/wordpress-plugin-development-workshop-at-rmi-recap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Theme Design Workshop at RMI &#8211; Recap</title>
		<link>http://dropthedigibomb.com/2009/wordpress-theme-design-workshop-at-rmi-recap/</link>
		<comments>http://dropthedigibomb.com/2009/wordpress-theme-design-workshop-at-rmi-recap/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 02:49:18 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[From the old blog]]></category>
		<category><![CDATA[Open Source Design]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://backspacestudios.com/blog/?p=220</guid>
		<description><![CDATA[This past Saturday I ran another WordPress workshop at RMI ( Rich Media Institute ), it was great to see so many familiar faces, you know who you are This is the first in a series of workshops I&#8217;m running a RMI this year.  This weekend, Saturday Feb 14th 1-530pm, is WordPress Plugin Development ( [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://www.backspacestudios.com/wp_rmi_ad.png" alt="" /></p>
<p>This past Saturday I ran another WordPress workshop at RMI ( <a href="http://www.richmediainstitute.com" target="_blank">Rich Media Institute</a> ), it was great to see so many familiar faces, you know who you are <img src='http://dropthedigibomb.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  This is the first in a series of workshops I&#8217;m running a RMI this year.  This weekend, Saturday Feb 14th 1-530pm, is WordPress Plugin Development ( <a href="http://richmediainstitute.com/Wordpress_plugins" target="_blank">register now</a> ).</p>
<p>Other workshops to look forward to , WordPress 2.7 &#8211; all the ins and outs,  WordPress 2.7 Admin Skinning/Customization.</p>
<p>During the theme design workshop, we converted a static HTML+CSS web template, from styleshout.com, to a functional WordPress theme. There is still a little work to do to get it all working, you can <a href="http://backspacestudios.com/RMI/kis.zip">downlaod here </a>and feel free to feedback or ask questions.</p>
<p><a href="http://backspacestudios.com/RMI/wp_theme_design.pdf">Here&#8217;s the slide presentation from the workshop.</a></p>
<p>As promised here is a list of some great FREE Premium Theme sites, enjoy.<br />
<a href="http://themeshaper.com/" target="_blank">http://themeshaper.com/</a><br />
<a href="http://www.smashingmagazine.com/" target="_blank">http://www.smashingmagazine.com/</a><br />
<a href="http://www.wpsnap.com/" target="_blank">http://www.wpsnap.com/</a><br />
<a href="http://freethemelayouts.com/" target="_blank"> http://freethemelayouts.com/</a><br />
<a href="http://www.styleshout.com" target="_blank"> http://www.styleshout.com</a><br />
<a href="http://wpcandy.com/" target="_blank">http://wpcandy.com/</a></p>
<p>&#8230;and for inspiration&#8230;<br />
<a href="http://www.bestwebgallery.com" target="_blank">http://www.bestwebgallery.com</a><br />
<a href="http://welovewp.com/" target="_blank">http://welovewp.com/</a></p>
<p>Posts from past workshops:<br />
<a href="http://backspacestudios.com/blog/index.php/wordpress-25-workshop-at-rmi-recap/open-source/">http://backspacestudios.com/blog/index.php/wordpress-25-workshop-at-rmi-recap/open-source/</a><br />
<a href="http://backspacestudios.com/blog/index.php/vecta-lova-free-wordpress-theme/open-source/">http://backspacestudios.com/blog/index.php/vecta-lova-free-wordpress-theme/open-source/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2009/wordpress-theme-design-workshop-at-rmi-recap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

