<?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>Fourced &#187; Design Techniques</title>
	<atom:link href="http://lohmantrading.com/Fourced/category/the-internet-wordpress-and-technology/design-techniques/feed/" rel="self" type="application/rss+xml" />
	<link>http://lohmantrading.com/Fourced</link>
	<description>Pure Fource !</description>
	<lastBuildDate>Sat, 31 Oct 2009 02:48:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel="next" href="http://lohmantrading.com/Fourced/category/the-internet-wordpress-and-technology/design-techniques/feed/?page=2" />

		<item>
		<title>How To Hide WordPress Subcategories From Display</title>
		<link>http://lohmantrading.com/Fourced/2009/09/how-to-hide-wordpress-subcategories-from-display/</link>
		<comments>http://lohmantrading.com/Fourced/2009/09/how-to-hide-wordpress-subcategories-from-display/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 09:43:44 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[CSS and PHP]]></category>
		<category><![CDATA[Design Techniques]]></category>
		<category><![CDATA[WordPress Templates & Design]]></category>
		<category><![CDATA[Web Site Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Templates]]></category>

		<guid isPermaLink="false">http://lohmantrading.com/Fourced/?p=1139</guid>
		<description><![CDATA[
This article will deal with how to hide certain categories and subcategories from displaying in your navigation menus.  We have covered a couple of different ways to display WordPress categories and subcategories, but sometimes excluding some links can help to present even cleaner navigational menus.

Why do we need this ?
There are many different reasons [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-left: 2px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F09%2Fhow-to-hide-wordpress-subcategories-from-display%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F09%2Fhow-to-hide-wordpress-subcategories-from-display%2F" height="61" width="51" /></a></div><p><IMG SRC="http://www.lohmantrading.com/Fourced/post-images/WordPress_Thumb_Black.jpg" hspace="12" img class="alignleft" alt="WordPress Erase Image"><br />
This article will deal with how to <B>hide</b> certain categories and subcategories from displaying in your navigation menus.  We have covered a couple of different ways to display WordPress categories and subcategories, but sometimes excluding some links can help to present even cleaner navigational menus.<br />
<BR><br />
<B>Why do we need this ?</B><br />
There are many different reasons that we may not want to display all of our categories all the time.  For this article we are going to look at the &#8220;<a href="http://lohmantrading.com/Fourced/category/art-and-photography/" target="_blank">Photography Category</a>&#8221; (<i>link opens in new window</i>)  on this blog.<br />
<BR>I wanted the photographs grouped upon the type of image, for example flowers, the ocean, sunsets, and the like through the use of subcategories.  While that was going to be the main focus of this category, I also wanted the ability to create smaller photo albums based upon WHERE the picture was taken.  Only about 30% of the photos would actually be placed in a geographic location sub-subcategory.  I wanted this additional sorting ability so that I could write posts about the travel destinations portrayed in the photos and insert these photo albums into the posts.<br />
<BR> See this graphical display:<br />
<BR><br />
<IMG SRC="http://www.lohmantrading.com/Fourced/post-images/Post_HideSubCategories.jpg" alt="WordPress Subcategory structure"><br />
<BR><br />
The problem I ran into when I set this up is that all of the sub-subcategories under the geographic locations subcategory were displaying in the navigation menu on the parent category and subcategory pages.  Obviously this was not needed.  This was going to create crowded and messy navigation menus on down the line.  I wanted to exclude the sub-subcategories from all displays except for inside the actual &#8220;Geographic Locations&#8221; subcategory.<br />
<BR><br />
<B>How To Accomplish This</b><br />
You might want to quickly read the article &#8220;<a href="http://lohmantrading.com/Fourced/2009/07/how-to-display-subcategories-wordpress-category-templates/" target="_blank">How To Display Subcategories</a>&#8221; to familiarize yourself with the <B>&#8220;list categories&#8221;</b> template tag that we are using to display the subcategory navigation menus.<br />
<br /> The original template tag looked like this:<br />
<BR><B>&lt;?php wp_list_categories(&#8217;child_of=5&amp;style=list&amp;title_li=&#8217;); ?&gt;</b><br />
<BR>When you visit the &#8220;Photography Category&#8221; that template tag displays the navigation menu of subcategories.   The menu appears on the page directly below the page header image.<br />
<BR>The following changes were made:<br />
<BR><B>&lt;?php wp_list_categories(&#8217;child_of=5&amp;<font color="red">depth=1</font>&amp;<font color="green">exclude=111</font>&amp;style=list&amp;title_li=&#8217;); ?&gt;</b><br />
<BR>You will obviously need to change the number values above to match the category ID numbers of your specific blog, but the above tag can be broken down as follows:<br />
<UL></p>
<li><b>Child_of=</b>. This parameter tells WordPress to display all of the subcategories under the photography parent category.  If this was the only parameter, then all of the subcategories <b>and</b> sub-subcategories shown in the image above would be displayed in the menu.</li>
<li><b>Depth=</b>. This parameter tells WordPress to display ONLY the subcategories directly under the photography category.  Sub-subcategories and all deeper category depths will not be displayed in the menu.  So all of the actual location sub-subcategories such as San Fransisco would be excluded.  Different values can be entered here to regulate how many depths you would like to display.  You can visit the WordPress site at the link below for more information on this.</li>
<li><b>Exclude=</b>. This parameter tells WordPress to <b>NOT</b> display the link to the &#8220;Geographic Locations&#8221; subcategory.  This was a personal preference of mine and is not required.  I excluded this category from the navigation menu as I wanted to hard code this link to the bottom of the navigation menu as opposed to having it appear in alphabetical order.  </li>
<li><b>style=list&amp;title_li=</b>. These are display property parameters that will tell WordPress how to display the list.  You can learn more about these on the WordPress Codex site <a href="http://codex.wordpress.org/Template_Tags/wp_list_categories" target="blank">here</a>.  (opens in new window)</li>
</ul>
<p><BR>From here, all I needed to do was set-up a template file for my &#8220;Geographic Locations&#8221; subcategory ( <a href="http://lohmantrading.com/Fourced/2009/07/how-to-display-subcategories-wordpress-category-templates/" target="_blank">How To Do This</a> ) and add a special navigation menu that would display the different location sub-subcategories.  The template tag used to accomplish this goal was:<br />
<BR><B>&lt;?php wp_list_categories(&#8217;child_of=111&#038;depth=1&#038;style=&#038;title_li=&#8217;); ?&gt;</b><br />
<BR><br />
<B>In Conclusion</b><br />
What we did above was completely hide all references to the &#8220;Geographic Locations&#8221; sub-sub categories from ALL areas of this blog except for when you are actually in the geographic locations subcategory.  You are presented with links to the &#8220;Patrick&#8217;s Point&#8221;, &#8220;Sierra Nevada Mountains&#8221;, and &#8220;San Francisco&#8221; photo album categories only after you have clicked on the &#8220;Photos By Geographic Locations&#8221; link.<br />
<BR>This blog is not a &#8220;travel destination&#8221; blog so most of the visitors are probably just here to look at a certain type of photograph, ie: flowers, and are not overly concerned with WHERE the photo was taken.  I don&#8217;t need to overwhelm the visitor with unwanted links to 100 different geographic locations.  Instead I present them with one link to a page where they can then sort photos based upon location if they desire.<br />
<BR>I think that you will find your navigational menus much cleaner and easier to navigate by removing some of the unneeded links.  Take a look and see if you can&#8217;t hold off on displaying certain links until the visitor reaches a certain location or depth of your blog.<br />
<BR><br />
For more information on the <B>&#8220;list categories&#8221;</b> template tag and the different parameters that you can set, visit the <a href="http://codex.wordpress.org/Template_Tags/wp_list_categories">WordPress Codex Site</a>.<br />
<BR><br />
Hopefully this article has been a help to those of us who are not &#8220;code&#8221; addicts.  I like to pass-along tidbits of information that might allow non-programmers the ability to modify their own websites.  Please keep in mind that I am not a professional programmer but I have been building and modifying websites since 1995 using HTML, cgi, perl, MIVA, PHP, and CSS.  Suggestions on other ways to reach the desired goals above are always welcome  &#8230;  please consider leaving a comment !<br />
<BR><b>Always remember to save copies of your original files BEFORE you modify them.  This will allow you to easily revert your web site if the changes do not work.</b><br />
<BR>Comments <i>( <a href="#respond">leave a comment here</a> )</i> and thoughts <B>ALWAYS</B> welcome !<br />
<BR><br />
<img src="http://www.lohmantrading.com/Fourced/graphics/Chris_Signature.jpg"><br />
<UL>
<li>Go ahead and <a href="http://lohmantrading.com/Fourced/rss-subscribe/">STALK ME</a> &#8211; electronically of course &#8211; <a href="http://lohmantrading.com/Fourced/rss-subscribe/">Subscribe Here</a></li>
</ul>
<p><BR><BR></p>
]]></content:encoded>
			<wfw:commentRss>http://lohmantrading.com/Fourced/2009/09/how-to-hide-wordpress-subcategories-from-display/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Clean Up Your WordPress Blog Step 1 &#8211; Tags and Categories</title>
		<link>http://lohmantrading.com/Fourced/2009/09/clean-up-your-wordpress-blog-step-1-tags-and-categories/</link>
		<comments>http://lohmantrading.com/Fourced/2009/09/clean-up-your-wordpress-blog-step-1-tags-and-categories/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 11:33:49 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[CSS and PHP]]></category>
		<category><![CDATA[Design Techniques]]></category>
		<category><![CDATA[WordPress Templates & Design]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Web Site Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Templates]]></category>

		<guid isPermaLink="false">http://lohmantrading.com/Fourced/?p=1091</guid>
		<description><![CDATA[Can you tell that this blog has 41 categories and 84 tags in my tag cloud ?

I figured that it was about time to group some of my WordPress posts and show you why I am doing what I am doing.  I have written a few &#8220;How To&#8221; articles but I haven&#8217;t brought them [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-left: 2px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F09%2Fclean-up-your-wordpress-blog-step-1-tags-and-categories%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F09%2Fclean-up-your-wordpress-blog-step-1-tags-and-categories%2F" height="61" width="51" /></a></div><p><B>Can you tell that this blog has 41 categories and 84 tags in my tag cloud ?</b><br />
<BR><br />
<IMG SRC="http://www.lohmantrading.com/Fourced/post-images/WordPress_CleanUp_Thumb.jpg" hspace="12" img class="alignleft" alt="Cleanup WordPress Navigation">I figured that it was about time to group some of my WordPress posts and show you why I am doing what I am doing.  I have written a few &#8220;How To&#8221; articles but I haven&#8217;t brought them together under one roof to show you how these simple steps can help you clean-up your blog.<br />
<BR>With this being my fifth blog and about 20th web site, I really wanted this one to have a cleaner, smoother look.  It drives me nuts when I visit a blog and it takes 12 minutes to load because of all of the JavaScript gadgets in the side column, or the 4 navigation columns and one very skinny content column, or having 10 full length posts on the front page.   None of that is needed, and your actually killing (through suffocation) your visitors.  Navigation is very helpful.  Excessive navigation is just a needle in a haystack.<br />
<BR>For example, this blog grows every time I post a new article.  Maybe I add a new tag or a new category &#8230; Maybe I use only ones &#8230; but it always grows in some fashion.  I have been running this blog for about 2 months now and I have 84 tags and 41 categories, but you cannot tell that from my side columns.  It could grow to over 200 categories and 10,000 tags in the next month and my side columns and header will never change.<br />
<BR>While you are on this page, reading this article, I am going to guess that you have absolutely no interest in knowing that this blog has a sub-sub-category that contains photographs of Agate Beach in Northern California.  If you wanted to look at photographs you would use the photography link in the header.  There is no need to list all categories in the side column.  This is the same navigational concept they use a Yahoo andd other organized web portals.  The front page has a link to the &#8220;sports&#8221; section.  There is no need to have links to all of the separate team pages until <B>AFTER</B> you have clicked through to the sports section.<br />
<BR><br />
So clean up your blog round 1 contains:<br />
<BR><br />
<H3><B>1.  Moving Your Tag Cloud</b></h3>
<p>I wrote about HOW to move your tag cloud in the article <a href="http://lohmantrading.com/Fourced/2009/07/toxic-tag-clouds/" target="_blank">Toxic Tag Clouds</a>.  What this will allow you to do is physically move your tag cloud off your side column and place it on a page instead.  This can clean up a massive amount of real estate in your side column.  After you place your tag cloud on a WordPress page just place a link to it in your side column or in the header links.  People who love tags can easily find your tags and you will not be creating the amazonian jungle of links in your side column.<br />
<BR><br />
<H3><B>2. Use Multiple Levels Of Categories For Better Navigation</b></h3>
<p>This blog has 4 parent categories, 35 sub-categories, and 2 sub-sub categories.  The only links the appear in my header links are to the 4 parent categories &#8230; tech, ramblings, writing, and photography.  After you click on one of those links you will be given sub-category links to better refine your search.<br />
<BR>Let&#8217;s use Yahoo as an example here.  You go to the front of yahoo and find 4 parent categories &#8230; News, Sports, Movies, TV.  You click on the Sports link and then can choose from 10 sub-categories in the header bar &#8230; let&#8217;s say these subcategories are the 10 different sports teams.  You click on one of the sports teams link and you are presented with some sub-sub-category links in the header bar &#8230; players on the team, team stats, team schedule and so on.   You do not need to place the &#8220;team schedule&#8221; link on the very front of Yahoo because only a very small fraction of people are going to be interested in that &#8230; yet the navigation is extremely clear so that the people who DO follow that team can quickly and easily get to that page.<br />
<BR>I have fallen in love with subcategories because they offer <B>much better</b> navigation then tags.  By using multiple category depths you can accomplish this navigational style.  It is really the only way and should be almost considered a MUST DO.<br />
<BR>To accomplish this goal I have written a couple of different articles.  The first article that you should look at is: <a href="http://lohmantrading.com/Fourced/2009/07/how-to-display-subcategories-wordpress-category-templates/" target="_blank">How To Display Subcategories &#038; WordPress Category Templates</a>.  This article will show you how to create separate templates for each of your parent categories.  We are using separate templates because it allows us to display the subcategories that are the children of that particular category.  Again, clean, simple navigation is what we are going for.<br />
<BR>The second article is <a href="http://lohmantrading.com/Fourced/2009/08/how-to-display-wordpress-subcategories-descendant-function/" target="_blank">How To Display WordPress SubCategories: Descendant Function</a>.  This article will show you how to display the subcategories that are under the parent category of the article you are currently reading.  For example, this article is in the tech category so I would only want to display &#8220;tech&#8221; subcategories.  Again, it would be a mess if I included all 35 of my subcategories, but to include the directly related categories is good for navigation.  Read your reader&#8217;s mind and give them what is most related to their interests.  You can see an example of this in the <B>Related Posts</b> section at the bottom of this post.<br />
<BR>The third article deals with <a href="http://lohmantrading.com/Fourced/2009/09/how-to-hide-wordpress-subcategories-from-display/">How To Exclude Certain Categories From Menus</a>.  This is very useful in presenting a clean navigational menu.  There in no need to display second or third level subcategories <i><b>before</b></i> your visitor has gone to the first level sub category.  It only creates confusion and an overwhelming number of links.<br />
<BR><br />
<H3><B>3. Widget and Plugin Madness !</b></h3>
<p>You will notice in the above article that we are doing a lot of hand coding to accomplish these goals.  You may be asking yourself why we are not using widgets and plugins.  The answer, for me, is a simple one &#8230; flexibility.  I don&#8217;t want to use sidebar widgets because my whole goal is to clean-up the sidebar, not add more to it.  As for general plugins, many of them lack flexibility.  They may do one or two of the things I was looking for but very rarely will they accomplish everything.<br />
<BR>In addition, when you hand-code something you have the option to NOT place the code in certain locations.  I can place these little code changes anywhere I want in my template files, BUT I also have the option to leave these functions off certain OTHER pages or sub-template files.  I can also place the code anywhere I would like to on the page.  For example, if you visit my &#8220;Photos By Geographic Location&#8221; in the photography section you notice a double navigational menu.  If I so desire I could easily remove the second menu without affecting the first menu.  How ?  Because they are not controlled by a single master &#8220;plugin&#8221; program.<br />
<BR><BR><br />
So get out there and clean-up those blogs.  Get your navigational menus in order.  Let your visitors just flow through your site.  Trust me, you don&#8217;t want to have to force them to find their way through the jungle.<br />
<BR>For example, take a peek at the mess I have going on in my last blog &#8230; <a href="http://LohmanTrading.com" target="blank">Lohman Trading</a>.  In the next month or so I will really need to attend to this blog. The navigation is overwhelming.  I will be applying all of the techniques mentioned above !<br />
<BR><br />
Hopefully this article has been a help to those of us who are not &#8220;code&#8221; addicts.  I like to pass-along tidbits of information that might allow non-programmers the ability to modify their own websites.  Please keep in mind that I am not a professional programmer but I have been building and modifying websites since 1995 using HTML, cgi, perl, MIVA, PHP, and CSS.  Suggestions on other ways to reach the desired goals above are always welcome  &#8230;  please consider leaving a comment !<br />
<BR><b>Always remember to save copies of your original files BEFORE you modify them.  This will allow you to easily revert your web site if the changes do not work.</b><br />
<BR>Comments <i>( <a href="#respond">leave a comment here</a> )</i> and thoughts <B>ALWAYS</B> welcome !<br />
<BR><br />
<img src="http://www.lohmantrading.com/Fourced/graphics/Chris_Signature.jpg"><br />
<UL>
<li>Go ahead and <a href="http://lohmantrading.com/Fourced/rss-subscribe/">STALK ME</a> &#8211; electronically of course &#8211; <a href="http://lohmantrading.com/Fourced/rss-subscribe/">Subscribe Here</a></li>
</ul>
<p><BR><BR></p>
]]></content:encoded>
			<wfw:commentRss>http://lohmantrading.com/Fourced/2009/09/clean-up-your-wordpress-blog-step-1-tags-and-categories/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How To Create Mini Photo Albums on WordPress Post Pages</title>
		<link>http://lohmantrading.com/Fourced/2009/08/how-to-create-mini-photo-albums-on-wordpress-post-pages/</link>
		<comments>http://lohmantrading.com/Fourced/2009/08/how-to-create-mini-photo-albums-on-wordpress-post-pages/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 21:29:29 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Design Techniques]]></category>
		<category><![CDATA[Images and Graphics]]></category>
		<category><![CDATA[WordPress Templates & Design]]></category>
		<category><![CDATA[Graphics and Icons]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Site Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://lohmantrading.com/Fourced/?p=888</guid>
		<description><![CDATA[In this article we will be creating mini photo albums on our WordPress post pages in the photography category.  These photo albums will replace our standard &#8220;Related Posts&#8221; link lists on these pages and create a very nice graphic display of related photographs.  Hopefully this will make it easier for your blog visitors [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-left: 2px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F08%2Fhow-to-create-mini-photo-albums-on-wordpress-post-pages%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F08%2Fhow-to-create-mini-photo-albums-on-wordpress-post-pages%2F" height="61" width="51" /></a></div><p><IMG SRC="http://www.lohmantrading.com/Fourced/post-images/PostPage_PhotoAlbums.jpg" hspace="12" img class="alignleft" alt="WordPress post pages photo albums">In this article we will be creating mini photo albums on our WordPress post pages in the photography category.  These photo albums will replace our standard &#8220;Related Posts&#8221; link lists on these pages and create a very nice graphic display of related photographs.  Hopefully this will make it easier for your blog visitors to find related photographs and entice additional page visits.<br />
<BR>In my TimThumb thumbnail article I talked about the wonderful flexibility that timthumb.php offers.  I also stated that my next project with this program would be to create mini photo albums on the post pages in my <B>Art and Photography Category</b>.  Well, I am happy to announce that I have actually completed that project A LOT quicker then I thought I would.<br />
<BR>Before reading this article, it is suggested that you take a look at the following previous articles.  By reading these articles first you will have a much better understanding of the procedure to create the photo albums :<br />
1. <a href="http://lohmantrading.com/Fourced/2009/08/beautiful-and-easy-thumbnails-with-timthumb/">Beautiful and Easy Thumbnails with TimThumb</a><br />
2. <a href="http://lohmantrading.com/Fourced/2009/07/how-to-display-subcategories-wordpress-category-templates/">How To Display Subcategories &#038; WordPress Category Templates</a><br />
3. <a href="http://lohmantrading.com/Fourced/2009/08/wordpress-loop-inside-of-a-loop/">WordPress Loop Inside Of A Loop</a><br />
<BR><br />
You can see an example of the mini photo albums on my <a href="http://lohmantrading.com/Fourced/2009/08/perfectly-pink-irish-clover-flower-blooms/" target="_blank">Clover Flowers post</a>.  The photo album appears below my signature in the &#8220;Related Posts&#8221; section.<br />
<BR><br />
<B>STEP 1.</b><br />
You must have timthumb.php installed on your WordPress blog or this code will not work.  If you need to install timthumb.php, please visit the <a href="http://lohmantrading.com/Fourced/2009/08/beautiful-and-easy-thumbnails-with-timthumb/" target="_blank">Timthumb Page</a> for details.<br />
<BR><br />
<B>STEP 2.</b><br />
The first step is to create a custom field on your &#8220;Add New Posts&#8221; page in WP admin. Click on &#8220;add new&#8221; in the custom field section of the page and add a new field named <B>photoalbum</b>.  You can obviously change the field name to anything you would like.<br />
<BR><br />
<B>STEP 3.</b><br />
Add the following code to your <B> &#8220;single.php&#8221; </b> page. (this page displays your individual posts)<br />
<B><BR>&lt;B&gt;&lt;h3&gt;Related Posts:&lt;/h3&gt;&lt;/B&gt;<br />
&lt;?php $photoalbumlink = get_post_meta($post-&gt;ID, &#8216;photoalbum&#8217;, true);<br />
if ($photoalbumlink) {<br />
?&gt;<br />
Below are more photographs from the same photo album. You can visit the main photo album page if you would like to see all of the photographs from this album.<br />
&lt;BR&gt;<br />
&lt;?php $my_queryphoto = new WP_Query(&#8217;cat=&#8217;.$photoalbumlink.&#8217;&amp;showposts=10&#8242;); ?&gt; &lt;?php while ($my_queryphoto-&gt;have_posts()) : $my_queryphoto-&gt;the_post(); ?&gt;</p>
<p>&lt;?php<br />
$thumbnail = get_post_custom();<br />
$scrap = get_bloginfo(&#8217;wpurl&#8217;) . &#8216;/wp-content/themes/YOUR_THEME_NAME/timthumb.php?&#8217;;<br />
if (empty($thumbnail['thumbnail'][0])) {<br />
$imagpath = $scrap . &#8217;src=&#8217; . get_bloginfo(&#8217;wpurl&#8217;) . &#8216;/wp-content/themes/YOUR_THEME_NAME/images/thumbnail.jpg&#8217; . &#8216;&amp;amp;w=100&amp;amp;h=80&amp;amp;zc=1&#8242;;<br />
} else {<br />
$imagpath = $scrap . &#8217;src=&#8217; . $thumbnail['thumbnail'][0] . &#8216;&amp;amp;w=90&amp;amp;h=70&amp;amp;zc=1&#8242;;<br />
}<br />
?&gt;<br />
&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;&lt;?php the_title(); ?&gt;&#8221;&gt;&lt;img src=&#8221;&lt;?php echo $imagpath; ?&gt;&#8221; alt=&#8221;&lt;?php the_title(); ?&gt;&#8221; /&gt;&lt;/a&gt;<br />
&lt;?php endwhile; ?&gt;</p>
<p>&lt;BR&gt; See more photos in the album: &lt;?php wp_list_categories(&#8217;include=&#8217;.$photoalbumlink.&#8217;&amp;style=html&amp;title_li=&#8217;); ?&gt;</p>
<p>&lt;?php } else { ?&gt;<br />
&lt;?php similar_posts(); ?&gt;<br />
&lt;?php } ?&gt;<br />
<BR>&lt;?php rewind_posts(); the_post(); ?&gt;</b> <--- your MIGHT need this snippet<br />
<BR><br />
<b>CODE BREAKDOWN:</b> Here is a breakdown of the above code &#8230;<br />
<BR>First &#8230; in my example, when you want to display the mini photo album on the post page you should enter the <b>cat id</b> (number) of the category you want displayed as the photo album.  Enter this number as the value for your photoalbum custom field when you are adding a new post.  This is especially useful if you post photos to more then one category.<br />
<BR><br />
<font color="red"><B>&lt;?php $photoalbumlink = get_post_meta($post-&gt;ID, &#8216;photoalbum&#8217;, true);<br />
if ($photoalbumlink) {<br />
?&gt;</b></font><br />
This segment of the code checks to see if your post has the &#8220;photoalbum&#8221; custom field specified.  If the photoalbum field has been filled out when you wrote your post (true statement) then it is renamed to <b>photoalbumlink</b>.  If the photoalbum field was not filled out, then we jump down to the <b>else</b> statement further down the page.<br />
<BR><br />
<font color="red"><B>&lt;?php $my_queryphoto = new WP_Query(&#8217;cat=&#8217;.$photoalbumlink.&#8217;&amp;showposts=10&#8242;); ?&gt; &lt;?php while ($my_queryphoto-&gt;have_posts()) : $my_queryphoto-&gt;the_post(); ?&gt;</b></font><br />
We need to create another loop to pull-in the photo thumbnails for the photo album. Since I am already running 2 other loops on the post page  (gallery at top of page <B>and</b> the loop to pull the post info in) I needed to pick a unique term for this loop &#8211; &#8220;queryphoto&#8221;.  See the article link above for <B>&#8220;Loop inside of a Loop&#8221;</b> for more information on this.  In the query I am specifying which category/subcategory to pull the thumbs from using <B>cat=.$photoalbumlink.</b> with the photoalbumlink being the cat id number that we specified in our custom field when we created the post.  I am also requesting that only 10 post thumbnails be shown.<br />
<BR><br />
<font color="red"><B>&lt;?php<br />
$thumbnail = get_post_custom();<br />
&#8230;&#8230;.. THROUGH &#8230;&#8230;.<br />
&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;&lt;?php the_title(); ?&gt;&#8221;&gt;&lt;img src=&#8221;&lt;?php echo $imagpath; ?&gt;&#8221; alt=&#8221;&lt;?php the_title(); ?&gt;&#8221; /&gt;&lt;/a&gt;</b></font><br />
All of this code is from <B>timthumb.php.</b>  There is really no sense to go through all of it again in this article.  If you are unfamiliar with any part of this code, please take a look at my article: <a href="http://lohmantrading.com/Fourced/2009/08/beautiful-and-easy-thumbnails-with-timthumb/">Beautiful and Easy Thumbnails with TimThumb</a>.<br />
<BR><br />
<font color="red"><B>&lt;BR&gt; See more photos in the album: &lt;?php wp_list_categories(&#8217;include=&#8217;.$photoalbumlink.&#8217;&amp;style=html&amp;title_li=&#8217;); ?&gt;</p>
<p>&lt;?php } else { ?&gt;<br />
&lt;?php similar_posts(); ?&gt;<br />
&lt;?php } ?&gt;</b></font><br />
There are 2 important parts to this code segment.<br />
<BR><B>1.</b> The &#8220;See more &#8230;&#8221; segment of the code creates a link to to the rest of the pictures in this photo album (category).  The &#8220;include&#8221; requirement is telling WordPress to link ONLY to the category specified in our custom field.  This is the same category that was used in our query posts above.<br />
<BR><B>2.</b> Everything after the &#8220;ELSE&#8221; statement is displayed if you DID NOT specify a cat id in your photoalbum custom field of the &#8220;add new post&#8221; page.  In other words, if you leave it blank the following will display.  You will need this so WordPress will know what to display on post pages that are NOT in the photography category.  In my case above, I am using a &#8220;similar posts&#8221; plugin to display text links to similar posts.  If you look below in the &#8220;related posts&#8221; section on this page you will notice that NO photo album appears, just the related posts links.<br />
<BR><br />
<font color="red"><B>&lt;?php rewind_posts(); the_post(); ?&gt;</b></font><br />
You will need this little piece of code IF you need to return to the original post query.  You will need this for your comments box IF you place this photo album above it.  You may also need it if you have social networking submission links below the photo album.  I am not 100% comfortable with this little code piece, but as far as I can tell is that it is telling WordPress to re-populate the &#8220;query&#8221; with the original query post information.  For example, the permalink and the title from the post that displays on your page.<br />
<BR><br />
<B>WHY AM I DOING IT THIS WAY</b><br />
<BR>When you look at all the above code, you may notice that there may be slightly easier ways to accomplish this task.  Maybe you have seen a &#8220;related posts&#8221; program that would accomplish this.  Maybe a gallery program would.  But I can pretty much guarantee that those will not offer you the type of flexibility that this does.  The above method offers post-by-post flexibility.  I would like to see a standard plug-in offer that.<br />
<BR>This method is very useful for me because I post my photographs in up to three categories.  For a photo of the ocean I may display it in the &#8220;ocean&#8221; category, the &#8220;scenic&#8221; category, and the &#8220;Patrick&#8217;s Point&#8221; category.  For my post page mini photo albums I would like to display related pictures based upon the LOCATION (Patrick&#8217;s Point) so I would select that cat id for my custom field.<br />
<BR>As a side note, my Patrick&#8217;s Point Category is a sub-sub-category.  It is semi-hidden under my &#8220;Photos By Location&#8221; subcategory under the photography category.  This, I suppose, will be yet another article in the near future.  <img src='http://lohmantrading.com/Fourced/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<BR>The flexibility of this method is endless.  For example, I could display a photo album of flowers on the bottom of this post if I so desired, just by entering the cat id in my custom field.  I think you probably get the picture &#8230;<br />
<BR><br />
Hopefully this article has been a help to those of us who are not &#8220;code&#8221; addicts.  I like to pass-along tidbits of information that might allow non-programmers the ability to modify their own websites.  Please keep in mind that I am not a professional programmer but I have been building and modifying websites since 1995 using HTML, cgi, perl, MIVA, PHP, and CSS.  Suggestions on other ways to reach the desired goals above are always welcome  &#8230;  please consider leaving a comment !<br />
<BR><b>Always remember to save copies of your original files BEFORE you modify them.  This will allow you to easily revert your web site if the changes do not work.</b><br />
<BR>Comments <i>( <a href="#respond">leave a comment here</a> )</i> and thoughts <B>ALWAYS</B> welcome !<br />
<BR><br />
<img src="http://www.lohmantrading.com/Fourced/graphics/Chris_Signature.jpg"><br />
<UL>
<li>Go ahead and <a href="http://lohmantrading.com/Fourced/rss-subscribe/">STALK ME</a> &#8211; electronically of course &#8211; <a href="http://lohmantrading.com/Fourced/rss-subscribe/">Subscribe Here</a></li>
</ul>
<p><BR><BR></p>
]]></content:encoded>
			<wfw:commentRss>http://lohmantrading.com/Fourced/2009/08/how-to-create-mini-photo-albums-on-wordpress-post-pages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Beautiful and Easy Thumbnails with TimThumb</title>
		<link>http://lohmantrading.com/Fourced/2009/08/beautiful-and-easy-thumbnails-with-timthumb/</link>
		<comments>http://lohmantrading.com/Fourced/2009/08/beautiful-and-easy-thumbnails-with-timthumb/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 08:53:55 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[CSS and PHP]]></category>
		<category><![CDATA[Design Techniques]]></category>
		<category><![CDATA[Images and Graphics]]></category>
		<category><![CDATA[WordPress Templates & Design]]></category>
		<category><![CDATA[Graphics and Icons]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Site Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://lohmantrading.com/Fourced/?p=819</guid>
		<description><![CDATA[A few articles back I mentioned that I would do a post about the thumbnail program that this blog uses &#8230; TimThumb.  Without further ado let&#8217;s take a peek at this small php program.

What This Program Does
Timthumb.php will crop, zoom, and resize any and all images and photos on your website.  This program [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-left: 2px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F08%2Fbeautiful-and-easy-thumbnails-with-timthumb%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F08%2Fbeautiful-and-easy-thumbnails-with-timthumb%2F" height="61" width="51" /></a></div><p><IMG SRC="http://www.lohmantrading.com/Fourced/post-images/Post_TimThumb.jpg" hspace="12" img class="alignleft" alt="TimThumb photo thumbnail program">A few articles back I mentioned that I would do a post about the thumbnail program that this blog uses &#8230; TimThumb.  Without further ado let&#8217;s take a peek at this small php program.<br />
<BR><br />
<B>What This Program Does</b><br />
Timthumb.php will crop, zoom, and resize any and all images and photos on your website.  This program will work with .jpg, .png, and .gif images.<br />
<BR><br />
<B>Why Do We Want This Program</b><br />
I like this program because of one thing &#8230; simplicity.  Timthumb came with this theme originally and I have since learned to love it.  There are probably thousands of different WordPress gallery plugins, programs, and thumbnail programs.  Some plugins, by their nature, may be easier to install, but they are not as flexible.<br />
<BR>Timthumb.php runs the following special segments on this blog:  handles all of the article image thumbnailing, runs the mini latest posts gallery at the top of the page (<a href="http://lohmantrading.com/Fourced/2009/08/wordpress-loop-inside-of-a-loop/">article here</a>), and my current adventure of turning my photos category into a gallery.   All of the design and layout is handled by your theme and it&#8217;s stylesheet so it makes it a lot easier to implement timthumb in many different areas of your blog.<br />
<BR>Because only one PHP file is required to do all of that, I have decided to get rid on my photo gallery plugin ( YAPB ) in favor of using timthumb.php.<br />
<BR>The flexibility of timthumb, along with the ease of having only 1 file to look at anywhere thumbnails or galleries are concerned, makes it a win-win for me.<br />
<BR><br />
<B>Installing TimThumb</B><br />
Grab your copy of timthumb for free on the <b><a href="http://code.google.com/p/timthumb/">TimThumb Google Project Page</a></b>.<br />
<BR><BR>1. </b>After you download your copy upload it to your server.  It would probably make the most sense to place it in your current THEME folder like:<br />
<B>MY_WEBSITE/wp-content/themes/MY_THEME/timthumb.php</b><br />
<BR><B>2.</b> On your &#8220;Add Post&#8221; page in WordPress administration you will need to ad a custom field at the lower part of the page.  Let&#8217;s name this custom field &#8220;thumbnail&#8221;.  From now on you can add the URL of the image you want to use as a thumbnail in this field.<br />
<BR><b>3.</b> Add the following code to your theme pages wherever you would like the thumbnail to appear:<br />
<B><BR><br />
&lt;?php<br />
$thumbnail = get_post_custom();<br />
<BR>$scrap = get_bloginfo(&#8217;wpurl&#8217;) . &#8216;/wp-content/themes/<font color="red">YOUR_THEME</font>/timthumb.php?&#8217;;<br />
<BR>if (empty($thumbnail['thumbnail'][0])) { $imagpath = $scrap . &#8217;src=&#8217; . get_bloginfo(&#8217;wpurl&#8217;) . &#8216;/wp-content/themes/<font color="red">YOUR_THEME</font>/images/thumbnail.jpg&#8217; . &#8216;&amp;amp;w=140&amp;amp;h=140&amp;amp;zc=0&amp;amp;q=90&#8242;;<br />
<BR>} else {<br />
 $imagpath = $scrap . &#8217;src=&#8217; . $thumbnail['thumbnail'][0] . &#8216;&amp;amp;w=140&amp;amp;h=140&amp;amp;zc=0&amp;amp;q=90&#8242;;<br />
<BR>}<br />
 ?&gt;<br />
</b><br />
<BR><br />
Now let&#8217;s look at the code piece by piece &#8230;<br />
<BR>The <B>$scrap</b> line &#8230; this is the path to your installation of timthumb &#8230; you will need to change your theme name.  If you installed the file in your theme folder then everything else on this line should be correct, but double check that this path is correct.<br />
<BR>The <b>if empty</b> line tells timthumb what to do if you have not included a thumbnail with your post.  Upload a generic thumbnail to your themes/images/ folder that timthumb can use.  make sure the name of this image is &#8221; thumbnail.jpg &#8221; &#8211; OR &#8211; change the name in the code above.<br />
<BR>The <B>else</b> line creates the thumbnail for your post if you have specified one.<br />
<BR>The settings.  In the above code you will need to change the settings &#8230;<br />
&#8220;w&#8221; stands for the desired width of the thumbnail,<br />
&#8220;h&#8221; stands for the desided height of the thumbnail,<br />
&#8220;zc&#8221; stands for zoom crop (0 is no, 1 is yes),<br />
and &#8220;q&#8221; stands for quality (75 to 100 &#8230; 75 is default).<br />
<BR>Finally, you will probably want to wrap the above code in a <B>div class/id</b> so that you can influence the display.  You can add your new class to your theme&#8217;s stylesheet.<br />
<BR><br />
As you can probably tell from the above code, there is a lot of flexibility here and that is what I like with using this program.  You can run this code anywhere on your page and you can use it as many times as you would like.  In addition, in each and every application of this code you can change the setting to anything you would like.<br />
<BR>My next major project with this code will be developing photo albums to display below below photo posts.  These will contain thumbs of other photos directly related to the original post by category or tag.  I hope to use a new &#8220;Custom Field&#8221; which will allow me to specify which category, tag, or search term to use in gathering the thumbs &#8230; everything else will be automatic.  This, though, is probably still a while away &#8230; <img src='http://lohmantrading.com/Fourced/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<BR><br />
Hopefully this article has been a help to those of us who are not &#8220;code&#8221; addicts.  I like to pass-along tidbits of information that might allow non-programmers the ability to modify their own websites.  Please keep in mind that I am not a professional programmer but I have been building and modifying websites since 1995 using HTML, cgi, perl, MIVA, PHP, and CSS.  Suggestions on other ways to reach the desired goals above are always welcome  &#8230;  please consider leaving a comment !<br />
<BR><b>Always remember to save copies of your original files BEFORE you modify them.  This will allow you to easily revert your web site if the changes do not work.</b><br />
<BR>Comments <i>( <a href="#respond">leave a comment here</a> )</i> and thoughts <B>ALWAYS</B> welcome !<br />
<BR><br />
<img src="http://www.lohmantrading.com/Fourced/graphics/Chris_Signature.jpg"><br />
<UL>
<li>Go ahead and <a href="http://lohmantrading.com/Fourced/rss-subscribe/">STALK ME</a> &#8211; electronically of course &#8211; <a href="http://lohmantrading.com/Fourced/rss-subscribe/">Subscribe Here</a></li>
</ul>
<p><BR><BR></p>
]]></content:encoded>
			<wfw:commentRss>http://lohmantrading.com/Fourced/2009/08/beautiful-and-easy-thumbnails-with-timthumb/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Modifying The Posts Per Page Query In WordPress</title>
		<link>http://lohmantrading.com/Fourced/2009/08/modifying-the-posts-per-page-query-in-wordpress/</link>
		<comments>http://lohmantrading.com/Fourced/2009/08/modifying-the-posts-per-page-query-in-wordpress/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 12:44:30 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[CSS and PHP]]></category>
		<category><![CDATA[Design Techniques]]></category>
		<category><![CDATA[WordPress Templates & Design]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Site Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Templates]]></category>

		<guid isPermaLink="false">http://lohmantrading.com/Fourced/?p=748</guid>
		<description><![CDATA[This article describes how to override the WordPress admin posts-per-page setting for selected pages or sections on your blog. For example, you could set one of your categories to display 20 posts per page while the rest of your blog displays 10 posts per page. We will also take a quick look at how to change the sort order of your categories and archives.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-left: 2px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F08%2Fmodifying-the-posts-per-page-query-in-wordpress%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flohmantrading.com%2FFourced%2F2009%2F08%2Fmodifying-the-posts-per-page-query-in-wordpress%2F" height="61" width="51" /></a></div><p><IMG SRC="http://www.lohmantrading.com/Fourced/post-images/General_WordPress_Thumb.jpg" hspace="12" img class="alignleft">In this article we will be discussing how to override the &#8220;Posts Per Page&#8221; in WordPress admin setting for select sections in your blog.<br />
<BR><br />
<B>Why Do We Need This ?</b><br />
I ran across this problem when I decided to modify my &#8220;Photography and Art Category&#8221;.  I wanted to set-up this category like a photo gallery and display only thumbnail images and no written content.  You can <a href="http://lohmantrading.com/Fourced/category/art-and-photography/" target="_blank">Click here</a> to see the photo category, but please keep in mind that it may not be completely finished yet.  It is still a work in progress.<br />
<BR>This blog is set to display 10 posts per page in the &#8220;reading&#8221; section of WordPress Administration, but for just the photography category &#8230; and only this category &#8230; I wanted at least 30 post thumbnails to be displayed per page.  It would be ineffective to display only 10 thumbnails per page in this category, so I needed to find a way to override my posts-per-page setting.<br />
<BR><br />
<B>The Code To Override</b><br />
You can quite easily override the posts per page setting by using the following code:<br />
<BR><B>&lt;?php  query_posts($query_string.&#8217;&amp;posts_per_page=<font color="red"><B>35</b></font>&#8216;);?&gt;</b><br />
<BR>By using the term &#8220;$query_string&#8221; we are telling WordPress to change query_post ONLY with the information provided.  We are not completely overriding all settings of query_posts.  In the above code you will need to <font color="red"><B>change the red number</b></font> to the number of posts you would like to have displayed on that page.<br />
<BR>This code needs to be placed on your page <b> before</b> The Loop.  For example, your final code may look something like this:<br />
<BR><b><i>&#8230;&#8230; Blah blah &#8230;. header info &#8230;..</i><br />
<BR>&lt;?php  query_posts($query_string.&#8217;&amp;posts_per_page=35&#8242;);?&gt;<br />
&lt;?php if (have_posts()) : ?&gt; 		 				&lt;?php while (have_posts()) : the_post(); ?&gt;<br />
<BR><i>&#8230;&#8230;. blah blah post design settings &#8230;&#8230;.</i></b><br />
<BR><br />
This override feature is especially helpful for overriding the settings on category.php, archive.php, and search results (search.php) pages.  Let&#8217;s say you only want to display post titles on your search results page.  Everywhere else on your blog you display post excerpts and are displaying 10 posts per page.  The search results page could certainly fit more then 10 posts on a page if you are only listing the post titles.  With the above code, added to your search.php file, you could display as many post titles as you would like on a page.<br />
<BR>If you use category templates ( <a href="http://lohmantrading.com/Fourced/2009/07/how-to-display-subcategories-wordpress-category-templates/">article here</a> ) like I do, you can easily use the above code to modify each category independantly.  Very helpful !<br />
<BR><br />
As a side note &#8230; while you are working with this string &#8230; you can also change the sort order of the posts.  WordPress automatically sorts your posts in descending order based upon the date of the post.  You can change this to ascending order using the following method:<br />
<BR><b>&lt;?php  query_posts($query_string.&#8217;&amp;posts_per_page=35&amp;order=ASC&#8217;);?&gt;</b><br />
<BR>Changing the sort order may be helpful for those who have a &#8220;serialized&#8221; category.  Perhaps a storyline or series of photos that need to be viewed IN ORDER from the first post on.<br />
<BR>More info about <i>&#8220;query_posts&#8221;</i> can be found on the <a href="http://codex.wordpress.org/Template_Tags/query_posts">WordPress site</a>.<br />
<BR><br />
Hopefully this article has been a help to those of us who are not &#8220;code&#8221; addicts.  I like to pass-along tidbits of information that might allow non-programmers the ability to modify their own websites.  Please keep in mind that I am not a professional programmer but I have been building and modifying websites since 1995 using HTML, cgi, perl, MIVA, PHP, and CSS.  Suggestions on other ways to reach the desired goals above are always welcome  &#8230;  please consider leaving a comment !<br />
<BR><b>Always remember to save copies of your original files BEFORE you modify them.  This will allow you to easily revert your web site if the changes do not work.</b></p>
<p><BR>Comments <i>( <a href="#respond">leave a comment here</a> )</i> and thoughts <B>ALWAYS</B> welcome !<br />
<BR><br />
<img src="http://www.lohmantrading.com/Fourced/graphics/Chris_Signature.jpg"><br />
<UL>
<li>Go ahead and <a href="http://lohmantrading.com/Fourced/rss-subscribe/">STALK ME</a> &#8211; electronically of course &#8211; <a href="http://lohmantrading.com/Fourced/rss-subscribe/">Subscribe Here</a></li>
</ul>
<p><BR><BR></p>
]]></content:encoded>
			<wfw:commentRss>http://lohmantrading.com/Fourced/2009/08/modifying-the-posts-per-page-query-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
