<?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>Frumph.NET &#187; Wordpress</title>
	<atom:link href="http://frumph.net/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://frumph.net</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sat, 12 May 2012 15:08:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Giving your site some love.</title>
		<link>http://frumph.net/2009/01/13/giving-your-site-some-love/</link>
		<comments>http://frumph.net/2009/01/13/giving-your-site-some-love/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 12:37:15 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Meta]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=104</guid>
		<description><![CDATA[I&#8217;m going to discuss with you (yes discuss) with you a variety of different methods of optimizing your website in several different ways to better promote  the information you have available on your site on search engines, with references to why.  [&#8230;] <a class="more-link" href="http://frumph.net/2009/01/13/giving-your-site-some-love/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to discuss with you (yes discuss) with you a variety of different methods of optimizing your website in several different ways to better promote  the information you have available on your site on search engines, with references to why.  Add comments to what information you have found to be valuable in this area.</p>
<p><span id="more-104"></span></p>
<p>Let&#8217;s start out at the top.  The &#8220;All in One SEO Pack&#8221; plugin that&#8217;s available on the wordpress site is decent and will help you generate meta tags for your site.   Something to look into.</p>
<p>References:</p>
<p><a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">http://wordpress.org/extend/plugins/all-in-one-seo-pack/</a></p>
<p>Meta tags have NOT been depreciated for use on search engines to describe your listings since major search engines started using a third party database for site listings according to popular rumour.</p>
<p>References:</p>
<p><a href="http://www.seroundtable.com/archives/006780.html">http://www.seroundtable.com/archives/006780.html</a></p>
<p>XML Sitemaps are used by Google to help get a proper indexing of your site.   A decent plugin for WordPress for Google XML Site Maps is available on the wordpress site as well.</p>
<p>References:</p>
<p><a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">http://wordpress.org/extend/plugins/google-sitemap-generator/</a></p>
<p>According to Google&#8217;s main blog sites and for the life of me I can&#8217;t refind this information to link to it so if anyone finds the information tell me.   Is that having your &#8216;permalink&#8217; structure set to /?p=##   to a Query String and/or the /date/date/date &#8211; i.e. /2009/01/12/postname/   is the &#8211; BAD &#8211; .. and I agree.</p>
<p>I can understand why search engines skip the query string permalink structure, the /?p=## style for the reason that it can&#8217;t directly use that information to attribute to specific database linking to content with words that can denote it&#8217;s information.  &#8230; which also comes the point of why using the /date/date/date/postname structure is also bad.     .. The way that the search engines generate link-information to references will make those particular stand out bad and usually get avoided.</p>
<p>The method that they proposed in the article I read is to use the permalink stucture where it can use the information in it to more coherantly to linking to it:  <strong>/%category%/%postname%/</strong> That way the search engines will using the reference of %category% and reference of the %postname% in a more valuable way for the content inside the post.</p>
<p>More References and additional tips:</p>
<p><a href="http://googlewebmastercentral.blogspot.com/">http://googlewebmastercentral.blogspot.com/</a></p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=104" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/01/13/giving-your-site-some-love/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You can widgetize *anything* you want.</title>
		<link>http://frumph.net/2009/01/13/you-can-widgetize-anything-you-want/</link>
		<comments>http://frumph.net/2009/01/13/you-can-widgetize-anything-you-want/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 23:06:57 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=111</guid>
		<description><![CDATA[Creating widgets out of an area of space on your page is more simple then people realize.    Say for example you want to widgetize the footer, let&#8217;s do that right now. 1st we&#8217;re going to add some code to the [&#8230;] <a class="more-link" href="http://frumph.net/2009/01/13/you-can-widgetize-anything-you-want/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>Creating widgets out of an area of space on your page is more simple then people realize.    Say for example you want to widgetize the footer, let&#8217;s do that right now.</p>
<p><span id="more-273"></span></p>
<p>1st we&#8217;re going to add some code to the functions.php to recognize that we have a widget in the wp-admin console options for widgets.</p>
<p>In your comicpress theme&#8217;s function.php file, find this line: (dependent on which theme)</p>
<pre class="brush: php; title: ; notranslate">
if  ( function_exists('register_sidebar' ) )
register_sidebar( array('name'=&gt;'Left Sidebar' ));
register_sidebar( array('name'=&gt;'Right Sidebar' ));
</pre>
<p>And lets add one</p>
<pre class="brush: php; title: ; notranslate">
register_sidebar( array('name'=&gt;'FooterWidget'));
</pre>
<p>however I want to clean this code up so make it look like this:</p>
<pre class="brush: php; title: ; notranslate">
if  ( function_exists('register_sidebar' ) ) {
register_sidebar( array('name'=&gt;'Left Sidebar' ));
register_sidebar( array('name'=&gt;'Right Sidebar' ));
register_sidebar( array('name'=&gt;'FooterWidget' ));
}
</pre>
<p>What this says is &#8220;if you can register a sidebar, register these sidebar&#8217;s to be seen in the wp-admin/widgets menu and store the information of what&#8217;s in them in the database.</p>
<p>Next we&#8217;re going to edit the footer.php file, right under the &lt;div id=&#8221;footer&#8221;&gt; we&#8217;re going to make wordpress see the widget.</p>
<pre class="brush: php; title: ; notranslate">
&lt;div id=&quot;footer&quot;&gt;
&lt;?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('FooterWidget') ) : ?&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
</pre>
<p>What this says is if there&#8217;s no dynamic sidebar available and no sidebar in the database named FooterWidget then do whats inside the area between the code, else display the widgets that have been assigned to FooterWidget</p>
<p>That&#8217;s all there to it, the width of the area is already defined in the #footer CSS, the best use of this widget would be a text-box widget where you can place some sort of advertisement.  You can also do something like this for the header or even above the header for more advertisements instead of hard coding different ads all the time you just edit the widget information.</p>
<p>- Phil</p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=273" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/01/13/you-can-widgetize-anything-you-want/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding a custom error page when the database has issues.</title>
		<link>http://frumph.net/2009/01/21/adding-a-custom-error-page-when-the-database-has-issues/</link>
		<comments>http://frumph.net/2009/01/21/adding-a-custom-error-page-when-the-database-has-issues/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 14:20:26 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=129</guid>
		<description><![CDATA[According to various websites on this issue where I was researching this information there is a way to create a custom html/php page to output when a database error occures.  This was implemented in version 2.3.2 of WordPress. One is: [&#8230;] <a class="more-link" href="http://frumph.net/2009/01/21/adding-a-custom-error-page-when-the-database-has-issues/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>According to various websites on this issue where I was researching this information there is a way to create a custom html/php page to output when a database error occures.  This was implemented in version 2.3.2 of WordPress.</p>
<p><span id="more-276"></span></p>
<p>One is: <a href="http://yoast.com/custom-wordpress-database-error-pages/">http://yoast.com/custom-wordpress-database-error-pages/</a></p>
<p>What does this mean for ComicPress users?  Well it means several things by reading that particular post.   It means that when you are Digg&#8217;d or any other thing that might have consequences on your website and your site goes down; you&#8217;re stuck not knowing it&#8217;s down until someone notifies you or you happen to look.   Which means your missing out on a huge majority of possible readers.</p>
<p>This article mentions that it&#8217;s not sending out the proper header identification of a 500 error in the normal error code, however since this article was released the code change was made in current releases of WordPress to properly send that 500 error out.</p>
<p>The actual function in the core WordPress is in the wp-includes/functions.php file in the function  dead_db()</p>
<p>As everyone says though, its very unwise to make edits to core files so modifying or creating a db-error.php file and placing it into the /wp-content/ directory is a very valid solution.   It will let you create a custom page in the look and feel that your normal site has. (without using any normal wp calls), straight html.</p>
<p>I&#8217;ve made a mock up using directions based on the article above and placed it in this file for you to download, rename to .php, edit it and place it into your /wp-content/ directory.</p>
<pre class="brush: php; title: ; notranslate">
&amp;lt;?php
// Custom DB-Error.PHP by Joost De Valk (Additions by Philip M. Hofer(Frumph))
// Credits: Joost de Valk  - http://yoast.com/custom-wordpress-database-error-pages/
// If it's a 500 error, send the header for a 500 error.
// this only works if your email server doesn't require authentication to send mail.
// If you have SMTP authentication there is a workaround but requires some modifications if someone wants to
// work on code to do it.
// info here: http://email.about.com/od/emailprogrammingtips/qt/et073006.htm using Pear
header(&amp;quot;HTTP/1.0 500 Internal Server Error&amp;quot;);

/*
*	Uncomment this area to allow emails sent to you when this happens ^^ read above
*	replace my name with yours, my email with your email
*/
/* Remove this line if you want to be mailed.
 $mailto 	= &amp;quot;Your Name&amp;quot;;
 $mailfrom 	= &amp;quot;youremail@yourdomain.com&amp;quot;;

 if ($_SERVER['REQUEST_URI'] != &amp;quot;/wp-content/db-error.php&amp;quot;) {
	$headers 	= &amp;quot;From: &amp;quot;.$mailfrom.&amp;quot;rn&amp;quot;.
		&amp;quot;Reply-To: Your Namern&amp;quot;.
		&amp;quot;X-Mailer: PHP/&amp;quot;.phpversion().&amp;quot;rn&amp;quot;.
		&amp;quot;X-Priority: 1 (High)&amp;quot;;
	$message	= &amp;quot;Go fix it!nn&amp;quot;.
		&amp;quot;It broke when someone tried to open this page:

http://&quot;.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].&quot;nn&quot;.

		&amp;quot;Best,n&amp;quot;.
		&amp;quot;Your WordPress installation&amp;quot;;
	$subject	= &amp;quot;DB error at &amp;quot;.$_SERVER['SERVER_NAME'];
	mail($mailto,$subject,$message,$headers);
}
Remove this line if you want to be mailed. */

// EDIT HOW YOU WANT IT TO BE VISUALLY SEEN BELOW
?&amp;gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;
	&amp;lt;title&amp;gt;Yet Another Database Error!&amp;lt;/title&amp;gt;

&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
	&amp;lt;center&amp;gt;
	&amp;lt;h1&amp;gt;Error establishing a database connection&amp;lt;/h1&amp;gt;
	&amp;lt;/center&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
</pre>
<p>- Phil</p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=276" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/01/21/adding-a-custom-error-page-when-the-database-has-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add ATOM feed to ComicPress 2.5</title>
		<link>http://frumph.net/2009/02/04/add-atom-feed-to-users-browsers-feeds-available-for-comicpress/</link>
		<comments>http://frumph.net/2009/02/04/add-atom-feed-to-users-browsers-feeds-available-for-comicpress/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 04:13:41 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=134</guid>
		<description><![CDATA[The regular stock ComicPress does not include the Atom Feed in the so that browsers can recognize that there is an Atom Feed available (which is available on all wordpress installs) In your header.php file find: And place this under [&#8230;] <a class="more-link" href="http://frumph.net/2009/02/04/add-atom-feed-to-users-browsers-feeds-available-for-comicpress/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>The regular stock ComicPress does not include the Atom Feed in the so that browsers can recognize that there is an Atom Feed available (which is available on all wordpress installs)</p>
<p><span id="more-277"></span></p>
<p>In your header.php file find:</p>
<pre class="brush: php; title: ; notranslate">
&amp;lt;link rel=&amp;quot;alternate&amp;quot; type=&amp;quot;application/rss+xml&amp;quot; title=&amp;quot;&amp;lt;?php bloginfo('name'); ?&amp;gt; RSS Feed&amp;quot; href=&amp;quot;&amp;lt;?php bloginfo('rss2_url'); ?&amp;gt;&amp;quot; /&amp;gt;
</pre>
<p>And place this under it:</p>
<pre class="brush: php; title: ; notranslate">
&amp;lt;link rel=&amp;quot;alternate&amp;quot; type=&amp;quot;application/atom+xml&amp;quot; title=&amp;quot;&amp;lt;?php bloginfo('name'); ?&amp;gt; Atom Feed&amp;quot; href=&amp;quot;&amp;lt;?php bloginfo('atom_url'); ?&amp;gt;&amp;quot; /&amp;gt;
</pre>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=277" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/02/04/add-atom-feed-to-users-browsers-feeds-available-for-comicpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Theme title replacement</title>
		<link>http://frumph.net/2009/02/23/wordpress-theme-title-code-replacement/</link>
		<comments>http://frumph.net/2009/02/23/wordpress-theme-title-code-replacement/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 20:15:53 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=157</guid>
		<description><![CDATA[In Comicpress and other wordpress themes i&#8217;ve noticed that there are multiple different ways that the &#60;title&#62; code can be outputted to the users browsers.   Several of them .. *including* mine have bloginfo(&#8216;name&#8217;); showing up in the code but [not] being [&#8230;] <a class="more-link" href="http://frumph.net/2009/02/23/wordpress-theme-title-code-replacement/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>In Comicpress and other wordpress themes i&#8217;ve noticed that there are multiple different ways that the &lt;title&gt; code can be outputted to the users browsers.   Several of them .. *including* mine have bloginfo(&#8216;name&#8217;); showing up in the code but [not] being echo&#8217;d out to the title line which is causing some strange behavior.</p>
<p><span id="more-157"></span></p>
<p>After spending 1/2 hour debugging the one for comicpress advanced I found a good set of code that is working like I want it. *so far*</p>
<p><strong>header.php</strong>:</p>
<pre class="brush: php; title: ; notranslate">
&amp;lt;title&amp;gt;&amp;lt;?php echo bloginfo('name'); ?&amp;gt; &amp;lt;?php if (is_home () ) { echo &amp;quot; - &amp;quot;; bloginfo('description');
} elseif (is_single() || is_page() ) { echo &amp;quot; - &amp;quot;; single_post_title();
} elseif (is_search() ) { echo &amp;quot; - &amp;quot;; echo &amp;quot; search results: &amp;quot;; echo wp_specialchars($s);
} else { echo &amp;quot; - &amp;quot;; wp_title('',true); }?&amp;gt;&amp;lt;/title&amp;gt;
</pre>
<p>Try to avoid using extended ascii in *any* SEO attempts when creating titles for your site, post and pages.</p>
<p>- Phil</p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=157" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/02/23/wordpress-theme-title-code-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warning &#8211; Your /comics/ directory might be not secure.</title>
		<link>http://frumph.net/2009/04/10/warning-your-comics-directory-might-be-not-secure/</link>
		<comments>http://frumph.net/2009/04/10/warning-your-comics-directory-might-be-not-secure/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 23:02:31 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[ComicPress]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=172</guid>
		<description><![CDATA[It has come to my attention from a couple twitter Advisors, @Dr_Mike and @stealthiscomic that quite a few wordpress/comicpress users still have their comics directory for everyone to view. This isn&#8217;t secure in the fact that if people post their [&#8230;] <a class="more-link" href="http://frumph.net/2009/04/10/warning-your-comics-directory-might-be-not-secure/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>It has come to my attention from a couple twitter Advisors, @Dr_Mike and @stealthiscomic that quite a few wordpress/comicpress users still have their comics directory for everyone to view. This isn&#8217;t secure in the fact that if people post their comics in advanced for pre-publishing users can read ahead in their archives. This also opens up to the possibility of people pilfering the entire archive without viewing the ads on your pages.</p>
<p><span id="more-172"></span></p>
<p>To secure the <strong>/comics/  /comics-rss/ </strong>and<strong> /comics-archive/</strong> directories the *easiest* method is to just through an index.php file inside each of those directories with this content:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
header('Location: /');
?&gt;
</pre>
<p>That will make it just redirect straight up to the root directory.</p>
<p>However, if you want to be fancy about it, creating a .htaccess file for that directory and following the guidelines <a href="http://wiki.dreamhost.com/KB_/_Unix_/_.htaccess_files#Disable_Directory_Listings">http://wiki.dreamhost.com/KB_/_Unix_/_.htaccess_files#Disable_Directory_Listings</a> might be worth some time to invest in learning how to do.</p>
<h2><span class="mw-headline">Disable Directory Listings</span></h2>
<p>Occasionally, you may not have a default index document in a directory. If a default document is not found, whenever a visitor types in the directory name in their browser, a full listing of all the files in that directory will be displayed. This could be a security risk for your site. To prevent without having to add a default index document to every folder, you can enter the following line in your .htaccess file to disable a directory&#8217;s contents from being shown:</p>
<pre class="brush: php; title: ; notranslate">
Options -Indexes
</pre>
<p>However, here&#8217;s an even more advanced method of securing your directory AND not allow *ANYONE* to hotlink to your images. This way noone can go and use your bandwidth and not having them on your page itself and putting an image in it&#8217;s place saying &#8220;You cannot hotlink to this image.&#8221; Create a .htaccess file and put these contents to it in the directory you want to secure from hotlinking.</p>
<pre class="brush: php; title: ; notranslate">
Options -Indexes
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domain.tld/ [NC]
RewriteCond %{REQUEST_URI} !^/path_to/nohotlinking.jpg [NC]
RewriteRule .(gif|jpg)$ http://www.domain.tld/path_to/nohotlinking.jpg [R,L]
</pre>
<p>Change domain.tld to your webcomics domain and extension, like pcweenies.com<br />
Change www.domain.tld/path_to/nohotlinking.jpg to a the path to an image on your site saying not to hotlink the images.</p>
<p>However, I suggest the easy method because, really .. that&#8217;s all you need to do.</p>
<p>- Phil</p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=172" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/04/10/warning-your-comics-directory-might-be-not-secure/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>ComicPress 2.7 Menu-Bar Active CSS</title>
		<link>http://frumph.net/2009/07/08/comicpress-27-menu-bar-active-css/</link>
		<comments>http://frumph.net/2009/07/08/comicpress-27-menu-bar-active-css/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 19:26:12 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=176</guid>
		<description><![CDATA[While working on upgrading another author&#8217;s site this morning I stumbled across a .. neat feature of wp_list_pages.    It turns out wp_list_pages keeps track of what page you&#8217;re currently on when dynamically creating the menubar items and adds an extra [&#8230;] <a class="more-link" href="http://frumph.net/2009/07/08/comicpress-27-menu-bar-active-css/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>While working on upgrading another author&#8217;s site this morning I stumbled across a .. neat feature of wp_list_pages.   </p>
<p><span id="more-176"></span></p>
<p>It turns out wp_list_pages keeps track of what page you&#8217;re currently on when dynamically creating the menubar items and adds an extra CSS styling class to it called &#8221; current_page_item &#8221; ..</p>
<p>Now what&#8217;s cool about that is the fact that now that we know there&#8217;s a specific class element for what the current page is we can use it to change the visual behavior of the menubar!</p>
<pre class="brush: css; title: ; notranslate">
#menu current_page_item a, #menu li.current_page_item a {
    background:#fff;
    font-weight:bold;
    color: #000;
}
</pre>
<p>In the style.css place that line just below the CSS element set: #menu li:hover, #menu li.sfhover</p>
<p>And it will (whatever you set the colorations to) be active for whatever page your currently on.  Of course you will need to have to tweak it a little, for example if you have subpages it&#8217;s best not to use the background: element else it bleeds down (unless you re-affix the other CSS to re-establish the background: element itself).</p>
<p>Like for example to stop the bleeding reattribute the background: code to the sub menu CSS in various places, here&#8217;s one:</p>
<pre class="brush: css; title: ; notranslate">
#menu li li a {
    background: #000;
}
</pre>
<p>- Phil (Frumph)</p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=176" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/07/08/comicpress-27-menu-bar-active-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comicpress RSS feed for Comics Only</title>
		<link>http://frumph.net/2009/07/13/comicpress-rss-feed-for-comics-only/</link>
		<comments>http://frumph.net/2009/07/13/comicpress-rss-feed-for-comics-only/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 14:00:20 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=179</guid>
		<description><![CDATA[WordPress has a nifty little feature that you can specify a specific category alone to show the feeds with. (if you&#8217;re using pretty permalinks) for example, johnn saturn&#8217;s normal feed is:  http://johnnysaturn.com/feed/ &#8211; that will display the comics, the blogs [&#8230;] <a class="more-link" href="http://frumph.net/2009/07/13/comicpress-rss-feed-for-comics-only/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>WordPress has a nifty little feature that you can specify a specific category alone to show the feeds with.</p>
<p>(if you&#8217;re using pretty permalinks)</p>
<p>for example, johnn saturn&#8217;s normal feed is:  <a href="http://johnnysaturn.com/feed/">http://johnnysaturn.com/feed/</a> &#8211; that will display the comics, the blogs and everything it can in one big open feed.</p>
<p>However if you want to see *just* his comic feed it would be: <a href="http://johnnysaturn.com/category/comics/feed/">http://johnnysaturn.com/category/comics/feed/</a></p>
<p>That will display the feed for *just* the comics category.  Give it a try on your site, like:  http:// yoursite.com / category / &lt;comicscategoryname&gt; / feed /</p>
<p>My feed for Anomaly comic : <a href="http://anomaly.frumph.net/category/webcomic/feed/">http://anomaly.frumph.net/category/webcomic/feed/</a></p>
<p>I use the &#8220;webcomic&#8221; category for the comics so ^ putting that in will show just the category webcomic feed.</p>
<p>This works best with pretty permalinks btw.   Best permalink setting is /%category%/%postname%/  if you don&#8217;t have that as the permalink then change it, cause google and yahoo and other engines *hate* the permalinks that look like dates.</p>
<p>- Phil</p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=179" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/07/13/comicpress-rss-feed-for-comics-only/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Hiding Menubar links from being viewed &#8211; wp_list_pages</title>
		<link>http://frumph.net/2009/07/19/hiding-menubar-links-from-being-viewed-wp_list_pages/</link>
		<comments>http://frumph.net/2009/07/19/hiding-menubar-links-from-being-viewed-wp_list_pages/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 07:09:07 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[menubar]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=194</guid>
		<description><![CDATA[Someone on twitter was asking how to &#8216;hide&#8217; menubar items from being displayed to the end user, but still exist. This can be done with various plugins on the WordPress repository. Going to show you how to do it with [&#8230;] <a class="more-link" href="http://frumph.net/2009/07/19/hiding-menubar-links-from-being-viewed-wp_list_pages/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>Someone on twitter was asking how to &#8216;hide&#8217; menubar items from being displayed to the end user, but still exist.  This can be done with various plugins on the WordPress repository.   Going to show you how to do it with CSS.</p>
<p>Well this is how it works, the wp_list_pages() function generates the links  that are shown in your menubar, with a side-effect of adding CSS class statements.</p>
<p>If you view&#8217; your source code (view-source) while looking at your site you will see the &#8216;end result&#8217; output of your website you can see what classes are created for each menu item.</p>
<p>For example, here at frumph.net if you view the source, by right-clicking the screen then choosing view-source you will see that the &#8220;archive&#8221; link shows that there is</p>
<pre class="brush: php; title: ; notranslate">
&amp;lt;li class=&amp;quot;page-item page-item-3&amp;quot;&amp;gt;
</pre>
<p> .. that class page-item-3 is specific and individual for that archive link.</p>
<p>If I wanted to hide the archive link from being viewed in the menubar I just need to do a little CSS.</p>
<pre class="brush: css; title: ; notranslate">
.page-item-3 {
     display:none;
}
</pre>
<p>Creating a class in your stylesheet of the name you found for that menu item will let you do what you want with it. Adding display:none; to the class in the css will make it &#8216;not visible&#8217; to be seen in a browser.</p>
<p>- Phil</p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=194" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/07/19/hiding-menubar-links-from-being-viewed-wp_list_pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ComicPress 2.8 Overview Part 1</title>
		<link>http://frumph.net/2009/07/31/theme-comicpress-2-8-overview-part-1/</link>
		<comments>http://frumph.net/2009/07/31/theme-comicpress-2-8-overview-part-1/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 03:46:48 +0000</pubDate>
		<dc:creator>Philip M. Hofer (Frumph)</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://frumph.webcomicplanet.com/?p=196</guid>
		<description><![CDATA[An Overview of the main files and directories of ComicPress 2.8 [ css ] The location of your .CSS files (not your original, don&#8217;t touch original) the files in this directory are edited by using the Dashboard -&#62; Appearance -&#62; [&#8230;] <a class="more-link" href="http://frumph.net/2009/07/31/theme-comicpress-2-8-overview-part-1/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>An Overview of the main files and directories of ComicPress 2.8</p>
<p><span id="more-196"></span></p>
<p><strong>[ css ]</strong><br />
The location of your .CSS files (not your original, don&#8217;t touch original) the files in this directory are edited by using the Dashboard -&gt; Appearance -&gt; Comicpress CSS panel.</p>
<p><strong>[functions]</strong><br />
The locatons of various functions needed to run ComicPress.  They are included() in the functions.php file.</p>
<p><strong>[images]</strong><br />
ComicPress 2.8 has some images? wierd huh? This area has images for the graphic comic navigation, some example images for backgrounds and more.</p>
<p>&lt;strong&gt;[/js]</strong><br />
A directory seperating the javascript that is used on ComicPress 2.8</p>
<p><strong>[swfobject]</strong><br />
^^ What the heck? swf ? Yes, in 2.8 you can upload using comicpress manager a .swf  comic and it will display it. .. heres the kicker, the way to make sure the height and width of your .swf displays correctly you need to make &#8216;custom fields.  Edit your post you just made and create 2 &#8220;Custom Fields&#8221; .. first one name: <strong>  fheight</strong>  with the height of your swf, and the next one is  <strong> fwidth</strong>   with the width of your flash image. (more on this later). Warning: Comicpress 2.8 does *not* create thumbnails of flash files.  This directory contains the necessary files to allow this to occure.</p>
<p><strong>[widgets]</strong><br />
ComicPress 2.8 is WordPress 2.8+ only.  The widgets used in comicpress have been re-written in the new WordPress 2.8+ style. THis directory contains those widgets and called from the functions.php</p>
<p><strong>style.css</strong><br />
This is the original style.css file, this is your original &#8220;how your site looks file&#8221; .. you should *NOT*, I repeat *NOT* edit this original file.   The Comicpress CSS panel is what you should be using from now on.</p>
<p><strong>404.php</strong><br />
When WordPress cannot find where to locate a particular url on your site it will display this.</p>
<p><strong>archive.php</strong><br />
This is used when you click on a tag or category.  It displays the various different lists of the subject tag or category you chose.</p>
<p><strong>archive-comic.php</strong><br />
Template File:  You can associate this template to a page you create.  It shows your COMICS, by year going down the page, showing the year and date of the comic then link to the comic.</p>
<p><strong>archive-post-calendar.php</strong><br />
Template File: You can associate this template to a page you create.  It shows a calendar for the year with clickable links to previous years of your posts (not comics).</p>
<p><strong>archive-comic-calendar.php</strong><br />
Template File: You can associate this template to a page you create.  It shows a calendar for the year with clickable links to previous years of your comics (not blog posts).</p>
<p><strong>archive-comic-storyline.php</strong><br />
Template File: You can associate this template to a page you create.  This template shows a storyline structured list of the storyline you created using ComicPress Manager.</p>
<p><strong>archive-comic-storyline-thumbs.php</strong><br />
Template File: You can associate this template to a page you create.  This template shows a the same storyline structured list you created using ComicPress Manager but also thumbnail images as well.</p>
<p><strong>archive-comic-year.php</strong><br />
Template File: You can associate this template to a page you create.  This just just like archive-comic.php but instead of going down the entire page it splits it up by year, you click on the year you want to view and it will only show that particular year.</p>
<p><strong>archives.php</strong><br />
Template File: You can associate this template to a page you create.  This shows an archive view of all the posts you have done on your site.</p>
<p><strong>buystrip.php</strong><br />
Template File: You can associate this template to a page you create.  When you associate this to one of your pages and edit the options in Dashboard -&gt; Appearance -&gt; ComicPress Options [ paypal info ]  you can use the accompanying buy print button widget and whatever comic your currently on when you click the buy print button will go to this page with the proper information for a reader to buy a print of your comic.  You need to setup a paypal account that can handle credit cards.  When you get a receipt in your mail of a purchase head to kinko&#8217;s make a print, sign it, make it all pretty and mail it off with a nice thank you card.</p>
<p><strong>comicpress-config.php</strong><br />
This file stores the static information for your ComicPress installation, the comic category, what size to do thumbnails when comicpress manager creates them, the directories where your comics and thumbs are stored, etc.</p>
<p><strong>comicpress-options.php</strong><br />
This is the Dashboard -&gt; Appearance -&gt; Comicpress Options panel file of functions.</p>
<p><strong>comicpress-options-config.php</strong><br />
This file holds the information for the options for comicpress-options.php and what name they&#8217;re store in in your database.</p>
<p><strong>comments.php</strong><br />
This file is called when someone wants to read or respond to comments.  It&#8217;s how they are displayed.</p>
<p><strong>comicpress-options-css.php</strong><br />
ComicPress CSS is the editor for what you use now to edit your Look &amp; Feel of your site.  Do *not* edit the style.css anymore.  Find what you want to edit in the style.css and copy only that element into one of the various different files you can edit in here.  There&#8217;s the &#8220;custom&#8221; which get sent to every browser, this  is the one you will most often use.  Again, only put the elements you want to change here.  If you want to change the background to the site you *only* need to override the background element in body,  body { background: #000 }  .. everything else will be inherited from the original style.css .  There are also browser dependant css files you can edit, for elements that only work on certain browsers as well as a css file that is *only* used when you are *not* on a comic page.  If you want to avoid using the individual browser&#8217;s CSS and want to output to all browsers except IE there&#8217;s a Not IE CSS file you can use.</p>
<p><strong>footer.php</strong><br />
This file is called at the end of the visible page you see and usually shows who made what, when.</p>
<p><strong>functions.php</strong><br />
This file contains all the code to read the widgets and functions of the site, also contains the core ComicPress code.</p>
<p><strong>header.php</strong><br />
This is called at the top of the visible Page, it contains the &#8220;header&#8221; div as well as menubar.</p>
<p><strong>image.php</strong><br />
This file is called when you&#8217;re viewing a graphic file with the media viewer.</p>
<p><strong>index.php</strong><br />
This is the *main* file that is displayed visually after the header.php and before the footer.php as the first page that everyone see&#8217;s when going to your site.</p>
<p><strong>links.php</strong><br />
Template File: You can associate this template to a page you create.  This lists off all the links and<br />
categorized links you create with wordpress.</p>
<p><strong>page.php</strong><br />
For every *page* you create, like the about page and others that are not associated with a template this file is called.</p>
<p><strong>search.php</strong><br />
When you do a search, this file is called up to list the search you asked for.</p>
<p><strong>searchform.php</strong><br />
This is called by wordpress and contains a form input box to type in what you want to search for on your site.</p>
<p><strong>searchform-transcript.php</strong><br />
This is called by the search transcript widget and is a form input box you can type in to search transcripts.</p>
<p><strong>search-transcript.php</strong><br />
This is function code which is used to figure out how to search transcripts.</p>
<p><strong>sidebar-above.php<br />
sidebar-blog.php<br />
sidebar-comicleft.php<br />
sidebar-comicright.php<br />
sidebar-footer.php<br />
sidebar-header.php<br />
sidebar-left.php<br />
sidebar-over.php<br />
sidebar-right.php<br />
sidebar-under.php<br />
sidebar-underblog.php</strong><br />
Sidebar Files, these files are loaded up by the various portions of your site in pre-determined areas. They<br />
Allow you to put widgets inside them.</p>
<p><strong>single.php</strong><br />
This file is loaded as the page which is seen when you go through the various posts and comics you have.  It is loaded when someone goes through your archive of comics or reads previous blog posts, this also has where a user can read and post comments to each individual comic or blog post.</p>
<p><strong>screenshot.png</strong><br />
This is the image that is displayed when someone goes to the theme&#8217;s in your dashboard to pick which theme you want to use.</p>
<p><strong>wpmu-functions.php</strong><br />
The WPMU functions file for integrating with wordpress MU.</p>
<p>Next part, the [ <strong>Features </strong>] a list of all the features of ComicPress 2.8</p>
 <img src="http://frumph.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=196" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://frumph.net/2009/07/31/theme-comicpress-2-8-overview-part-1/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

