<?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; How To</title>
	<atom:link href="http://buynowshop.com/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://buynowshop.com</link>
	<description>WordPress administration, installation, and development.</description>
	<lastBuildDate>Tue, 07 Sep 2010 02:38:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<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/09/hide-a-category/' rel='bookmark' title='Permanent Link: Hide a Category'>Hide a Category</a></li>
<li><a href='http://buynowshop.com/2009/12/new-wordpress-plugin-bns-support/' rel='bookmark' title='Permanent Link: New WordPress Plugin: BNS Support'>New WordPress Plugin: BNS Support</a></li>
<li><a href='http://buynowshop.com/2009/09/shades-1-2/' rel='bookmark' title='Permanent Link: Shades 1.2'>Shades 1.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/09/hide-a-category/' rel='bookmark' title='Permanent Link: Hide a Category'>Hide a Category</a></li>
<li><a href='http://buynowshop.com/2009/12/new-wordpress-plugin-bns-support/' rel='bookmark' title='Permanent Link: New WordPress Plugin: BNS Support'>New WordPress Plugin: BNS Support</a></li>
<li><a href='http://buynowshop.com/2009/09/shades-1-2/' rel='bookmark' title='Permanent Link: Shades 1.2'>Shades 1.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>Hide a Category</title>
		<link>http://buynowshop.com/2009/09/hide-a-category/</link>
		<comments>http://buynowshop.com/2009/09/hide-a-category/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 15:02:14 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=670</guid>
		<description><![CDATA[How to hide a Category Title using only CSS in a WordPress listing


Related posts:<ol><li><a href='http://buynowshop.com/2009/07/hide-a-menu-page/' rel='bookmark' title='Permanent Link: Hide a Menu Page'>Hide a Menu Page</a></li>
<li><a href='http://buynowshop.com/2009/11/bns-featured-category-1-6/' rel='bookmark' title='Permanent Link: BNS Featured Category 1.6'>BNS Featured Category 1.6</a></li>
<li><a href='http://buynowshop.com/2009/10/bns-featured-category-1-5/' rel='bookmark' title='Permanent Link: BNS Featured Category 1.5'>BNS Featured Category 1.5</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>From the <a href="http://wordpress.org/support/topic/310213">WordPress.org Support forums</a>:</p>
<blockquote><p>I need to prevent my default category from appearing in the list of category links. Is there a way to hide the default category title, but still display all posts when the user clicks the &#8220;blog&#8221; (show all) tab?<br />
<cite>biodrama</cite></p></blockquote>
<p>You can use a little CSS added to the end of your style.css file to stop a category title from appearing in the list, in your example, the &#8220;Uncategorized&#8221; default category can be made to not show up with:</p>
<pre><code>.cat-item-1 {display:none;}</code></pre>
<p>If you want to use a different default category, finds its ID and replace the &#8217;1&#8242; above accordingly.</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/07/hide-a-menu-page/' rel='bookmark' title='Permanent Link: Hide a Menu Page'>Hide a Menu Page</a></li>
<li><a href='http://buynowshop.com/2009/11/bns-featured-category-1-6/' rel='bookmark' title='Permanent Link: BNS Featured Category 1.6'>BNS Featured Category 1.6</a></li>
<li><a href='http://buynowshop.com/2009/10/bns-featured-category-1-5/' rel='bookmark' title='Permanent Link: BNS Featured Category 1.5'>BNS Featured Category 1.5</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/09/hide-a-category/feed/</wfw:commentRss>
		<slash:comments>7</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='Permanent Link: 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='Permanent Link: BNS Support Ready for WordPress 3.0'>BNS Support Ready for WordPress 3.0</a></li>
<li><a href='http://buynowshop.com/2009/11/a-pleasant-surprise/' rel='bookmark' title='Permanent Link: A Pleasant Surprise'>A Pleasant Surprise</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='Permanent Link: 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='Permanent Link: BNS Support Ready for WordPress 3.0'>BNS Support Ready for WordPress 3.0</a></li>
<li><a href='http://buynowshop.com/2009/11/a-pleasant-surprise/' rel='bookmark' title='Permanent Link: A Pleasant Surprise'>A Pleasant Surprise</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.


Related posts:<ol><li><a href='http://buynowshop.com/2009/09/hide-a-category/' rel='bookmark' title='Permanent Link: Hide a Category'>Hide a Category</a></li>
<li><a href='http://buynowshop.com/2009/07/hide-a-menu-page/' rel='bookmark' title='Permanent Link: Hide a Menu Page'>Hide a Menu Page</a></li>
<li><a href='http://buynowshop.com/2009/09/shades-1-1-1/' rel='bookmark' title='Permanent Link: Shades 1.1.1'>Shades 1.1.1</a></li>
</ol>]]></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>Related posts:<ol><li><a href='http://buynowshop.com/2009/09/hide-a-category/' rel='bookmark' title='Permanent Link: Hide a Category'>Hide a Category</a></li>
<li><a href='http://buynowshop.com/2009/07/hide-a-menu-page/' rel='bookmark' title='Permanent Link: Hide a Menu Page'>Hide a Menu Page</a></li>
<li><a href='http://buynowshop.com/2009/09/shades-1-1-1/' rel='bookmark' title='Permanent Link: Shades 1.1.1'>Shades 1.1.1</a></li>
</ol></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='Permanent Link: Hide a Category'>Hide a Category</a></li>
<li><a href='http://buynowshop.com/2010/07/featured-in-dmm-v1-7/' rel='bookmark' title='Permanent Link: Featured in DMM v1.7'>Featured in DMM v1.7</a></li>
<li><a href='http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/' rel='bookmark' title='Permanent Link: 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='Permanent Link: Hide a Category'>Hide a Category</a></li>
<li><a href='http://buynowshop.com/2010/07/featured-in-dmm-v1-7/' rel='bookmark' title='Permanent Link: Featured in DMM v1.7'>Featured in DMM v1.7</a></li>
<li><a href='http://buynowshop.com/2009/10/add-custom-css-to-atahualpa/' rel='bookmark' title='Permanent Link: 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>6</slash:comments>
		</item>
	</channel>
</rss>
