<?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>WPShout.com &#187; Featured</title> <atom:link href="http://wpshout.com/category/featured/feed/" rel="self" type="application/rss+xml" /><link>http://wpshout.com</link> <description>WordPress Tips, Tricks and Hacks</description> <lastBuildDate>Mon, 30 Aug 2010 11:48:00 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>Really Easy Custom Post Backgrounds For WordPress</title><link>http://wpshout.com/wordpress-custom-post-backgrounds/</link> <comments>http://wpshout.com/wordpress-custom-post-backgrounds/#comments</comments> <pubDate>Tue, 22 Jun 2010 16:26:24 +0000</pubDate> <dc:creator>Alex Denning</dc:creator> <category><![CDATA[Featured]]></category> <category><![CDATA[Theme Development]]></category> <category><![CDATA[Art Direction]]></category> <category><![CDATA[Custom Fields]]></category><guid
isPermaLink="false">http://wpshout.com/?p=2376</guid> <description><![CDATA[As I mentioned before, I've been having great fun with the new Nometet.com design. It's now sporting a feature that allows the author to set a custom background for the post just by uploading an image. This image doesn't even need to be the correct size; that's all done on the fly. Uploading isn't hard either; I've implemented an uploader that sits inside a meta box so the hardest bit is choosing the image! In this post we'll have a look at how it's done.]]></description> <content:encoded><![CDATA[<p>As I&#8217;ve mentioned before, I&#8217;ve been having great fun with the new <a
href="http://nometet.com">Nometet.com</a> design. It&#8217;s now sporting a feature that allows the author to set a custom background for the post just by uploading an image. This image doesn&#8217;t even need to be the correct size; that&#8217;s all done on the fly. Uploading isn&#8217;t hard either; I&#8217;ve implemented an uploader that sits inside a meta box so the hardest bit is choosing the image! In this post we&#8217;ll have a look at how it&#8217;s done.</p><p>The uploader we&#8217;re going to be using later saves the image URL to a custom field, so first we&#8217;re going to get the custom field set up so that all you have to do is input a URL into the custom field and it gets displayed as the background. As I&#8217;ve shown before, it&#8217;s fairly easy:</p><pre><code>&lt;?php
$bg = get_post_custom_values("background");
if ( is_array($bg) ) { ?&gt;

&lt;style type="text/css" media="screen"&gt;

body{ background: url(&lt;?php echo $bg ?&gt;) fixed no-repeat; }

&lt;/style&gt;

&lt;?php } ?&gt;</code></pre><p>But that still means you&#8217;ve got to resize the image and copy out the URL into a custom field.</p><h2>Custom meta uploader</h2><p>We need an uploader in a meta box. When I was first pondering how to do this, I remembered that WooThemes use(d to use?) them in their themes. So I opened up one and lo and behold, there was a file <code>admin-custom.php</code> (under /functions). This is the bit used for the uploader and other custom meta boxes.</p><p><a
href="http://wpshout.com/media/2010/04/custom-uploader.jpg"><img
class="alignnone size-full wp-image-2390" title="custom-uploader" src="http://wpshout.com/media/2010/04/custom-uploader.jpg" alt="" width="590" height="200" /></a></p><p>At this point I got slightly confused &#8211; at the top of the file it says:</p><p>This code is protected under Creative Commons License: http://creativecommons.org/licenses/by-nc-nd/3.0/</p><p>Which is completely contradictory to Woo being GPL and as the file is dependant on WordPress, I&#8217;m fairly sure it needs to be GPL too. Either way, as I see it I can still publish the code here. To be totally safe, I&#8217;m not going to &#8220;alter, transform, or build upon this work&#8221;. This does mean we&#8217;ve got some code we don&#8217;t strictly need, but it won&#8217;t have too much of a disastrous effect!</p><p><em>As it&#8217;s a fairly big file, you can download it </em><a
href="http://wpshout.com/media/2010/04/admin-custom.txt"><em>here</em></a><em>.</em></p><p>Once you&#8217;ve got the file, copy the whole thing into your functions.php file, making sure it goes <em>directly after</em> the closing <code>?&gt;</code> tag (ie ?<code>&gt;&lt;?php</code> ).</p><p>We then need to trigger the meta box, which can be done with the following:</p><pre><code>$woo_metaboxes = array(

		"image" =&gt; array (
			"name"		=&gt; "bg",
			"label" 	=&gt; "Background",
            "type" =&gt; "upload",
			"desc"      =&gt; "Automatically resized/enlarged but at least 1000px x 800px for it to be big enough."
		),

	);

update_option('woo_custom_template',$woo_metaboxes);   </code></pre><p>Add that after the other code, but before the closing <code>?&gt;</code> tag. Save the file, upload it and create a new post. You&#8217;ve now got an uploader which will save images into the custom field &#8216;bg&#8217;.</p><h2>Resizing the images</h2><p><a
href="http://wpshout.com/media/2010/04/custom-bg.jpg"><img
class="alignnone size-full wp-image-2393" title="custom-bg" src="http://wpshout.com/media/2010/04/custom-bg.jpg" alt="" width="590" height="300" /></a></p><p>The final thing to do now is to just use timthumb to resize the images to a width of 1920px. Simple enough; download <a
href="http://code.google.com/p/timthumb/">timthumb</a>, upload it into your theme&#8217;s files and just apply the timbthumb syntax to the code in the header:</p><pre><code>
body{
background: url(&lt;?php bloginfo('template_url'); ?&gt;/tools/timthumb.php?w=1920&amp;zc=1&amp;src=&lt;?php echo $bg; ?&gt;) fixed no-repeat;
}

</code></pre><p>And as you can see, that&#8230; doesn&#8217;t work. The custom field adds http://&#8230; to the image URL which timthumb doesn&#8217;t like.</p><p>At this point, I pondered a bit, tried (and failed) at a couple of solutions so did the only thing I could; grovelled with <a
href="http://binarymoon.co.uk">Ben </a>to give me a hand. Thankfully, he agreed and told me I needed to encode my URLs, which means you&#8217;ll need to change the code to this:</p><pre><code>body{
background: url(&lt;?php bloginfo('template_url'); ?&gt;/tools/timthumb.php?w=1920&amp;zc=1&amp;src=&lt;?php echo urlencode($bg); ?&gt;) fixed no-repeat;
}</code></pre><h2>And finally</h2><p>Which leaves us with a really easy to use custom background uploader. You can check it out in action on the new look <a
href="http://nometet.com">Nometet</a>! Speaking of which, I&#8217;d really appreciate it if you gave the site a look; it&#8217;s a web based video game magazine.</p> ]]></content:encoded> <wfw:commentRss>http://wpshout.com/wordpress-custom-post-backgrounds/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>WPShift Launches!</title><link>http://wpshout.com/wpshift-launches/</link> <comments>http://wpshout.com/wpshift-launches/#comments</comments> <pubDate>Mon, 01 Feb 2010 07:00:21 +0000</pubDate> <dc:creator>Alex Denning</dc:creator> <category><![CDATA[Featured]]></category> <category><![CDATA[Other]]></category> <category><![CDATA[WordPress Themes]]></category><guid
isPermaLink="false">http://wpshout.com/?p=2133</guid> <description><![CDATA[After months and months of working on it, WPShift has now launched! I'm really delighted to be able to say that :) Find all the low down about the hottest WordPress theme in town!]]></description> <content:encoded><![CDATA[<p>After months and months of working on it, WPShift has now launched! I&#8217;m really delighted to be able to say that <img
src='http://wpshout.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><h2>WPShift. What&#8217;s That?</h2><p>It&#8217;s a new premium themes site, created by myself and Alex Cragg. We&#8217;ve created an awesome first theme, ShiftNews. It&#8217;s a magazine style theme powered near exclusively by widgets so you can create your own look just by dragging and dropping. We&#8217;ve got four widgets for showing off your posts including two <a
href="http://wpshout.com/featured-content-wordpress/"target="_blank"title="WordPress Featured Content" >featured content</a> sliders, a traditional blog look and a column widget so you can fit your posts side by side. They&#8217;re all powered by our awesome widget control panel so you&#8217;ve got immense control over where your posts go:</p><p><a
href="http://wpshout.com/media/2010/01/shift-slider-1.png"><img
class="alignnone size-full wp-image-2089" title="shift-slider-1" src="http://wpshout.com/media/2010/01/shift-slider-1.png" alt="" width="590" /></a></p><p>We didn&#8217;t stop with the posts widgets; we&#8217;ve built in widgets for Twitter, Flickr, Adsense and your social media profiles too.</p><h2>Sounds cool. What else does it do?</h2><p>We&#8217;ve got a massive options page (click the image below to enlarge) and what I think is the most options you&#8217;ll need for getting images from posts. That means you can just upload and image and it&#8217;ll grab it, it can find images in posts, it can find images using the post thumbnail feature and you can use custom fields (so you&#8217;ve got backwards compatibility with old posts). Of course, this is al then resized dynamically (thanks to <a
href="http://binarymoon.co.uk">Ben</a>).</p><p><a
href="http://wpshout.com/media/2010/01/theme-options-large.jpg"><img
class="alignnone size-thumbnail wp-image-2134" title="theme-options-large" src="http://wpshout.com/media/2010/01/theme-options-large-590x200.jpg" alt="" width="590" height="200" /></a></p><p>We&#8217;ve got just about everything we think you&#8217;d want &#8211; huge colour changing options, numerous built in colour schemes, post and page templates and all the features you&#8217;d expect from a quality theme &#8211; threaded comments and the like, optimisation for load times, optimisation for search engines, our own custom styles for popular plugins (such as PageNavi and YARRP); that kind of thing. The video below shows a bit more:</p><p><object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="590" height="332" 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://vimeo.com/moogaloop.swf?clip_id=9103974&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed
type="application/x-shockwave-flash" width="590" height="332" src="http://vimeo.com/moogaloop.swf?clip_id=9103974&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p><p>Speaking of videos, they&#8217;re quite literally everywhere in the theme &#8211; we&#8217;ve embedded them in HD in our custom widgets and we&#8217;ve also got one stuck in the options page. That means if you&#8217;re stuck then you can find out how to use it without digging through piles of documentation. If you&#8217;d prefer to look through the documentation, you&#8217;re welcome to too &#8211; there&#8217;s over 2000 words of it explaining everything I could think of in solid detail. Of course, we&#8217;ve also got a support forum where you can come and ask your more pressing questions.</p><p><span
style="font-family: Georgia; line-height: normal; font-size: 24px; text-transform: uppercase;">What does it cost?</span></p><p>We&#8217;ve kept it at the lower end of the market (price wise. For quality we&#8217;re at the top <img
src='http://wpshout.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) and you can buy the single site license for $59.95 which is really good value considering all the great features, updates for life, support and documentation you get included. On the site we&#8217;ve tried to make things as easy to use as possible &#8211; for example we&#8217;ve got a download area where you can download the latest version of your theme and documentation. It&#8217;s the little things that should you choose to go with us make us just about perfect <img
src='http://wpshout.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p><p>You might have noticed we&#8217;re not fully GPL. All our WordPress dependant code is but design and CSS is not. We chose to do this because it has taken nearly four months to get to this point and we&#8217;re not happy with the possibility of people redistributing our hard work for free. I&#8217;d think if you&#8217;d spent six out of seven evenings for four months working on something, you&#8217;d quite probably agree.</p><h2>Can I has a copy?</h2><p>Most certainly. Use the code SHIFTLAUNCH to get twenty percent off, making the theme $47.96. You&#8217;ll have to be quick though; it&#8217;s only valid until Wednesday!<em> </em></p><p>For more information and to see the theme in action, visit the link below.</p><p><a
href="http://wpshift.com/themes/shiftnews/"><img
class="alignnone size-full wp-image-2139" title="check-it-out" src="http://wpshout.com/media/2010/01/check-it-out.jpg" alt="" width="590" height="150" /></a></p><p>I think I&#8217;ve got everything covered. If I haven&#8217;t, feel free to leave a comment with any questions or even better, go and take a look at our theme!</p> ]]></content:encoded> <wfw:commentRss>http://wpshout.com/wpshift-launches/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Why WordPress?</title><link>http://wpshout.com/why-wordpress-21-of-the-wordpress-community-answer/</link> <comments>http://wpshout.com/why-wordpress-21-of-the-wordpress-community-answer/#comments</comments> <pubDate>Thu, 10 Dec 2009 12:00:23 +0000</pubDate> <dc:creator>Alex Denning</dc:creator> <category><![CDATA[Featured]]></category> <category><![CDATA[Interview]]></category><guid
isPermaLink="false">http://wpshout.com/?p=1734</guid> <description><![CDATA[Reading this by RSS? You&#8217;re missing out.. Part 2 is now online. to catch the rest! That was the question I asked twenty one WordPress theme designers, developers and bloggers; I wanted to get a good balance &#8211; not just the theme developers who everyone has heard about! Their answers are very interesting, to say<a
href="http://wpshout.com/why-wordpress-21-of-the-wordpress-community-answer/" class="read-more">Continue Reading</a>]]></description> <content:encoded><![CDATA[<p><em>Reading this by RSS? <a
href="http://wpshout.com/why-wordpress-21-of-the-wordpress-community-answer">You&#8217;re missing out</a>.</em>. <a
href="http://wpshout.com/you-can-change-anything-in-wordpress-what/">Part 2</a> is now online. <a
href="http://feeds2.feedburner.com/nometech">subscribe by RSS</a> to catch the rest!</p><p>That was the question I asked twenty one WordPress <a
href="http://wpshout.com/wordpress-theme-design-basics/"target="_blank"title="WordPress Theme Design Basics" >theme design</a>ers, developers and bloggers; I wanted to get a good balance &#8211; not just the theme developers who <em>everyone </em>has heard about! Their answers are very interesting, to say the least. I asked four and the answers will be published over the next couple of days. The questions are:</p><blockquote><p><strong>Why WordPress?<br
/> </strong> First question. Why WordPress? Why not Joomla! or Drupal or any of the other CMSes out there?</p></blockquote><blockquote><p><strong>You have the power<br
/> </strong> Second question. Hypothetically, you have the power to change one thing in WordPress. What would that be?</p></blockquote><blockquote><p><strong>Problems<br
/> </strong> Third. What do you see as the biggest problems facing the WP community at the moment?</p></blockquote><blockquote><p><strong>The future?<br
/> </strong> Final question. The future? With just about anything possible with WordPress these days, where do you think the future lies for so ething still widely seen as a blogging platform?</p></blockquote><p>We&#8217;ll start with the first question. <strong>Why WordPress? </strong>In no particular order, here are the responses:</p><div
class="g6">I started with WordPress five years ago when I first got serious about web design. Before discovering how easy it was to manage and display dynamic content with WordPress, I was manually coding my CMS systems in PHP. Needless to say, WordPress cut my workload considerably, and made everything much easier &#8212; even way back with version 1.2 WordPress was far ahead of the curve.</p><p>The reason I continue to use WordPress today is because of its vast extensibility, extreme flexibility, and widespread support throughout the open-source community. Bottom line: there is no reason to use anything else because WordPress can pretty much do it all.<br
/> -<a
href="http://perishablepress.com">Jeff Starr</a></p></div><div
class="g6">Before WordPress, there was b2, and I have been using b2 since 2002. Eventually WP was forked out from b2 and I moved on to WordPress.<br
/> -<a
href="http://lesterchan.net">Lester Chan</a></p><p>I started out with WordPress because everyone seemed to be using it. Since I was just a blogger looking for blog software that was good enough for me!<br
/> -<a
href="http://themeshaper.com">Ian Stewart</a></p><blockquote><p>&#8220;Why would anybody do 10 clicks when with WordPress you can do it with 2?&#8221;</p></blockquote></div><div
class="g4"><blockquote><p>&#8220;There is no reason to use anything else because WordPress can pretty much do it all.&#8221;</p></blockquote></div><div
class="g8">I began using WordPress after a short stint with Blogger &#8211; the ability to self host a website, with an incredible backend that was easy to use appealed to me the most. Coupled with a template system that was relatively easy to grasp and I knew I was in the right platform.<br
/> <a
href="http://briangardner.com">-Brian Gardner</a></div><p
class="g4">WordPress is the best, that&#8217;s simple! Just because it is easier to modify, manage and build anything with it. The fantastic community is also a very good point. WordPress changed my way to work on the internet.<br
/> -<a
href="http://catswhocode.com">Jean-Baptiste Jung</a></p><p
class="g4">Back at the very start? The thing that probably made me choose WordPress over Joomla or anything else was how user-friendly WordPress was. It was so easy to get started with it, anyone can do it!<br
/> -<a
href="http://problogdesign.com">Michael Martin</a></p><p
class="g4">I chose WordPress a long long time ago. Originally I chose it because I wanted a blogging app (and not a cms) and I wanted something that was easy to install and use &#8211; and at the time WordPress was the best I found.<br
/> -<a
href="http://binarymoon.co.uk">Ben Gillbanks</a></p><blockquote><p>The reason I chose WordPress is the same reason I continue to publish content through the software and that is through ease of use.</p><p>The publishing process in WordPress was simple when compared to Joomla or Drupal. The process is in a logical order and doesn&#8217;t provide 100 different things I should do before I actually hit the publish button. This process has been refined in the two years I&#8217;ve been using WordPress so it&#8217;s even better today!</p><p>-<a
href="http://wptavern.com">Jeff Chandler</a></p></blockquote><div
class="g6">In early 2004 I stumble across a blog which had a feature I had been dreaming of for 4 years at that time: it was possible to assign multiple categories to a single post (that is, you could &#8220;tag&#8221; before tag really existed).</p><p>That blog was using a new piece of software named WordPress 0.7.1. It was written in PHP, I didn&#8217;t know anything about that language. Decided to have a look, seemed fun and relatively easy to grasp, so I decided to give it a try <img
src='http://wpshout.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br
/> -<a
href="http://planetozh.com">Ozh</a></p></div><div
class="g6">My boss first started with his blog and immediately chose WordPress. After using it for some time we started developing some small websites on it. And since it was so excellent I decided to take up on blogging.</p><p>Nowadays why would anybody do 10 clicks when with WP you can do it with 2?! I especially like WP thanks to its flexibility and <a
href="http://wpshout.com/10-practical-wordpress-security-tips/"target="_blank"title="WordPress Security Tips" >security</a>. You can either run a small blog with it, a small website or even a popular news site.<br
/> -<a
href="http://online-blogger.net">Indrek Saarnak</a></p></div><div
class="g4"><blockquote><p>&#8220;It is easier to modify, manage and build anything with it. WordPress changed my way to work on the internet.&#8221;</p></blockquote></div><div
class="g8">I&#8217;ve tried a few CMS packages back in the day, including Mambo/Joomla, Drupal, PHP-Nuke, Post-Nuke, and countless others.  None really stood out to me like WordPress.  To put it simply, it just did what I expected.  I chose WordPress in the first place because I couldn&#8217;t find any better option.</p><p>Later on I discovered the vibrant community surrounding WordPress including the great selection of themes and plugins.  With a simple Google search I could find a tutorial for pretty much anything I wanted to do, through code hacks and whatnot.  I was hooked after that.<br
/> -<a
href="http://themelab.com">Leland Fiegel</a></p></div><p
class="g4">Every CMS can be adapted to the needs but with WordPress the efforts needed to extend it is less and making WordPress to act as CMS is pretty damn easy. It is the best Out of the Box CMS available in my opinion.<br
/> -<a
href="http://blog.ashfame.com">Ashfame</a></p><p
class="g4">WordPress has a very good backend and a flexible API. And it doesn’t use a special template engine like Typo3 or Textpattern.<br
/> -<a
href="http://toscho.de/">Thomas Scholz</a></p><p
class="g4">The very first site I was involved in used WordPress to publish, so I had to learn to make edits, and as I took over more responsibility, I needed to learn even more. Since then I&#8217;ve never looked back, and I find WordPress so flexible that I&#8217;ve never had cause to consider another platform.<br
/> -<a
href="http://epicalex.om">Alex Cragg</a></p><blockquote><p>I didn&#8217;t actually choose WordPress originally, I chose b2. Eventually b2 was forked and became WordPress (and included some code I&#8217;d contributed to b2). The decision in 2002 was very different than the decision folks face in 2009. WordPress is very different and the other CMS packages have grown as well.</p><p>To me it comes down to a pragmatic choice. WordPress typically does much of what we need for a site, and we can teach it to do the rest in a forward-compatible way with the plugin and theme system. Other CMSes are good choices in specific situations as well, there is no &#8220;one size fits all&#8221; CMS &#8211; but WordPress does fit a great many.</p><p>-<a
href="http://crowdfavorite.com">Alex King</a></p></blockquote><div
class="g8">I heard about WordPress before Joomla, Drupal, and many others.  I might be working with those systems if I&#8217;d found them first.</p><p>I had previously tried PHP-Nuke and creating my own platform (with almost no PHP knowledge).  Since neither of those solutions worked, I gave WordPress a try.  It wasn&#8217;t a <em>match made in heaven</em> on the first go though.  Everything didn&#8217;t &#8220;click,&#8221; so I tried out blogging by keeping individual blog posts in text files for a while.  Eventually, that got tough, so I tried WordPress again and finally figured out what the heck was going on.</p><p>This was early 2005, so WordPress wasn&#8217;t quite as easy to work with as it is now, and I had no experience with content management systems.<br
/> -<a
href="http://justintadlock.com">Justin Tadlock</a></p></div><div
class="g4">WordPress is very flexible&#8230; If you put your mind to it, you can do almost anything with the platform. It&#8217;s also Simple &amp; Efficient.</p><p>I can typically take any theme concept and have a fully functional WordPress theme in a matter of hours. And finally, WordPress is fun. I truly do have fun developing on WordPress. I discover great new ways to implement functionality with every theme I develop.<br
/> -<a
href="http://press75.com">Jason Schuller</a></p></div><div
class="g6">I used PHP scripts like CuteNews to run the dynamic parts of the websites I created before, until a friend of mine told me about how great WordPress was. I wasn&#8217;t really turned on at first, because I had to build my whole website &#8220;around&#8221; WordPress e.g. make a theme. This seemed like a hard task, but I fiddled around with the default theme and soon found other free themes to use. The rest is history <img
src='http://wpshout.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br
/> -<a
href="http://jepson.no">Magnus Jepson</a></p><p>One of the most important things that make WordPress a winner is the fantastic community. While I am very familiar with Drupal and Joomla and have used them in many projects, I prefer to use WordPress especially for my client&#8217;s projects due to it&#8217;s easy of use. Especially Drupal can be very confusing and Joomla unnecessarily heavy when you need a small website.<br
/> -<a
href="http://vivathemes.com">Mike</a></p><p><span
class="link">Get guaranteed success in <a
href="http://www.testkingsite.com/cisco/CCNA.html">ccna</a> with latest <a
href="http://www.testkingsite.com/network-appliance/NS0-163.html">NS0-163</a> questions and <a
href="http://www.testkingsite.com/comptia/SK0-002.html">SK0-002</a> pratice exams.</span></p></div><div
class="g6"><p>&#8220;Why WordPress&#8221; can result with pages of explanation but my quickest answer would probably be &#8220;because I love it&#8221;.</p><p>As a nature of business that we do, we are quite often being requested to deliver &#8220;all in one&#8221; package to our clients where they only want to write and publish. And WordPress gives us what we need to.</p><p>I am not at the position to judge Drupal or Joomla. They are two great and extremely powerful tools and probably what I do today is also possible to be made using Drupal or Joomla as well. But the reason why I started with WordPress was because it was simple enough to customize. Community is always there to find solutions for any questions.<br
/> -<a
href="http://gabfirethemes.com">Mehmet Ozekinci</a></p></div><p>So there we are. Some really interesting answers there. Question is &#8211; Why WordPress? Leave a comment.</p> ]]></content:encoded> <wfw:commentRss>http://wpshout.com/why-wordpress-21-of-the-wordpress-community-answer/feed/</wfw:commentRss> <slash:comments>58</slash:comments> </item> <item><title>10 More Tips To Improve Your WordPress Theme</title><link>http://wpshout.com/10-more-tips-to-improve-your-wordpress-theme/</link> <comments>http://wpshout.com/10-more-tips-to-improve-your-wordpress-theme/#comments</comments> <pubDate>Mon, 30 Nov 2009 12:00:15 +0000</pubDate> <dc:creator>Alex Denning</dc:creator> <category><![CDATA[Featured]]></category> <category><![CDATA[Theme Design]]></category><guid
isPermaLink="false">http://wpshout.com/?p=1486</guid> <description><![CDATA[10 More Ways to Improve Your WordPress Theme in this post - add a theme options page, multiple sidebars, custom write fields and awesome SEO!]]></description> <content:encoded><![CDATA[<p>Consistently one of the most popular posts on <a
href="http://wpshout.com">WPShout</a> is &#8220;10 Tips to Improve Your WordPress Theme&#8221;, so here are ten more! In this post we&#8217;ll look ways to cleverly improve your <a
href="http://wpshout.com/category/themes/">theme</a> not just from the front end but also in the backend with some rather lovely advanced features. <em>And in light of the feedback, list posts will remain. Just slightly better this time.</em></p><h2>1. Use a framework</h2><p><img
class="alignnone" src="http://nometech.com/wpshout.com/wp-content/uploads/images/rlekfu.png" alt="" width="559" height="173" /></p><p>Initially, like a lot of people, I wasn&#8217;t convinced with frameworks. Now I&#8217;m totally won over. <strong>Frameworks offer you that crucial starting point</strong> for <a
href="http://wpshout.com/category/themes/">WordPress themes</a> and save you coding the same things over and over again. And again. And again. These days the choice is massive &#8211; from highly complex frameworks with their own hooks such as <a
href="http://themeshaper.com">Thematic</a>, <a
href="http://themehybrid.com">Hybrid </a>and <a
href="http://prodigytheme.com">Prodigy </a>to the more simplistic <a
href="http://wpshout.com/free-wordpress-magazineframeworkbloggytech-blog-theme-biblioteca/">Biblioteca</a>. Download a couple, find one you like, customise it to your needs. You&#8217;ll have doubled your coding time with just a couple of hours&#8217; work.</p><h2>2. Awesome SEO</h2><p>These days bloggers care more and more about having &#8220;awesome SEO&#8221;. Understandably too. Theme authors are picking up on this too and increasingly themes are being released marketed with said &#8220;awesome SEO&#8221;. Thanks to the GPL, many of these themes are actually using the same code! <a
href="http://wpshout.com/improve-wordpress-blogs-seo-in-10-easy-ways/">As I wrote a couple of weeks ago</a>, <strong>write great content</strong>, use your Header tags correctly and use the <code>&lt;title&gt;</code> tag effectively and you&#8217;ll be fine &#8211; for more SEO tips, check out &#8220;<a
href="http://wpshout.com/improve-wordpress-blogs-seo-in-10-easy-ways/">10 Ways to Improve Your WordPress Theme&#8217;s SEO</a>&#8220;.</p><h2>3. Use an <em>advanced</em> theme options page</h2><p><img
class="alignnone size-full wp-image-1301" title="options-featured" src="http://wpshout.com/wp-content/uploads/2009/10/options-featured.jpg" alt="options-featured" width="590" height="320" /></p><p>Again thanks to the GPL, theme options pages, once found only in a select few themes, are now found pretty much everywhere. Creating your own options page isn&#8217;t that hard (and needn&#8217;t be hard either) &#8211; recently <a
href="http://wpshout.com">WPShout</a> ran &#8220;<strong><a
href="http://wpshout.com/create-an-advanced-options-page-in-wordpress/">Create an Advanced Theme Options Page</a></strong>&#8221; in which, as you might have guessed, we created an advanced theme options page with options such as changing the stylesheet and various other areas of the theme.</p><h2>4. Don&#8217;t use custom fields unneccesarily</h2><p>Whilst I do love <strong><a
href="http://wpshout.com/10-awesome-things-to-do-with-wordpress-custom-fields/">custom fields</a></strong>, I don&#8217;t love using them unneccesarily. If you&#8217;re making a magazine theme such as the one used on WPShout, you needn&#8217;t use custom fields to display images on the homepage or the like (and all this won&#8217;t be needed at all with WordPress 2.9 &#8211; read more about it <a
href="http://wpengineer.com/new-feature-in-wordpress-2-9-the_post_image/">here</a>). As <a
href="http://webdeveloperplus.com/wordpress/how-to-use-thumbnails-generated-by-wordpress-in-your-theme/">WebDeveloperPlus points out</a>, <strong>WordPress creates its own thumbnails</strong> that can be relatively easily used by any theme using the <code>wp_get_attachment_thumb_url</code> function (<a
href="http://codex.wordpress.org/Function_Reference/wp_get_attachment_thumb_url">codex</a>).</p><h2>5. Custom write fields!</h2><p><img
class="alignnone size-full wp-image-1039" title="postoptions" src="http://wpshout.com/wp-content/uploads/2009/08/postoptions.jpg" alt="postoptions" width="590" height="320" /></p><p>I do love these. Custom write fields. They&#8217;re essentially adding little boxes onto the bottom of the post writing area in WordPress. And they&#8217;re brilliant. On WPShout I&#8217;m running a child theme of <a
href="http://wpshout.com/free-wordpress-magazineframeworkbloggytech-blog-theme-biblioteca/">Biblioteca</a> and so have a box &#8220;Post options&#8221; that lets me change the post&#8217;s &lt;title&gt;, meta description and set one of two featured images. Adding these custom write fields to a theme is relatively easy with this tutorial I wrote a while ago. With them up and running, you can now offer a number of options and <strong>replace plugins</strong> such as the &#8220;All in one SEO plugin&#8221;. Awesome, no?!</p><h2>6. Use the template hierarchy cleverly</h2><p>WordPress&#8217; <a
href="http://wpshout.com/wordpress-template-file-hierarchy-explained/">template hierarchy</a> is a great thing and you can create something really awesome by using it correctly. Here&#8217;s a case study. You&#8217;re using <a
href="http://wpshout.com/wordpress-as-a-cms/"target="_blank"title="WordPress As A CMS" >WordPress as a CMS</a> for a portfolio site. You want to use category archives to display the latest blog posts <em>and</em> your portfolio which has a <strong>d</strong><strong>ifferent design completely</strong>. You would first need to create two categories, &#8220;Portfolio&#8221; and &#8220;Blog&#8221; and find their IDs (although 2.9 onwards you can just use the slug of the category). Let&#8217;s pretend &#8220;Portfolio&#8221; has an ID of 3 and &#8220;Blog&#8221; 4. Next, style your pages and then save the two files not as category.php (as you would for a category archive normally) but as category-3.php and category-4.php. You&#8217;ve now just created two category archives that will output posts completely differently! Awesome, no?</p><h2>7. Custom widgets</h2><p>Custom widgets are the next big thing. That&#8217;s for sure. Get ahead of the game by including custom widgets in their theme and <a
href="http://feeds2.feedburner.com/nometech">subscribe by RSS</a> to <a
href="http://wpshout.com">WPShout</a> as soon I&#8217;ll be writing a tutorial on how to create your own awesome widget.</p><p><span
class="link">Download the latest <a
href="http://www.testkingsite.com/cisco/CCNA.html">ccna dumps</a> with complete <a
href="http://www.testkingsite.com/cisco/642-661.html">642-661</a> notes prepared to help you pass <a
href="http://www.testkingsite.com/cisco/642-631.html">642-631</a> on first try.</span></p><h2>8. Use sticky posts efficiently and effectively</h2><p><img
class="alignnone size-full wp-image-1499" title="sticky-post" src="http://wpshout.com/wp-content/uploads/2009/11/sticky-post.jpg" alt="sticky-post" width="590" height="300" /></p><p>Used effectively and effectively, you can do a lot of awesome stuff with sticky posts. A number of examples. First, say we just want to <strong>highlight sticky posts</strong>. With WordPress 2.7&#8242;s <code>post_class</code> you can do this by adding some styling for <code>.sticky</code> . The full code would be something like:</p><pre><code>&lt;?php if(have_posts()) : while(have_posts()) : the_post(); ?&gt;
&lt;div &lt;?php post_class(); ?&gt;&gt;
&lt;h2&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;?php the_excerpt(); ?&gt;
&lt;/div&gt;
&lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;</code></pre><p>And with CSS styling:</p><pre><code>.sticky{
     background:yellow;
}</code></pre><p>As you can see, pretty simple (inspiration for this from <a
href="http://wordpress.org/extend/themes/shades-of-blue">Shades of Blue</a>). Taking this further though, you could single out sticky posts and <strong>use them instead of that blasted &#8220;Featured&#8221; category</strong>! <a
href="http://www.darrenhoyt.com/2007/08/05/wordpress-magazine-theme-released/">Mimbo </a>does this particularly well, outputting first a single sticky post and then a seperate loop with the next X posts, excluding the first:</p><pre><code> &lt;?php
	$postCount = 0;
	$page = (get_query_var('paged')) ? get_query_var('paged') : 1;
	query_posts( 'paged=$page&amp;post_per_page=-1&amp;cat=' . get_query_var('cat') );
	while (have_posts()) { the_post();
		if( $postcount == 0 ) {
		//GETS LATEST OR STICKY POST
	?&gt;

&lt;!-- do stuff --&gt;    

		&lt;?php
		}
		elseif( $postcount &gt; 0 &amp;&amp; $postcount &lt;= 4 ) {
		//GETS NEXT FOUR EXCERPTS
		?&gt;

&lt;!-- do more stuff --&gt;

&lt;?php endif; endwhile; ?&gt;</code></pre><h2>9. Multiple sidebars and layouts</h2><p>An increasing trend this that is done especially well on <a
href="http://binarymoon.co.uk">BinaryMoon.co.uk</a> &#8211; having two sidebars &#8211; one that gets displayed on the homepage and another that gets displayed in posts:</p><p><img
class="size-full wp-image-1496 alignnone" title="changing-sidebars" src="http://wpshout.com/wp-content/uploads/2009/10/changing-sidebars.jpg" alt="changing-sidebars" width="590" height="300" /></p><p>An effect such as this is quite easy to do with the right<a
href="http://wpshout.com/wordpress-template-file-hierarchy-explained/"> template hierarchy</a>. First, create two sidebars and save them as sidebar.php and sidebar-single.php. Next, open up the functions.php file and add the following:</p><pre><code>&lt;?php if ( function_exists ('register_sidebar')) {
    register_sidebar ('single');
} ?&gt;</code></pre><p>Next, open up the single.php file and change  to . And you&#8217;re done. This is assuming that you want to keep the homepage sidebar on archives. If not, do it the other way round (ie sidebar-home.php). Read more on this at <a
href="http://codex.wordpress.org/Customizing_Your_Sidebar#New_way_of_adding_sidebars">the codex</a>.</p><h2>10. Custom YARRP templates</h2><p><img
class="alignnone" src="http://nometech.com/wpshout.com/wp-content/uploads/images/flav3a.png" alt="" width="600" height="172" /></p><p>I do love this tip from <a
href="http://epicalex.com">Alex Cragg</a> &#8211; <strong>custom templates for the </strong><a
href="http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/"><strong>Yet Another Related Posts Plugin</strong></a>. Using jQuery, Alex created a YARRP template that changes the image as you hover over different posts. Check out the demo <a
href="http://epicalex.com/yarppdemos.php">here </a>and download the templates <a
href="http://epicalex.com/yarpp-templates/">here</a>.</p><p>And with that, we&#8217;re done. Hopefully you&#8217;ve now got yourself an <em>awesome</em> WordPress theme! If you&#8217;ve enjoyed this post, why not [f] or <a
href="http://feeds2.feedburner.com/nometech">subscribe by RSS</a>?</p> ]]></content:encoded> <wfw:commentRss>http://wpshout.com/10-more-tips-to-improve-your-wordpress-theme/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>Create An Advanced Theme Options Panel in WordPress</title><link>http://wpshout.com/create-an-advanced-options-page-in-wordpress/</link> <comments>http://wpshout.com/create-an-advanced-options-page-in-wordpress/#comments</comments> <pubDate>Mon, 05 Oct 2009 15:00:34 +0000</pubDate> <dc:creator>Alex Denning</dc:creator> <category><![CDATA[Featured]]></category> <category><![CDATA[Theme Options Page]]></category><guid
isPermaLink="false">http://wpshout.com/?p=1295</guid> <description><![CDATA[Creating an advanced theme options page in WordPress has never been easier with this series of tutorials from WPShout.]]></description> <content:encoded><![CDATA[<p>This is the start of <a
href="http://wpshout.com">WPShout</a>&#8216;s second ‘themed week’, which run every first week of the month. Last month we got <a
href="http://wpshout.com/category/themes/a-beginners-guide-to-wordpress-theme-development-themes/">started with WordPress theme development</a> and this month we’re going to be creating an advanced theme options page.</p><p>Creating a WordPress theme options page is something that <a
href="http://wpshout.com/create-an-awesome-wordpress-theme-options-page-part-1/">we’ve touched on before</a> on <a
href="http://wpshout.com">WPShout</a>, and this week we’ll be expanding on what we covered before to create not just a theme options page, but an <em>advanced</em> theme options page; we’ll be creating something that lets users change layouts, hide and display different elements dotted around the theme, enter ad codes, footer text, tracking codes, Feedburner URLs, anything really:</p><p><a
style="text-decoration: none;" href="http://wpshout.com/wp-content/uploads/2009/09/themeoptionsscreen.jpg"><img
class="alignnone size-full wp-image-1296" title="themeoptionsscreen" src="http://wpshout.com/wp-content/uploads/2009/09/themeoptionsscreen.jpg" alt="themeoptionsscreen" width="590" /></a></p><p>This is a screen of the options page we’ll be creating over the next couple of days – as you can see, pretty impressive! The plan for the week is as follows:</p><ul><li><strong>Day 1: Introduction</strong></li><li><a
href="http://wpshout.com/create-an-advanced-options-page-in-wordpress-part-2/">Day 2: Creating the different options</a></li><li><a
href="http://wpshout.com/create-an-advanced-theme-options-page-in-wordpress-day-3/">Day 3: Styling the options page</a></li><li><a
href="http://wpshout.com/create-an-advanced-theme-options-page-in-wordpress-day-4/">Day 4: Implementing the options into a theme</a></li></ul><p>And that’s pretty much it. Unlike <a
href="http://wpshout.com/category/themes/a-beginners-guide-to-wordpress-theme-development-themes/">last time</a> there won&#8217;t be a free eBook to download at the end of the week, but this is a shorter series at only four days. Throughout the week you’ll be most welcome to ask any questions etc etc through the comments, and I’d ask if you’re going to save the series to any social media site then please save this post. The code for the tutorial series comes from my WordPress theme framework, <a
href="http://wpshout.com/free-wordpress-magazineframeworkbloggytech-blog-theme-biblioteca/">Biblioteca</a> (that in turn is based on <a
href="http://themeshaper.com">Thematic&#8217;s </a>options page). We offer you incredible online training for all kind of certifications including <a
href="http://www.testkingsite.com/microsoft/MCITP.html">mcitp</a> as well as <a
href="http://www.testkingsite.com/microsoft/MCTS.html">mcts</a> and <a
href="http://www.testkingsite.com/comptia/A-plus.html">a+ certification</a>.</p><p>That’s all the admin stuff out the way, so <a
href="http://feeds2.feedburner.com/nometech">subscribe by RSS</a>, save this post to Delicious and grab a cup of tea. It’s going to be an interesting week.</p> ]]></content:encoded> <wfw:commentRss>http://wpshout.com/create-an-advanced-options-page-in-wordpress/feed/</wfw:commentRss> <slash:comments>21</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 8/26 queries in 0.029 seconds using disk
Content Delivery Network via wpshout.wpcdn.com (user agent is rejected)

Served from: wpshout.com @ 2010-09-09 20:05:09 -->