<?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>BuyNowShop &#187; tips</title>
	<atom:link href="http://buynowshop.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://buynowshop.com</link>
	<description>WordPress administration, installation, and development.</description>
	<lastBuildDate>Tue, 31 Jan 2012 20:32:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Adding Dynamic Copyrights</title>
		<link>http://buynowshop.com/2010/02/adding-dynamic-copyrights/</link>
		<comments>http://buynowshop.com/2010/02/adding-dynamic-copyrights/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 01:52:33 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[cais]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[WPFirstAid]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=1243</guid>
		<description><![CDATA[Dynamic copyright notices (code sample included) to be added to all BuyNowShop.com themes.
Related posts:<ol>
<li><a href='http://buynowshop.com/2011/09/shades-1-7/' rel='bookmark' title='Shades 1.7'>Shades 1.7</a></li>
<li><a href='http://buynowshop.com/2011/12/nona-1-4/' rel='bookmark' title='NoNa 1.4'>NoNa 1.4</a></li>
<li><a href='http://buynowshop.com/2011/01/nona-1-3-1/' rel='bookmark' title='Nona 1.3.1'>Nona 1.3.1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>We will be adding to all of <a href="http://buynowshop.com/themes/">our themes</a> our latest optimization, the <code>bns_dynamic_copyright()</code> function.</p>
<p><a href="http://wpfirstaid.com/">WPFirstAid.com</a> recently <a href="http://wpfirstaid.com/2010/02/dynamic-copyright/">wrote a post</a> covering the inclusion of this dynamic copyright function into most any theme. This added functionality will be included with the next update of each of our themes.</p>
<p>Using the <a href="http://codex.wordpress.org/Function_Reference/get_posts">get_post()</a> function, <strong>bns_dynamic_copyright()</strong> essentially finds the blog&#8217;s first post; makes note of its date; then creates a copyright notice that takes into account the year in the date of the first (read: oldest) post to recognize the lifetime of the blog.</p>
<p>Here is the code to be placed in the <strong>functions.php</strong> file:</p>
<pre class="brush: php; title: ; notranslate">function bns_dynamic_copyright() {
  /* Get all posts */
  $all_posts = get_posts('post_status=publish&amp;order=ASC');
  /* Get first post */
  $first_post = $all_posts[0];
  /* Get date of first post */
  $first_date = $first_post-&gt;post_date_gmt;

  /* Display common footer copyright notice */
  _e('Copyright &amp;copy; ');
  /* Display first post year and current year */
  if ( substr($first_date,0,4) == date(Y) ) {
  /* Only display current year if no posts in previous years */
    echo date(Y);
  } else {
    echo substr($first_date,0,4) . &quot;-&quot; . date(Y);
  }
  /* Display blog name from 'General Settings' page */
  echo ' &lt;strong&gt;' . get_bloginfo('name') . '&lt;/strong&gt; ';
  _e('All rights reserved.');
}</pre>
<p>&#8230; and here is the line of code to replace the <em>old static</em> copyright notice:</p>
<pre class="brush: xml; title: ; notranslate">&lt;?php bns_dynamic_copyright(); ?&gt;</pre>
<p style='text-align:left'>&copy; 2010, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2011/09/shades-1-7/' rel='bookmark' title='Shades 1.7'>Shades 1.7</a></li>
<li><a href='http://buynowshop.com/2011/12/nona-1-4/' rel='bookmark' title='NoNa 1.4'>NoNa 1.4</a></li>
<li><a href='http://buynowshop.com/2011/01/nona-1-3-1/' rel='bookmark' title='Nona 1.3.1'>Nona 1.3.1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2010/02/adding-dynamic-copyrights/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BNS Featured Tag 1.6</title>
		<link>http://buynowshop.com/2009/11/bns-featured-tag-1-6/</link>
		<comments>http://buynowshop.com/2009/11/bns-featured-tag-1-6/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 23:21:48 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[bns-featured-tag]]></category>
		<category><![CDATA[cais]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=982</guid>
		<description><![CDATA[The free WordPress plugin BNS Featured Tag is now available at WordPress.org as of Nov 14, 2009.
Related posts:<ol>
<li><a href='http://buynowshop.com/2011/11/bns-featured-tag-1-9/' rel='bookmark' title='BNS Featured Tag 1.9'>BNS Featured Tag 1.9</a></li>
<li><a href='http://buynowshop.com/2009/08/new-wordpress-plugin-bns-featured-tag/' rel='bookmark' title='New WordPress Plugin: BNS Featured Tag'>New WordPress Plugin: BNS Featured Tag</a></li>
<li><a href='http://buynowshop.com/2010/10/bns-featured-tag-1-8-1/' rel='bookmark' title='BNS Featured Tag 1.8.1'>BNS Featured Tag 1.8.1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hot on the trail of the <a href="http://buynowshop.com/plugins/bns-featured-category/">BNS Featured Category</a> plugin update comes the latest version of the <a href="http://buynowshop.com/plugins/bns-featured-tag/">BNS Featured Tag</a> plugin.  These plugins have virtually the same functionality except one does categories and the other does tags. Their changlogs read almost identical, with the odd exception. I generally work with <a href="http://buynowshop.com/plugins/bns-featured-category/">BNS Featured Category</a> first, work out any bugs that may creep into the code then apply all of the changes to <a href="http://buynowshop.com/plugins/bns-featured-tag/">BNS Featured Tag</a>.</p>
<p>One benefit of the new Description option is you can create a tag (or category, if you are using <a href="http://buynowshop.com/plugins/bns-featured-category/">BNS Featured Category</a>); make it the first one in your list; and, then use it to display introductory text for the plugin. Below is a screen snippet of the <a href="http://buynowshop.com/plugins/bns-featured-tag/">BNS Featured Tag</a> with Tag Description checked to give you an idea.</p>
<div id="attachment_983" class="wp-caption aligncenter" style="width: 334px"><img class="size-full wp-image-983 " title="No Posts Allowed sample" src="http://buynowshop.com/wp-content/uploads/2009/11/no-posts-allowed-tag.png" alt="Sample of using a tag with no posts." width="324" height="398" /><p class="wp-caption-text">Sample of using a tag with no posts.</p></div>
<p>PS: The color scheme and styling of the plugin are from an upcoming theme I am working on. The plugin itself gets almost all of its style from the active theme.</p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2011/11/bns-featured-tag-1-9/' rel='bookmark' title='BNS Featured Tag 1.9'>BNS Featured Tag 1.9</a></li>
<li><a href='http://buynowshop.com/2009/08/new-wordpress-plugin-bns-featured-tag/' rel='bookmark' title='New WordPress Plugin: BNS Featured Tag'>New WordPress Plugin: BNS Featured Tag</a></li>
<li><a href='http://buynowshop.com/2010/10/bns-featured-tag-1-8-1/' rel='bookmark' title='BNS Featured Tag 1.8.1'>BNS Featured Tag 1.8.1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/11/bns-featured-tag-1-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Custom CSS to Atahualpa</title>
		<link>http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/</link>
		<comments>http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 19:37:27 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=929</guid>
		<description><![CDATA[Step by step directions to add custom CSS to the WordPress theme Atahualpa.
Related posts:<ol>
<li><a href='http://buynowshop.com/2009/05/css-tip-firefox-z-index-value/' rel='bookmark' title='CSS Tip: FireFox Z-Index Value'>CSS Tip: FireFox Z-Index Value</a></li>
<li><a href='http://buynowshop.com/2010/02/new-wordpress-plugin-bns-add-widget/' rel='bookmark' title='New WordPress Plugin: BNS Add Widget'>New WordPress Plugin: BNS Add Widget</a></li>
<li><a href='http://buynowshop.com/2011/10/bns-theme-add-ins-v0-2/' rel='bookmark' title='BNS Theme Add-Ins v0.2'>BNS Theme Add-Ins v0.2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This has come up quite often on the <a href="http://wordpress.org/support/">WordPress.org Support</a> forums lately and instead of searching through old posts there I am writing this post to make it a bit easier to find here.</p>
<p>For the WordPress <a href="http://wordpress.org/extend/themes/atahualpa">Atahualpa</a> theme (version 3.4.4 as of this writing), follow these steps to add your custom CSS if there is no option to use in its place.</p>
<blockquote>
<ol>
<li>Go to the theme options page</li>
<li>Near the bottom click on &#8220;Add HTML/CSS inserts&#8221;</li>
<li>Go to the bottom of that option page for &#8220;CSS Inserts&#8221;</li>
<li>Add: <strong><em>css-element { property: value; }</em></strong></li>
<li>Click on the HUGE Save Changes button</li>
</ol>
</blockquote>
<p>Just replace <em>css-element { property: value; }</em> with the styling you want to add.</p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2009/05/css-tip-firefox-z-index-value/' rel='bookmark' title='CSS Tip: FireFox Z-Index Value'>CSS Tip: FireFox Z-Index Value</a></li>
<li><a href='http://buynowshop.com/2010/02/new-wordpress-plugin-bns-add-widget/' rel='bookmark' title='New WordPress Plugin: BNS Add Widget'>New WordPress Plugin: BNS Add Widget</a></li>
<li><a href='http://buynowshop.com/2011/10/bns-theme-add-ins-v0-2/' rel='bookmark' title='BNS Theme Add-Ins v0.2'>BNS Theme Add-Ins v0.2</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Find Old WordPress Support Profile</title>
		<link>http://buynowshop.com/2009/09/find-old-wordpress-support-profile/</link>
		<comments>http://buynowshop.com/2009/09/find-old-wordpress-support-profile/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 20:20:38 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[cais]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=642</guid>
		<description><![CDATA[Five easy steps to find your old WordPress support forums profile.
Related posts:<ol>
<li><a href='http://buynowshop.com/2009/12/new-wordpress-plugin-bns-support/' rel='bookmark' title='New WordPress Plugin: BNS Support'>New WordPress Plugin: BNS Support</a></li>
<li><a href='http://buynowshop.com/2010/04/bns-support-ready-for-wordpress-3-0/' rel='bookmark' title='BNS Support Ready for WordPress 3.0'>BNS Support Ready for WordPress 3.0</a></li>
<li><a href='http://buynowshop.com/2011/11/bns-support-1-1/' rel='bookmark' title='BNS Support 1.1'>BNS Support 1.1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is what I did to find mine:</p>
<ol>
<li>Go to &#8220;new&#8221; profile&#8221;</li>
<li>View page source</li>
<li>Search for gravatar</li>
<li>Follow line across until you see id=user-######-avatar</li>
<li>Append ###### to the end of http://wordpress.org/support/profile/</li>
</ol>
<p>Bookmark it for future reference. Enjoy!</p>
<p>Signed,<br />
<a href="http://wordpress.org/support/profile/914362">http://wordpress.org/support/profile/914362</a><br />
aka Cais</p>
<p>PS: You can of course just look at the link on &#8220;member&#8221; under your name in any post you have made, too &#8230; but that would be much too easy <em>(*sheepish grin*)</em></p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2009/12/new-wordpress-plugin-bns-support/' rel='bookmark' title='New WordPress Plugin: BNS Support'>New WordPress Plugin: BNS Support</a></li>
<li><a href='http://buynowshop.com/2010/04/bns-support-ready-for-wordpress-3-0/' rel='bookmark' title='BNS Support Ready for WordPress 3.0'>BNS Support Ready for WordPress 3.0</a></li>
<li><a href='http://buynowshop.com/2011/11/bns-support-1-1/' rel='bookmark' title='BNS Support 1.1'>BNS Support 1.1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/09/find-old-wordpress-support-profile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Default Sidebar and Widgets</title>
		<link>http://buynowshop.com/2009/08/display-default-sidebar-and-widgets/</link>
		<comments>http://buynowshop.com/2009/08/display-default-sidebar-and-widgets/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 00:04:03 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[modify]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=360</guid>
		<description><![CDATA[How to edit the sidebar.php file in a WordPress theme to display both the default sidebar content and the content from activated widgets at the same time.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I thought it would be an interesting exercise to provide a solution to displaying the <em>default content of the sidebar</em> that comes with a theme <strong>and</strong> the <em>content from activated widgets</em>.  This is especially useful when using a theme with only one widget area in the sidebar.</p>
<p>The first thing I would strongly recommend is to make a back-up of the sidebar.php file as what I am suggesting would be considered a large or significant edit.</p>
<p>I will be using the code from the <a href="http://wordpress.org/extend/themes/shades">Shades</a> theme as it is the simplest to work from, for this tip, and should be easily related to most themes. First, look for the code similar to this, near the top of the sidebar.php file and make note where it is:</p>
<pre><code>&lt;?php if (function_exists('dynamic_sidebar') &#038;&#038; dynamic_sidebar(1) ) : else : ?>
</code></pre>
<p>Next, follow the code to near the bottom of the file, and look for a statement very similar if not exactly like this:</p>
<pre><code>&lt;?php endif; ?></code></pre>
<p>The Shades theme actually has two (2) sidebar widget areas so the code to look for would look similar to this for multiple widget area themes:</p>
<pre><code>&lt;?php endif; ?>
&lt;?php if (function_exists('dynamic_sidebar') &#038;&#038; dynamic_sidebar(2) ) : else : ?>&lt;?php endif; ?></code></pre>
<p>Make sure to note the code and area between the &#8220;dynamic sidebar&#8221; line and its <strong>matching</strong> &#8220;endif&#8221; line above, in the case of the Shades theme it would be the first instance of the &#8220;endif&#8221; statement as shown above.</p>
<p>Now, the BIG edit: <em><strong>cut</strong> and paste</em> all the code between the two statements you noted above and place it either directly below the &#8220;endif&#8221; statement; or, directly above the &#8220;dynamic sidebar&#8221; statement, depending on how you want your sidebar default and widget content to display. If you use &#8220;copy&#8221; it will display the sidebar default twice until you activate a widget.</p>
<p>Take a look at your blog &#8230; if you had no widgets activated before the edit, then you should not notice anything different. Try activating a widget or two and you should see them appear either above, or below, the &#8220;default&#8221; sidebar content, again depending on where you moved the default sidebar code to.</p>
<p>Feel free to <a href="http://buynowshop.com/contact-us/">contact us</a> if you need help making these edits to the theme you are using.</p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/08/display-default-sidebar-and-widgets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hide a Menu Page</title>
		<link>http://buynowshop.com/2009/07/hide-a-menu-page/</link>
		<comments>http://buynowshop.com/2009/07/hide-a-menu-page/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 23:59:46 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=256</guid>
		<description><![CDATA[There are a few different methods that you can use to hide a menu page. I will show you three different methods in this post, two using simple CSS and the third using a parameter in the "wp_list_pages" or the "wp_page_menu" functions.
Related posts:<ol>
<li><a href='http://buynowshop.com/2009/09/hide-a-category/' rel='bookmark' title='Hide a Category'>Hide a Category</a></li>
<li><a href='http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/' rel='bookmark' title='Add Custom CSS to Atahualpa'>Add Custom CSS to Atahualpa</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>How do you hide a menu page from the top of your blog?</p>
<p>There are a few different methods that you can use to hide a menu page. I will show you three different methods in this post, two using simple CSS and the third using a parameter in the <code><a href="http://codex.wordpress.org/Template_Tags/wp_list_pages">wp_list_pages();</a></code> or the <code><a href="http://codex.wordpress.org/Template_Tags/wp_page_menu">wp_page_menu();</a></code> functions. This example will work best if you are viewing this blog using the Custom child theme of the Desk Mess Mirrored theme as its CSS has been modified specifically for this post. (<a href="http://buynowshop.com/?wptheme=Custom">Switch to the Custom child theme of Desk Mess Mirrored</a>).</p>
<p>You may have noticed there is a gaping space between the &#8220;Design&#8221; (or &#8220;Contact Us&#8221;) page and the &#8220;Themes&#8221; page &#8230; why? you ask. Well, because I wanted that space there. The gaping space is actually the home of the &#8220;<a href="http://buynowshop.com/hide-me/">Hide Me</a>&#8221; page, good reading as well, especially if you cannot see it.</p>
<p>OK, let&#8217;s get to this. You can easily &#8220;hide&#8221; a page by using the exclude parameter in the <code>wp_list_pages();</code> or the <code>wp_page_menu();</code> functions. The code would look very similar to this:</p>
<pre><code>&lt;?php wp_list_pages('exclude=220'); ?&gt;</code></pre>
<p>or</p>
<pre><code>&lt;?php wp_page_menu('exclude=220'); ?&gt;</code></pre>
<p>I&#8217;m using the number 220 as it is the actual page ID of the &#8220;Hide Me&#8221; page. If you are using this method, (after reading the <a href="http://buynowshop.com/hide-me/">Hide Me</a> page for reminders) use the ID of the page you want to hide. The wp_page_menu() function is described well in the comments <a href="http://diggingintowordpress.com/2009/07/delicious-recipes-wordpress-page-menus/comment-page-1/#comment-681">here</a> at <a href="http://diggingintowordpress.com/">Digging into WordPress</a> (if you want to read more comparing it to wp_list_pages). I consider this to be only one method as <code>wp_page_menu();</code> calls <code>wp_list_pages();</code> to generate its output.</p>
<p>The other two methods are strictly CSS. I noted above the post ID for my &#8220;Hide Me&#8221; page is 220. Both <code>wp_list_pages();</code> and <code>wp_page_menu();</code> generate default class tags for each item in the menu.  The class to style in this case is the page-item-&lt;ID>, and specifically in this case I am styling the class page-item-220.</p>
<p>The first of the CSS methods behaves very similar to the exclude parameter used above. The CSS to add to your style.css sheet would be something along this line, and the page will behave as though it does not exist, or as in the functions, excluded from the menu:</p>
<pre><code>.page-item-220 { display: none; }</code></pre>
<p>The second method is the one I am using in the Custom child theme on this blog (the &#8220;Hide Me&#8221; page will show when using the other themes):</p>
<pre><code>.page-item-220 { visibility: hidden; }</code></pre>
<p>This simply makes the item invisible, but it still &#8220;holds&#8221; a place in the layout and gives me the effect I wanted &#8230; and maybe the effect you are looking for.<br />
<em>(NB: I specify the page &#8220;order&#8221; for each page; you may need to as well to create similar effects.)</em></p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2009/09/hide-a-category/' rel='bookmark' title='Hide a Category'>Hide a Category</a></li>
<li><a href='http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/' rel='bookmark' title='Add Custom CSS to Atahualpa'>Add Custom CSS to Atahualpa</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/07/hide-a-menu-page/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Shades 1.0.3.1</title>
		<link>http://buynowshop.com/2009/07/shades-1-0-3-1/</link>
		<comments>http://buynowshop.com/2009/07/shades-1-0-3-1/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 02:13:04 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[cais]]></category>
		<category><![CDATA[shades]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=214</guid>
		<description><![CDATA[Shades version 1.0.3.1 uploaded on Jul 14, 2009 to WordPress.org to correct an oversight of Jul 13, 2009.
Related posts:<ol>
<li><a href='http://buynowshop.com/2009/08/shades-1-1/' rel='bookmark' title='Shades 1.1'>Shades 1.1</a></li>
<li><a href='http://buynowshop.com/2009/07/shades-1-0-3/' rel='bookmark' title='Shades 1.0.3'>Shades 1.0.3</a></li>
<li><a href='http://buynowshop.com/2009/07/desk-mess-mirrored-1-0-9/' rel='bookmark' title='Desk Mess Mirrored 1.0.9'>Desk Mess Mirrored 1.0.9</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>With the recent update of the free WordPress theme Shades to version 1.0.3 and the changes to streamline the code in the header file it became apparent that there were extra files now found in the theme.  The home.php file and the header-home.php files were easily replaced by approximately three lines of code in the new header.php file.</p>
<p>This allowed me to make the decision to deprecate these files; and, remove them entirely at version 1.0.4 as now planned.  Unfortunately with the automatic update using the new WordPress dashboard functionality or with a download/upload of a fresh copy of the theme, the original home.php and header-home.php files will stay intact and functional!</p>
<p>This realization put into action a quick update to version 1.0.3 of the Shades theme with a simple overwrite of the home.php file with the contents of the index.php file; and, a similar overwrite of the header-home.php file with the contents of the new and improved header.php file.</p>
<p>As a further note, the significant differences in the header.php file are: better natural titles in the browser title bar; and, cleaner code to display the menu.  Simply put, the menu displayed is based on which page is being served: the home/front page of the blog; or, another page of the blog.</p>
<p>This upgrade is only minor maintenance, but still strongly recommended.</p>
<p><em>(NB: Due to an unforseen issue with extra new lines in the version 1.0.3.1 package, a new version 1.0.3.2 was made and uploaded.  It also went live Jul 15, 2009!)</em></p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2009/08/shades-1-1/' rel='bookmark' title='Shades 1.1'>Shades 1.1</a></li>
<li><a href='http://buynowshop.com/2009/07/shades-1-0-3/' rel='bookmark' title='Shades 1.0.3'>Shades 1.0.3</a></li>
<li><a href='http://buynowshop.com/2009/07/desk-mess-mirrored-1-0-9/' rel='bookmark' title='Desk Mess Mirrored 1.0.9'>Desk Mess Mirrored 1.0.9</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/07/shades-1-0-3-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple Contributors in Desk Mess Mirrored</title>
		<link>http://buynowshop.com/2009/06/multiple-contributors-in-desk-mess-mirrored/</link>
		<comments>http://buynowshop.com/2009/06/multiple-contributors-in-desk-mess-mirrored/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 00:39:28 +0000</pubDate>
		<dc:creator>JellyBeen</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[modify]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=127</guid>
		<description><![CDATA[Editing Desk Mess Mirrored theme for WordPress to add multiple contributor functionality.
Related posts:<ol>
<li><a href='http://buynowshop.com/2009/05/styling-comments-by-author/' rel='bookmark' title='Styling Comments by Author'>Styling Comments by Author</a></li>
<li><a href='http://buynowshop.com/2009/06/desk-mess-mirrored-105/' rel='bookmark' title='Desk Mess Mirrored 1.0.5'>Desk Mess Mirrored 1.0.5</a></li>
<li><a href='http://buynowshop.com/2009/06/desk-mess-mirrored-1-0-6/' rel='bookmark' title='Desk Mess Mirrored 1.0.6'>Desk Mess Mirrored 1.0.6</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/themes/desk-mess-mirrored">Desk Mess Mirrored</a> version 1.0.5 has added the features of identifying more readily multiple contributors to an individual blog.</p>
<p>In the comments.php file the code will need to be (as of this writing) be manually edited.  The changes are relatively small and very easy to do. Starting around line 30 change this:</p>
<pre><code>&lt;?php foreach ($comments as $comment) : ?&gt;
  &lt;div id="comment-&lt;?php comment_ID() ?&gt;" &gt;
  /* elseif ($comment-&gt;user_id == '2') echo 'jellybeen'; */ /* sample */
  /* add additional user_id following above example, echo the 'CSS element' you want to use for styling */
  else echo $oddcomment; ?&gt; item" id="comment-&lt;?php comment_ID() ?&gt;" &gt;</code></pre>
<p>to this by simply removing the first &#8220;/*&#8221; and the first &#8220;*/&#8221;:</p>
<pre><code>&lt;?php foreach ($comments as $comment) : ?&gt;
  &lt;div id="comment-&lt;?php comment_ID() ?&gt;" &gt;
  elseif ($comment-&gt;user_id == '2') echo 'jellybeen'; /* sample */
  /* add additional user_id following above example, echo the 'CSS element' you want to use for styling */
  else echo $oddcomment; ?&gt; item" id="comment-&lt;?php comment_ID() ?&gt;" &gt;</code></pre>
<p>This adds the specific registered user comment styling.</p>
<p>The author.php file will also need to be edited to complete the full feature set of version 1.0.5, which is matching the style of the contributor comments to their individual page listing their specific posts.  Starting with this (around line 17):</p>
<pre><code>&lt;div id="author" class="&lt;?php if ((get_userdata(intval($author))-&gt;ID) == '1') echo 'administrator';
  /* elseif ((get_userdata(intval($author))-&gt;ID) == '2') echo 'jellybeen'; */ /* sample */
  /* add additional user_id following above example, echo the 'CSS element' you want to use for styling */
  ?&gt;"&gt;</code></pre>
<p>Simply remove the first &#8220;/*&#8221; and the first &#8220;*/&#8221; to change to this:</p>
<pre><code>&lt;div id="author" class="&lt;?php if ((get_userdata(intval($author))-&gt;ID) == '1') echo 'administrator';
  elseif ((get_userdata(intval($author))-&gt;ID) == '2') echo 'jellybeen'; /* sample */
  /* add additional user_id following above example, echo the 'CSS element' you want to use for styling */
  ?&gt;"&gt;</code></pre>
<p>The classes are already called out in the CSS so the rest is easily changed to suit the individual author.</p>
<p>If you need additional help feel free to <a href="http://buynowshop.com/contact-us">contact us</a>.</p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2009/05/styling-comments-by-author/' rel='bookmark' title='Styling Comments by Author'>Styling Comments by Author</a></li>
<li><a href='http://buynowshop.com/2009/06/desk-mess-mirrored-105/' rel='bookmark' title='Desk Mess Mirrored 1.0.5'>Desk Mess Mirrored 1.0.5</a></li>
<li><a href='http://buynowshop.com/2009/06/desk-mess-mirrored-1-0-6/' rel='bookmark' title='Desk Mess Mirrored 1.0.6'>Desk Mess Mirrored 1.0.6</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/06/multiple-contributors-in-desk-mess-mirrored/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Underscores for WordPress Theme Folders</title>
		<link>http://buynowshop.com/2009/05/use-underscores-for-wordpress-theme-folders/</link>
		<comments>http://buynowshop.com/2009/05/use-underscores-for-wordpress-theme-folders/#comments</comments>
		<pubDate>Fri, 29 May 2009 19:13:41 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=89</guid>
		<description><![CDATA[WordPress theme folders should use underscores as separators if the folder name being used is more than one word. Hyphens and spaces will cause the theme preview to only show a white screen.
Related posts:<ol>
<li><a href='http://buynowshop.com/2009/08/new-wordpress-theme-pinup-meets-grunge/' rel='bookmark' title='New WordPress Theme: Pinup Meets Grunge'>New WordPress Theme: Pinup Meets Grunge</a></li>
<li><a href='http://buynowshop.com/2009/08/new-wordpress-theme-ground-floor/' rel='bookmark' title='New WordPress Theme: Ground Floor'>New WordPress Theme: Ground Floor</a></li>
<li><a href='http://buynowshop.com/2009/10/new-wordpress-theme-nona/' rel='bookmark' title='New WordPress Theme: NoNa'>New WordPress Theme: NoNa</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here I am just about ready to upload <a href="http://buynowshop.com/09/05/desk-mess-mirrored">Desk Mess Mirrored</a> to the <a href="http://wordpress.org">WordPress</a> <a href="http://wordpress.org/extend/themes/">Theme repository</a> except for one little issue that was not acceptable to my standards &#8230; the theme preview in the Dashboard was showing up as a great, big, white block of nothingness.  This was being quite bothersome because as far as I could tell my formatting was at least to the standards laid out by WordPress; it matched several other themes I have used from other authors; it even matched my very first attempt at a WordPress theme, all of which were displaying correctly in the preview window.</p>
<p>Now, I also realized this is probably one of those classic new theme developer problems and I was a little reluctant to ask my &#8220;<a href="http://wptavern.com/forum/">go to forum</a>&#8221; WordPress gurus what I was doing wrong for the simple reason: it must be really obvious!.</p>
<p><a href="http://www.google.com">Google</a>! &#8230; when all else fails, Google is your friend. Five different search phrases later I found a <a href="http://wordpress.org/support/topic/192514?replies=13">reference to the problem</a>.</p>
<p>When naming your theme folder, or re-naming for that matter, do not use hyphens ( &#8211; )  or spaces as separators; use underscores ( _ ). I opened up my FTP program, logged into my server and changed the folder name from desk-mess-mirrored to desk_mess_mirrored. Phew! That was easy. I opened up a new browser tab; surfed to this blog&#8217;s home page to write this post thinking that others may find this little tidbit of information useful; and, what do I see &#8230; nothing?! Yes, nothing!</p>
<p>Note to self: do not change active theme folder name. Change to a different theme first; change the former theme&#8217;s folder name; then, change back to the theme and your WordPress Dashboard theme preview will work.</p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2009/08/new-wordpress-theme-pinup-meets-grunge/' rel='bookmark' title='New WordPress Theme: Pinup Meets Grunge'>New WordPress Theme: Pinup Meets Grunge</a></li>
<li><a href='http://buynowshop.com/2009/08/new-wordpress-theme-ground-floor/' rel='bookmark' title='New WordPress Theme: Ground Floor'>New WordPress Theme: Ground Floor</a></li>
<li><a href='http://buynowshop.com/2009/10/new-wordpress-theme-nona/' rel='bookmark' title='New WordPress Theme: NoNa'>New WordPress Theme: NoNa</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/05/use-underscores-for-wordpress-theme-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Tip: FireFox Z-Index Value</title>
		<link>http://buynowshop.com/2009/05/css-tip-firefox-z-index-value/</link>
		<comments>http://buynowshop.com/2009/05/css-tip-firefox-z-index-value/#comments</comments>
		<pubDate>Sun, 24 May 2009 01:35:00 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=62</guid>
		<description><![CDATA[CSS z-index value in FireFox, Chrome, or Safari need to be positive to resolve correctly.  Internet Explorer can accept and resolve correctly with negative values.
Related posts:<ol>
<li><a href='http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/' rel='bookmark' title='Add Custom CSS to Atahualpa'>Add Custom CSS to Atahualpa</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A quick CSS tip, the value for z-index elements in CSS must be positive for <a href="http://www.mozilla.com/en-US/">FireFox</a> (and apparently <a href="http://www.google.com/chrome/">Chrome</a> and <a href="http://www.apple.com/">Apple&#8217;s</a> <a href="http://www.apple.com/safari/">Safari</a>) to be correctly rendered.</p>
<p>Here is a link to a well regarded standards page for the element z-index, <a href="http://www.w3schools.com/css/pr_pos_z-index.asp">http://www.w3schools.com/css/pr_pos_z-index.asp</a>, unfortunately it appears the developers of FireFox (version 3 as of this writing) are not exactly following the indicated example value.</p>
<p>How do I know this? You really have to wonder when <a href="http://www.microsoft.com/">Microsoft&#8217;s</a> <a href="www.microsoft.com/windows/Internet-explorer/default.aspx">Internet Explorer</a> works and the other three browsers do not.  Something has got to be wrong, and so my searches brought me to the conclusion of setting my z-index values to positive values where needed. Internet Explorer can accept and resolve correctly with negative values. It&#8217;s not often a Microsoft negative is a positive result.</p>
<p><strong><em>Have you stumbled on, across, over or just simply ran into one of these CSS walls? What was it, and how did you fix it?</em></strong></p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>
<p>Related posts:<ol>
<li><a href='http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/' rel='bookmark' title='Add Custom CSS to Atahualpa'>Add Custom CSS to Atahualpa</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/05/css-tip-firefox-z-index-value/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

