<?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>ClockInfo.com &#187; Web Site Development</title>
	<atom:link href="http://clockinfo.com/posts/category/web-site-dev/feed" rel="self" type="application/rss+xml" />
	<link>http://clockinfo.com</link>
	<description>Commentary about clock repair and clock history from Bill's Clockworks and ClockHistory.com</description>
	<lastBuildDate>Fri, 20 Jan 2012 11:38:23 +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>Flickr Embedded Slideshows in Internet (Windows) Explorer</title>
		<link>http://clockinfo.com/posts/185</link>
		<comments>http://clockinfo.com/posts/185#comments</comments>
		<pubDate>Tue, 01 Jan 2008 02:15:46 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/185</guid>
		<description><![CDATA[The code given previously for a Flickr embedded slideshow does not work in Explorer 6 or 7. Use the following code instead: &#60;pre&#62;&#60;iframe src=&#8221;http://www.flickr.com/slideShow/index.gne?user_id=uid&#38;set_id=sid&#38;text=&#8221; align=&#8221;middle&#8221; frameborder=&#8221;0&#8243; height=&#8221;480&#8243; scrolling=&#8221;no&#8221; width=&#8221;520&#8243;&#62;&#60;/iframe&#62;&#60;/pre&#62; where uid is your Flickr user id number and sid is the id number of the set of photos you wish to display. Thanks to this [...]]]></description>
			<content:encoded><![CDATA[<p>The code given previously for a Flickr embedded slideshow does not work in Explorer 6 or 7. Use the following code instead:</p>
<p>&lt;pre&gt;&lt;iframe src=&#8221;http://www.flickr.com/slideShow/index.gne?user_id=uid&amp;set_id=sid&amp;text=&#8221; align=&#8221;middle&#8221; frameborder=&#8221;0&#8243; height=&#8221;480&#8243; scrolling=&#8221;no&#8221; width=&#8221;520&#8243;&gt;&lt;/iframe&gt;&lt;/pre&gt;</p>
<p>where uid is your Flickr user id number and sid is the id number of the set of photos you wish to display.</p>
<pre><iframe src="http://www.flickr.com/slideShow/index.gne?user_id=18840952@N03&amp;set_id=72157603559019198&amp;text=" align="middle" frameborder="0" height="480" scrolling="no" width="520"></iframe></pre>
<p>Thanks to <a href="http://flickrslidr.com/index.php">this source</a> for this information.</p>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/185/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test of an Embedded Picasa Slide Show</title>
		<link>http://clockinfo.com/posts/184</link>
		<comments>http://clockinfo.com/posts/184#comments</comments>
		<pubDate>Fri, 28 Dec 2007 13:33:01 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/184</guid>
		<description><![CDATA[A Picassa slideshow can be embedded in a WordPress blog with no problems. The visual editor seems to work fine. All I did was to take the slideshow code provided by Picasa and insert it into the post using the code view.]]></description>
			<content:encoded><![CDATA[<p>A Picassa slideshow can be embedded in a WordPress blog with no problems. The visual editor seems to work fine. All I did was to take the slideshow code provided by Picasa and insert it into the post using the code view.</p>
<p><embed src="http://picasaweb.google.com/s/c/bin/slideshow.swf" type="application/x-shockwave-flash" flashvars="host=picasaweb.google.com&amp;captions=1&amp;RGB=0x000000&amp;feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2FClockhistory%2Falbumid%2F5149006641787595713%3Fkind%3Dphoto%26alt%3Drss" pluginspage="http://www.macromedia.com/go/getflashplayer" height="480" width="520"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/184/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another Test Slideshow</title>
		<link>http://clockinfo.com/posts/183</link>
		<comments>http://clockinfo.com/posts/183#comments</comments>
		<pubDate>Thu, 27 Dec 2007 20:08:17 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/183</guid>
		<description><![CDATA[This is a test:]]></description>
			<content:encoded><![CDATA[<p>This is a test:</p>
<pre><object type="text/html" data="http://www.flickr.com/slideShow/index.gne?user_id=18840952@N03&amp;set_id=72157603559019198" height="520" width="520"> </object></pre>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/183/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding a Flickr Slideshow in WordPress</title>
		<link>http://clockinfo.com/posts/182</link>
		<comments>http://clockinfo.com/posts/182#comments</comments>
		<pubDate>Wed, 26 Dec 2007 17:28:24 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/182</guid>
		<description><![CDATA[Use the following code: &#60;pre&#62;&#60;object type=&#8221;text/html&#8221; data=&#8221;http://www.flickr.com/slideShow/index.gne?user_id=uid@N03&#38;set_id=sid&#8221; height=&#8221;500&#8243; width=&#8221;500&#8243;&#62; &#60;/object&#62;&#60;/pre&#62; where uid is your Flickr user id number and sid is the id number of the set of photos you wish to display. Using the &#60;pre&#62; and &#60;/pre&#62; tags prevents WordPress from re-writing your code, as suggested in this post. Thanks to the following resources: [...]]]></description>
			<content:encoded><![CDATA[<pre><object type="text/html" data="http://www.flickr.com/slideShow/index.gne?user_id=18840952@N03&amp;set_id=72157603553458377" height="500" width="500"> </object></pre>
<p>Use the following code:</p>
<p>&lt;pre&gt;&lt;object type=&#8221;text/html&#8221; data=&#8221;http://www.flickr.com/slideShow/index.gne?user_id=uid@N03&amp;set_id=sid&#8221; height=&#8221;500&#8243; width=&#8221;500&#8243;&gt; &lt;/object&gt;&lt;/pre&gt;</p>
<p>where uid is your Flickr user id number and sid is the id number of the set of photos you wish to display. Using the &lt;pre&gt; and &lt;/pre&gt; tags prevents WordPress from re-writing your code, as suggested in <a href="http://wordpress.org/support/topic/107101?replies=13">this post</a>.</p>
<p>Thanks to the following resources:</p>
<p><a href="http://www.antiochroad.net/blog/2007/08/17/flickr-v-picasa-web-albums/">Flickr vs. Picasa web albums</a></p>
<p><a href="http://paulstamatiou.com/2005/11/19/how-to-quickie-embedded-flickr-slideshows/">Embedding a Flickr slideshow</a></p>
<p><a href="http://idgettr.com/">Finding your Flickr user id</a></p>
<p><a href="http://connectedflow.com/flickrexport/iphoto/">Flickr image uploader for iPhoto</a></p>
<p>Note: there may still be problems with this method. I tried to add a second slide show to this post, and now WordPress&#8217;s visual editor is messing up. The visual editor dies if you switch from visual to code view and then back to visual. But you can then &#8220;Save&#8221;  or &#8220;Save and Continue Editing&#8221; and then edit the post again.</p>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/182/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wonderful Merciful Savior</title>
		<link>http://clockinfo.com/posts/181</link>
		<comments>http://clockinfo.com/posts/181#comments</comments>
		<pubDate>Mon, 24 Dec 2007 14:45:03 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/181</guid>
		<description><![CDATA[This embedded YouTube player has a playlist of some of my favorite recordings of this song.]]></description>
			<content:encoded><![CDATA[<p>This embedded YouTube player has a playlist of some of my favorite recordings of this song.</p>
<pre><object height="366" width="425"><param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFNo42sSvqQWs0q3S84upl0Rpl4xg1sdYm8="></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/cp/vjVQa1PpcFNo42sSvqQWs0q3S84upl0Rpl4xg1sdYm8=" type="application/x-shockwave-flash" wmode="transparent" height="366" width="425"></embed></object></pre>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/181/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding a YouTube Video in WordPress</title>
		<link>http://clockinfo.com/posts/180</link>
		<comments>http://clockinfo.com/posts/180#comments</comments>
		<pubDate>Sat, 22 Dec 2007 19:38:26 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/180</guid>
		<description><![CDATA[Here is how to embed a YouTube video in your WordPress blog or website. Copy the embed code for the video from the YouTube page. Switch to the &#8220;Code&#8221; mode of the WordPress editor and paste in the You Tube code. Then (and this is the trick that was so elusive) put an HTML &#60;pre&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Here is how to embed a YouTube video in your WordPress blog or website. Copy the embed code for the video from the YouTube page. Switch to the &#8220;Code&#8221; mode of the WordPress editor and paste in the You Tube code. Then (and this is the trick that was so elusive) put an HTML &lt;pre&gt; tag before the YouTube code and put a &lt;/pre&gt; after the YouTube code. The &lt;pre&gt; and &lt;/pre&gt; tags keep WordPress from messing up the code. (Note: this may also work for embedding Flickr slideshows, but I have not tried it yet.)</p>
<p>Here is a sample video, I love this song and it is appropriate to the season (<em>Mary Did You Know</em>, performed by <span>Mark Lowry)</span>:</p>
<pre><object height="373" width="425"><param name="movie" value="http://www.youtube.com/v/P0WIJw8JVeU&amp;rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;border=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/P0WIJw8JVeU&amp;rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;border=1" type="application/x-shockwave-flash" wmode="transparent" height="373" width="425"></embed></object></pre>
<p>Thanks to <a href="http://wordpress.org/support/topic/107101">this post</a> for the idea of using the &lt;pre&gt; and &lt;/pre&gt; tags.</p>
<p>Previously suggested solutions to posting YouTube videos include:</p>
<ul>
<li>Turning off the visual editor when editing a post containing a video. This works, but is cumbersome. It is described several places, including <a href="http://www.youtube.com/watch?v=NopuJ_OYjsk">this post</a>.</li>
<li>Using a code of the following type: <code>[youtube=http://www.youtube.com/watch?v=P0WIJw8JVeU].</code> This did not work for me. It is described in <a href="http://wordpress.com/blog/2006/01/26/youtube-support/">this  post</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/180/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Web Site for My Church</title>
		<link>http://clockinfo.com/posts/114</link>
		<comments>http://clockinfo.com/posts/114#comments</comments>
		<pubDate>Sun, 02 Dec 2007 23:33:14 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/114</guid>
		<description><![CDATA[I am creating a web site for my church, Flora First Christian Church, and am using WordPress as a CMS (Content Management System). WordPress&#8217;s excellent administration interface will make it straightforward for church members to update the content on an ongoing basis. Here are some things I am doing to make the web site appear [...]]]></description>
			<content:encoded><![CDATA[<p>I am creating a web site for my church, <a href="http://florafirstchristian.org/" title="Flora First Christian Church, Flora, IN">Flora First Christian Church</a>, and am using WordPress as a CMS (Content Management System). WordPress&#8217;s excellent administration interface will make it straightforward for church members to update the content on an ongoing basis.</p>
<p>Here are some things I am doing to  make the web site appear less &#8220;bloggy&#8221; and more like a real web site:</p>
<p>Remove links on the home page that link to itself. It is described in <a href="http://clockinfo.com/posts/113" title="Removing self-links on the home page">this post</a>.</p>
<p>Remove links to the current page on posts pages (a page should not link to itself).</p>
<p>Remove any mention of &#8220;comments&#8221; on posts unless comments are open for that topic. Here is an example from single.php:</p>
<blockquote><p>&lt;?php if (comments_open()) {<br />
comments_template();<br />
} ?&gt;</p></blockquote>
<p>Use the plugin <a href="http://geekyweekly.com/mycategoryorder" title="My Category Order plugin">My Category Order</a> to display the categories and subcategories in the desired order:</p>
<p>In the sidebar I am intermixing pages and categories, as suggested by <a href="http://lorelle.wordpress.com/2006/11/09/wordpress-pages-exploring-the-pseudo-static-pages-of-wordpress/" title="WordPress Pages: Exploring the Pseudo-Static Pages of WordPress">Lorelle on WordPress</a>.</p>
<p>Here is a sample from my sidebar.php:</p>
<blockquote><p>&lt;h2 class=&#8221;title&#8221;&gt;Categories&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php<br />
wp_list_pages(&#8216;include=6&amp;title_li=&#8217;);<br />
wp_list_categories(&#8216;orderby=order&amp;hierarchical=1&amp;title_li=&#8217;);  wp_list_pages(&#8216;sort_column=menu_order&amp;include=13,14&amp;title_li=&#8217;); ?&gt;<br />
&lt;/ul&gt;</p></blockquote>
<p>This puts page 6 first, followed by the categories as sequenced by the My Category Order plugin, followed by pages 13 and 14 (the numbers are the page&#8217;s ID).</p>
<p>My next challenge was harder: Do not display a link to the &#8220;Page&#8221; that you are currently on. (For example, when you are on the &#8220;About&#8221; page, do not display a link to the &#8220;About&#8221; page (&#8220;About&#8221; may still be in the menu, but in a different color and not as a link).</p>
<p>For the menu of pages across the top of the header, it was easy to remove the link to the current page. The menu link for the current page has a css style of current_page_item. Therefore all that is needed is to add the following lines to style.css:</p>
<blockquote><p>#header .current_page_item {<br />
display: none;<br />
}</p></blockquote>
<p>For my sidebar menus of pages and categories, I created a plugin that filters out the link to the current page. It keeps  the menu item for the current page, without a link. <a href="http://clockinfo.com/posts/168" title="Removing Menu Links to the Current Page">You may see the code here</a>.</p>
<p>Other plugins I am using:</p>
<p><a href="http://lesterchan.net/portfolio/programming.php">WP-Sticky</a>:  To select a post to always be the first post in a category. I was having a problem with this, only the announcement posts were showing up in my RSS feed. To make the RSS feed be correct, the wp-sticky option &#8220;Categories Only&#8221; must be set to &#8220;Yes&#8221;.</p>
<p><a href="http://www.internetofficer.com/wordpress/search-pages/">Search-pages</a>: Allows pages as well as posts to be included in search ressults</p>
<p><a href="http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/">NextGen Gallery</a>: Photo gallery system that includes slideshows. I looked for days at creating slideshows, and finally found this wonderful plugin. <strong>Caveat</strong>: the slideshow sends full size images over the internet, and the client needs to reduce the images to the display size. This was causing HUGE bandwidth reqirements and slow loading times for viewers, so I had to scale the images before uploading them. This is not a good solution if you want to have a gallery view of the slideshow images.</p>
<p><a href="http://www.maxblogpress.com/plugins/dppp/">Different Posts Per Page</a>: Allows different number of posts per page in different categories.</p>
<p><a href="http://geekyweekly.com/mycategoryorder">My Category Order</a>:  Allows you to set display order of post categories. Note: When upgrading wordPress to a new version, remember to put the provided taxonomy.php file in the wp-includes folder. (Version 2-3-2 of this plugin has a problem in the administration interface &#8211; subcategories cannot be ordered)</p>
<p><a href="http://mtekk.weblogs.us/code/breadcrumb-nav-xt/">Bread Crumb Navigation XT</a>: Breadcrumb navigation system.</p>
<p><a href="http://www.ilfilosofo.com/blog/hide-email-js/">Filosofo Hide Email Addresses</a>: Hides email addresses within posts and pages from spambots, using JavaScript.</p>
<p><a href="http://lesterchan.net/portfolio/programming.php" title="Visit plugin homepage">WP-PageNavi</a>:<strong> </strong>  							Adds  more advanced paging navigation your WordPress blog or web site. I <a href="http://clockinfo.com/posts/137" title="Details about modification">modified it</a> slightly to put the current page number above the previous &#8211; next navigation links and to center the navigation links.</p>
<p><a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/">Google XML Sitemaps</a>:  To generate Google (and other) sitemaps.</p>
<p>Note: Breadcrumb Navigation XT: Dreamweaver MX could not upload the file breadcrumb-navigation-xt-admin.php because the name is too long! I renamed it, uploaded it, and then logged in to the server by SSH to rename the file to the proper name.</p>
<p><strong>Caching</strong></p>
<p>To have images be cached by the user&#8217;s browser for a month, yet allow the text to be updated often, I put the following in the .htaccess file:</p>
<blockquote><p>ExpiresActive On<br />
### Expire everything 1 hour from when accessed<br />
ExpiresDefault &#8220;access plus 1 hour&#8221;<br />
### Expire style sheet after 1 week<br />
ExpiresByType text/css &#8220;access plus 1 week&#8221;<br />
### Expire images after one month<br />
ExpiresByType image/jpeg &#8220;access plus 1 month&#8221;<br />
ExpiresByType image/png &#8220;access plus 1 month&#8221;<br />
ExpiresByType image/gif &#8220;access plus 1 month&#8221;<br />
### Expire Javascript after 1 week<br />
ExpiresByType application/x-javascript &#8220;access plus 1 week&#8221;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/114/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing Menu Links to the Current Page</title>
		<link>http://clockinfo.com/posts/168</link>
		<comments>http://clockinfo.com/posts/168#comments</comments>
		<pubDate>Sat, 01 Dec 2007 01:52:35 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/168</guid>
		<description><![CDATA[One of the fundamental usability guidelines is: never have a link that points to the current page &#8211; this confuses the user. (See Jakob Neilsen&#8217;s The Ten Most Violated Homepage Design Guidelines, guideline no. 10.) The WordPress blogs and websites that I have seen (including this blog!) violate this guideline in several ways. It would [...]]]></description>
			<content:encoded><![CDATA[<p>One of the fundamental usability guidelines is: <strong>never have a link that points to the current page</strong> &#8211; this confuses the user. (See Jakob Neilsen&#8217;s <a href="http://www.useit.com/alertbox/20031110.html" title="The Ten Most Violated Homepage Design Guidelines">The Ten Most Violated Homepage Design Guidelines, guideline no. 10</a>.) The WordPress blogs and websites that I have seen  (including this blog!) violate this guideline in several ways. It would be nice if a future version of WordPress would give these functions an option to not link to the current page or category. In the meantime, I have written a plugin that strips the link to the current page. It is used on the web site for  my church which is under development.</p>
<p>Here is the code for the plugin, I named the file rm_cur_menu_link.php. It is installed in the wp-content/plugins directory, then it may be activated in the plugin administration screen. This plugin will rermove self links in menus that are generated by the wp_list_pages() and wp_list_categories() functions.</p>
<blockquote><p>&lt;?php<br />
/*<br />
Plugin Name: Remove Current Menu Link<br />
Plugin URI: Does not exist yet<br />
Description: Removes link to the current item from a menu generated by wp_list_pages and wp_list_categories. This makes a WordPress website or blog comply with the usability guidelines that a web page should not have a link to itself.<br />
Version: 1.0<br />
Author: Bill Stoddard<br />
Author URI: http://clockinfo.com/<br />
*/</p>
<p>/*  Copyright 2007  Bill Stoddard  (email : bill@billsclockworks.com)</p>
<p>This program is free software; you can redistribute it and/or modify<br />
it under the terms of the GNU General Public License as published by<br />
the Free Software Foundation; either version 2 of the License, or<br />
(at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful,<br />
but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />
GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License<br />
along with this program; if not, write to the Free Software<br />
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA<br />
*/</p>
<p>/**************************************</p>
<p>Hooks and configuration</p>
<p>***************************************/<br />
add_filter(&#8216;wp_list_pages&#8217;,'list_pages_filter&#8217;);<br />
add_action(&#8216;wp_list_categories&#8217;, &#8216;list_categories_filter&#8217;);</p>
<p>function list_pages_filter($content) {<br />
/* for some reason it would not work with [:blank:]* after the m in current_page_item */<br />
return eregi_replace(&#8216;(current_page_item &#8220;&gt;&lt;a [^&lt;]*href=["|\']?([^ "\']*)["|\']?[^&gt;]*&gt;([^&lt;]*)&lt;/a&gt;)&#8217;,'current_page_item&#8221;&gt;\\3&#8242;, $content);<br />
}</p>
<p>function list_categories_filter($content) {<br />
return eregi_replace(&#8216;(current-cat[:blank:]*&#8221;&gt;&lt;a [^&lt;]*href=["|\']?([^ "\']*)["|\']?[^&gt;]*&gt;([^&lt;]*)&lt;/a&gt;)&#8217;,'&#8221;&gt;\\3&#8242;, $content);<br />
}</p>
<p>?&gt;</p></blockquote>
<p>I still consider this plugin to be experimental, although it works fine in my application (WordPress version 2.3.1), so I have not released it as a downloadable plugin yet. You can see it in action on the <a href="http://florafirstchristian.org/">Flora First Christian Church website</a>.</p>
<p>I thank <a href="http://silisoftware.com/" title="Sili Softare">silisoftware.com</a> and <a href="http://xce.de/">xce.de</a> for their helpful comments on the <a href="http://www.php.net/eregi_replace" title="PHP eregi_replace">eregi_replace manual page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/168/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Modifying WP PageNavi Plugin</title>
		<link>http://clockinfo.com/posts/137</link>
		<comments>http://clockinfo.com/posts/137#comments</comments>
		<pubDate>Fri, 23 Nov 2007 03:31:16 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/137</guid>
		<description><![CDATA[I wanted the navigation elements of WP-Pagenavi to be centered on the page, and the current page number to be above the previous &#8211; next navigation, and not have a box around it. In pagenavi.php, change line 8 from: echo &#8216;&#60;span class=&#8221;pages&#8221;&#62;&#8217;.$pages_text.&#8217;&#60;/span&#62;&#8217;; to: echo &#8216;&#60;p class=&#8221;pages&#8221;&#62;&#8217;.$pages_text.&#8217;&#60;/p&#62;&#8217;; Add the following to pagenavi-css.css: .wp-pagenavi { text-align: center; [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted the navigation elements of <a href="http://lesterchan.net/wordpress/readme/wp-pagenavi.html">WP-Pagenavi</a> to be centered on the page, and the  current page number to be above the previous &#8211; next navigation, and not have a box around it.</p>
<p>In pagenavi.php, change line 8 from:</p>
<blockquote><p>    echo &#8216;&lt;span class=&#8221;pages&#8221;&gt;&#8217;.$pages_text.&#8217;&lt;/span&gt;&#8217;;</p></blockquote>
<p>to:</p>
<blockquote><p>echo &#8216;&lt;p class=&#8221;pages&#8221;&gt;&#8217;.$pages_text.&#8217;&lt;/p&gt;&#8217;;</p></blockquote>
<p>Add the following to pagenavi-css.css:</p>
<blockquote><p>.wp-pagenavi {<br />
text-align: center;<br />
}</p></blockquote>
<p>Change the following lines in pagenavi-css.css from:</p>
<blockquote><p>.wp-pagenavi span.pages {<br />
padding: 2px 4px 2px 4px;<br />
margin: 2px 2px 2px 2px;<br />
color: #000000;<br />
border: 1px solid #000000;<br />
background-color: #FFFFFF;<br />
}</p></blockquote>
<p>to:</p>
<blockquote><p>.wp-pagenavi p.pages {<br />
padding: 2px 4px 2px 4px;<br />
margin: 2px 4px 6px 2px;<br />
color: #000000;<br />
background-color: #FFFFFF;<br />
}</p></blockquote>
<p>You can see it on <a href="http://florafirstchristian.org/posts/category/history/page/4">this web page</a> on the Flora First Christian Church website.</p>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/137/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Removing the Self Links on the Home Page</title>
		<link>http://clockinfo.com/posts/113</link>
		<comments>http://clockinfo.com/posts/113#comments</comments>
		<pubDate>Sun, 04 Nov 2007 01:58:08 +0000</pubDate>
		<dc:creator>Bill Stoddard</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://clockinfo.com/posts/113</guid>
		<description><![CDATA[On a web site, there is no need to have a link to the home page on the home page itself! (It makes no sense for a web page to link to itself). This is a commonly known usability guideline, yet nearly all WordPress blogs and web sites have links on the home page to [...]]]></description>
			<content:encoded><![CDATA[<p>On a web site, there is no need to have a link to the home page on the home page itself! (It makes no sense for a web page to link to itself). This is a commonly known usability guideline, yet nearly all WordPress blogs and web sites have links on the home page to the home page.</p>
<p>In a new blog I am creating, I fixed this by modifying the header.php file in the theme. I did similar fixes to this blog as well.</p>
<p>Original code:</p>
<blockquote><p>&lt;div id=&#8221;h1&#8243;&gt;&lt;h1&gt;<br />
&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;); ?&gt;&#8221; title=&#8221;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&#8221;&gt;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&lt;/a&gt;<br />
&lt;/h1&gt;&lt;/div&gt;</p></blockquote>
<p>Modified Code:</p>
<blockquote><p>&lt;div id=&#8221;h1&#8243;&gt;&lt;h1&gt;<br />
&lt;?php<br />
if (!is_home()) { ?&gt;<br />
&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;); ?&gt;&#8221; title=&#8221;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&#8221;&gt;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&lt;/a&gt;<br />
&lt;?php }<br />
else {<br />
echo  bloginfo(&#8216;name&#8217;);<br />
}<br />
?&gt;<br />
&lt;/h1&gt;&lt;/div&gt;</p></blockquote>
<p>Similarly, on the home page, &#8220;Home&#8221; should not be listed with the  list of pages.</p>
<p>Original code:</p>
<blockquote><p>div id=&#8221;tabs1&#8243;&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;); ?&gt;&#8221; title=&#8221;Home&#8221;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;?php wp_list_pages(&#8216;depth=1&amp;title_li=&#8217;); ?&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>Modified Code:</p>
<blockquote><p>&lt;div id=&#8221;tabs1&#8243;&gt;<br />
&lt;ul&gt;<br />
&lt;?php if (!is_home()) { ?&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;); ?&gt;&#8221; title=&#8221;Home&#8221;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;?php } ?&gt;<br />
&lt;?php wp_list_pages(&#8216;depth=1&amp;title_li=&#8217;); ?&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://clockinfo.com/posts/113/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

