<?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>Conscious Junkyard &#187; WordPress</title>
	<atom:link href="http://kenklaser.gaiastream.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://kenklaser.gaiastream.com</link>
	<description>thoughts, ramblings, and rants</description>
	<lastBuildDate>Thu, 09 Dec 2010 21:44:37 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>This weblog may be temporarily non-operational</title>
		<link>http://kenklaser.gaiastream.com/2009/03/20/this-weblog-may-be-temporarily-non-operational/</link>
		<comments>http://kenklaser.gaiastream.com/2009/03/20/this-weblog-may-be-temporarily-non-operational/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 19:53:57 +0000</pubDate>
		<dc:creator>Ken L. Klaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://kenklaser.gaiastream.com/?p=150</guid>
		<description><![CDATA[Some changes will be made to this weblog over the next few days or weeks, so there may be non-operational moments of unpredictable lengths.]]></description>
			<content:encoded><![CDATA[<p><strike>Some changes will be made to this weblog over the next few days or weeks.  This means there will be times when this website will be completely non-operational, and other times when what appears will not even look like a webpage.  These less-than-ideal changes will be temporary, as we upgrade some of the software.</strike></p>

<p><strike> We currently use ancient (in android time) weblog and anti-spam software.  While it used to work superbly, changes our host has made, that I will not attempt to explain except to say we now have hanging MySQL queries, are causing problems for folks trying to comment.</strike></p>

<p><strike> So, be advised that our websites will be non-operational at times, but that these glitches will hopefully be temporary.</strike></p>

<p>Update (of same day):  The upgrades went a lot smoother on this weblog than I expected.  Now I have to watch how it reacts in actual operation.  This weblog is the test box.</p>

<p>Update (Saturday, March 21 2009):  Made it through the night without any apparent issues requiring manual maintenance!  This is a tentative, &#8220;Yay!&#8221;  Even if the current solution is not as good as the old one (it may be better), our need to make the change seems somewhat forced by realities of our current host&#8217;s and the recently-increased existence of the hanging queries that manifested as several different interactivity problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://kenklaser.gaiastream.com/2009/03/20/this-weblog-may-be-temporarily-non-operational/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improved Proofreading in WordPress Part II</title>
		<link>http://kenklaser.gaiastream.com/2007/03/03/wordpress-212-improved-proofreading/</link>
		<comments>http://kenklaser.gaiastream.com/2007/03/03/wordpress-212-improved-proofreading/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 19:31:03 +0000</pubDate>
		<dc:creator>Ken L. Klaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://kenklaser.gaiastream.com/?p=119</guid>
		<description><![CDATA[Some modifications you can make to WordPress 2.1.2 to help proofread your posts before publishing them.]]></description>
			<content:encoded><![CDATA[<p>In my last post I wrote about one technique proofreaders use when checking their documents, and offered simple instructions regarding how to modify a WordPress 1.5.2 wp-admin.css file to help bloggers use the technique. Unfortunately, the 2.x versions require changes to post.php to achieve the same effect.</p>

<p>This post shows how to have more than one Post Preview section on the Write Post page in 2+ versions. It involves slightly altering the /wp-admin/post.php file with a small portion of ever-so-slightly altered code that was originally included in the same file from the earlier 1.5.2 versions.  If you decide to try this, any WordPress upgrade you perform will overwrite these changes, and the programmers occasionally make changes to this file (version 2.0.5 to 2.1.2 had changes), so saving it from version to version is not a very good idea.  You&#8217;ll also want to make sure you save a backup copy of the original file so you can easily undo these changes.</p>

<p>These instructions are specific to WordPress 2.1.2. This has also been tested to work in WordPress 2.0.5. 
<span id="more-119"></span>
Portions of this may seem redundant with the last post, which was specific for 1.5+, other portions will not, but it&#8217;s probably a good idea to read <a href="http://kenklaser.gaiastream.com/2007/02/27/improved-proofreading-in-wordpress/">Improved Proofreading In Wordpress</a> anyway, as that&#8217;s the post where I explain <em>why</em> this is a valuable technique.</p>

<p>Let&#8217;s get on with it.</p>

<p>Download post.php from your /wp-admin/ directory, and open the file in a text editor. <em>After</em> line number 69&#8217;s (explicitly specific to v2.1.2) close php, which reads as:</p>

<blockquote>?&gt;</blockquote>

<p>Or right at the <em>beginning</em> of line 70, or the two lines that read as:</p>

<blockquote><code>&lt;div id='preview' class='wrap'&gt;
    &lt;h2 id="preview-post"&gt;&lt;?php _e('Post Preview (updated when post is saved)'); ?&gt;&lt;/h2&gt;</code></blockquote>

<p>add two or three carriage returns (hit enter a few times).  Please note the &#8216;less than&#8217; and &#8216;greater than&#8217; characters above are encoded, so you generally can&#8217;t copy them into search and expect to find the matching text.</p>

<p>Next, copy all the code in the text file named <a href="http://kenklaser.gaiastream.com/textfiles/post.php212.modifications.txt">post.php212.modifications.txt</a> and paste it into the blank line or lines you just added to the post.php open in your text editor. Save the file, then upload it to the /wp-admin/ directory of your weblog.  This code is from the relevant section from WordPress 1.5.2&#8217;s post.php, except for a couple of small changes.</p>

<p>Because &#8216;post.php212.modifications.txt&#8217; includes two nearly but not precisely identical sections, the changes to the CSS are slightly different than in my previous post.</p>

<p>Next, download wp-admin.css, located in the /wp-admin/ directory, then open it in a text editor.  Find the line that reads as:</p>

<blockquote><code>
p, li, dl, dd, dt {
    line-height: 130%;
}
</code></blockquote>

<p>Delete the &#8220;p&#8221; so it reads as:</p>

<blockquote><code>
li, dl, dd, dt {
    line-height: 130%;
}
</code></blockquote>

<p>Find the line that reads, &#8220;textarea, input, select&#8221; (should be next).  Skip to the bottom of that section, after the closing &#8220;}&#8221;, and add a few carriage returns or blank lines.</p>

<p>Copy the following:</p>

<blockquote>
/*alteration*/
.storycontentmonospace {
font-family: &#8220;Courier New&#8221;, Courier, monospace;
font-size: 14px;
letter-spacing: .1em;
line-height: 2.1em;
}

/*alteration*/
.storycontentsansserif {
font-family:  Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
letter-spacing: .07em;
line-height: 2.0em;
}</blockquote>

<p>and paste it into the blank lines you just added. Save that file, and upload it back to your /wp-admin/ weblog directory.</p>

<p>That&#8217;s it.  It is useful to remember that the font families listed in the CSS, as well as the order they appear in and whether your machine has them, control which one displays on your workstation.  If you don&#8217;t have the first one listed on your local machine, it looks for the next one listed until it finds a matching font.  Consequently, you may need to either download fonts onto your machine, or change the first font listed (with respect to the added CSS commands) to a complete set (regular, bold, italic regular, and italic bold) that you do have.</p>

<p>Regarding the additions you just made to post.php (the single cut and paste described above), note there are two sections added plus the default iframe section.  This allows you to have a total of three (3) Post Preview sections displayed in your Write Post page, each one of which will have a different font for proofreading. This may be overkill for you.  If so, you can delete all or either of those two added sections.</p>

<p>As a final note, the WP 2.1.2 modified Post Preview display shows the &#8216;read more&#8217; tag, as well as the &#8216;code&#8217; tag, which didn&#8217;t appear in earlier 1.5.2+ versions.  I don&#8217;t know why this is, I&#8217;m not particularly familiar with the &#8216;under the hood&#8217; changes to the 2.0+ series codebase.</p>
]]></content:encoded>
			<wfw:commentRss>http://kenklaser.gaiastream.com/2007/03/03/wordpress-212-improved-proofreading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improved Proofreading in Wordpress</title>
		<link>http://kenklaser.gaiastream.com/2007/02/27/improved-proofreading-in-wordpress/</link>
		<comments>http://kenklaser.gaiastream.com/2007/02/27/improved-proofreading-in-wordpress/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 06:53:59 +0000</pubDate>
		<dc:creator>Ken L. Klaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://kenklaser.gaiastream.com/?p=118</guid>
		<description><![CDATA[How to add a third font to the Write Post page of WordPress 1.5.2]]></description>
			<content:encoded><![CDATA[<p>One of the techniques used by proofreaders when checking their documents is to change the font from proportional to non-proportional and read again.  I&#8217;m no great proofreader or writer, however, this is a known technique.  In reading, I&#8217;ve noted that I often look quite quickly at the whole word, or several words, instead of focusing on each separate character in each word.  Changing from a proportional font to a non-proportional one, and increasing the line-spacing as well as line-height, helps me to see each and every letter in each word.</p>

<p>Therefore, I wanted WordPress to show me the post text in several different fonts on the Write Post page as a proofreading aid. The following How To applies to WordPress 1.5.2. This will not work in the newer 2+ series because the Write Post page, specifically post.php, has been completely reworked in the newer version.  It is possible to recode post.php to do this (I&#8217;ve tested it in 2.0.5); however, that goes beyond the scope of this post which is limited to a simple CSS formatting change.</p>

<p>This was first implemented as a project on another 1.5.2 blog that I participate in as co-administrator, and it seemed like it had been quite awhile since I had posted anything here, so I thought why not share the template modification.
<span id="more-118"></span>
The WordPress 1.5.2 <a href="http://codex.wordpress.org/Image:Admin_Panel_Write_Post_Advanced_1.5.png">Write Post page</a> in the administration area offers the ability to see the written post in two separate fonts, yet the default CSS is not set up to show more than one font.  In both the textarea box where a post is written, and in the Post Preview area where the whole text is visible after a save, the default font is Georgia. Additionally, the title in Post Preview is an active hyperlink that applies the blog&#8217;s template regardless of whether the post is a draft, published, or private post.  So, because of the three separate areas where the draft can be viewed, the blogger or writer has the ability to have three separate fonts for quick proofreading without needing to do anything more than write, save, read, click again, and read again &#8212; this last proofread uses the font assigned to the blog template.</p>

<p>I decided I wanted the Post Preview area to show in Courier with increased whitespace and letter spacing, both for readability. Courier, an old-fashioned font that came with many typewriters in the pre-computer era, has the proofreading advantage of being non-proportional or monospaced.  So I went into the wp-admin directory, downloaded wp-admin.css (note that this is not the themes or templates directory), then opened it in a text editor.  I looked (or searched) for &#8220;textarea&#8221;, it was around line 145.  Beneath it I added:
<code>
.storycontent {
font-family: "Courier New", Courier, monospace;
font-size: 14px;
letter-spacing: .1em;
line-height: 2.1em;
}</code></p>

<p>Your eyes may not require as large a font as 14px, if so reduce it to a smaller number such as 10, or 12, or some other choice.  Play around with the letter-spacing and line-height as well if you wish.</p>

<p>However, this was not the only change I needed to make.  The line-height command was being overwritten by, or conflicted with, another section a few lines above that read as:
<code>
p, li, dl, dd, dt {
    line-height: 130%;
}
</code>
I deleted the &#8220;p&#8221; so it reads as:
<code>
li, dl, dd, dt {
    line-height: 130%;
}
</code>
So far I have noted no undesired effects from deleting the p, though there are likely other ways of approaching this conflict, possibly including deleting the whole command or changing the sequential ordering (but I haven&#8217;t tested these latter ideas, it works well enough for me as explained). I saved this file and uploaded it back to its original location. It&#8217;s always a good idea to save the original, unaltered file somewhere.</p>

<p>Now, the Post Preview section reads in Courier New with the individual characters slightly spread out on each line, as well as each line appearing to be double spaced.  Since the template on this blog uses the proportional Verdana or sans-serif font family as it&#8217;s main display font, and since the textarea box where a post is written is assigned Georgia or serif font family, I can quickly proofread a post in three distinctly different fonts including a non-proportional one before pressing the final &#8220;publish&#8221; post button.</p>

<p>As a warning, Courier New, a True Type font, also comes in italic and bold font versions.  If your workstation only has Courier, your italics will possibly be simulated, and quite unclear, or they won&#8217;t show that formatting at all.  If that&#8217;s the case and you use italics and or bold in your posts, you may wish to choose another non-proportional or monospaced font set that you know you have on your system.</p>
]]></content:encoded>
			<wfw:commentRss>http://kenklaser.gaiastream.com/2007/02/27/improved-proofreading-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>blbl.org blacklist shuts down</title>
		<link>http://kenklaser.gaiastream.com/2006/09/27/blblorg-blacklist-shuts-down/</link>
		<comments>http://kenklaser.gaiastream.com/2006/09/27/blblorg-blacklist-shuts-down/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 21:23:40 +0000</pubDate>
		<dc:creator>Ken L. Klaser</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://kenklaser.gaiastream.com/?p=107</guid>
		<description><![CDATA[Jamesoff has asked for everyone who uses his RBL at blbl.org to cease and desist!]]></description>
			<content:encoded><![CDATA[<p>Jamesoff, coder of the RBL plugin for SpamKarma 2 has decided to shut down his blacklist at blbl.org, <a href="http://blog.jamesoff.net/archives/2006/09/26/ive-had-enough">he writes</a>:</p>

<blockquote>&#8220;In due time, I’ll shut down rbldnsd too, but that’ll be a while yet. If you’re using the SpamKarma2 plugin for WordPress, or any other RBL lookup plugin on any blog software at all, <font color="red">please remove blbl.org from the lookup list (bl.blbl.org and uri-bl.blbl.org)</font>.&#8221;</blockquote>

<p>Thanks for all the help, Jamesoff. Your decision seems a good one: if your heart is no longer in a project, then what&#8217;s the point?</p>
]]></content:encoded>
			<wfw:commentRss>http://kenklaser.gaiastream.com/2006/09/27/blblorg-blacklist-shuts-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 1.5.1.2 from 1.5.1.1: Version Changes</title>
		<link>http://kenklaser.gaiastream.com/2005/05/28/wordpress-1512-from-1511-version-changes/</link>
		<comments>http://kenklaser.gaiastream.com/2005/05/28/wordpress-1512-from-1511-version-changes/#comments</comments>
		<pubDate>Sun, 29 May 2005 02:16:15 +0000</pubDate>
		<dc:creator>Ken L. Klaser</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://kenklaser.gaiastream.com/?p=61</guid>
		<description><![CDATA[The files that appear to have changed in WordPress version 1.5.1.2 from 1.5.1.1 are:]]></description>
			<content:encoded><![CDATA[<p>The files that appear to have changed in WordPress version 1.5.1.2 from 1.5.1.1 are:</p>

<p>\wp-content\themes\default\header.php
\wp-includes\functions.php
\wp-includes\template-functions-category.php
\wp-includes\template-functions-general.php
\wp-includes\version.php</p>

<p>Please note that the above is not an official WordPress list.  It was made using the win32 program <a href="http://winmerge.sourceforge.net/">WinMerge</a>, from <a href="http://wordpress.org/download/">zip downloads of WordPress</a> versions that I have saved.</p>
]]></content:encoded>
			<wfw:commentRss>http://kenklaser.gaiastream.com/2005/05/28/wordpress-1512-from-1511-version-changes/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>BlueJay Template for Wordpress</title>
		<link>http://kenklaser.gaiastream.com/2005/02/10/new-template-for-wordpress-122/</link>
		<comments>http://kenklaser.gaiastream.com/2005/02/10/new-template-for-wordpress-122/#comments</comments>
		<pubDate>Fri, 11 Feb 2005 06:17:37 +0000</pubDate>
		<dc:creator>Ken L. Klaser</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://kenklaser.gaiastream.com/?p=22</guid>
		<description><![CDATA[Download the Wordpress 1.5 &#38; 1.2.2 template used on this site for your own blog.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m making available the basic template we adapted from Ruthsarian&#8217;s Skidoo Too layout.  In my mind, it is only fair, since his template was in the public domain. The colors were modeled from the bird named the California Scrub Jay of the Pacific Coast, a sub-species of the Western Scrub Jay.</p>

<p>While the older templates below for Wordpress 1.2.x are still available,  they will not be updated. I&#8217;ve updated the basic template for WordPress 1.5.x using newer versions of Ruthsarian&#8217;s Skidoo Too HTM templates. Portions of these templates have been copied from the WordPress Classic theme by Dave Shea and Matthew Mullenweg, covered by the GNU GPL.</p>

<p><font color="blue">Disclaimer:</font>  I&#8217;m not a programmer, nor a commercial site designer.  I will change the template used on this site somewhat from time to time, and the files below will probably not be updated. If you notice any bugs, feel free to make a comment here to tell me, but consider that the files are offered &#8220;as is&#8221;, and any features that you don&#8217;t believe are working correctly are your problem to figure out.</p>

<p><center>WP version 1.5.x:</center></p>

<p><font color="blue">Update of 12/12/2005:</font> Fixed a left-column rendering issue for visitors using Internet Explorer 6.0.  This issue was related to WordPress&#8217;s calendar and my lousy CSS skills.  Please note that this update only applies to WP version 1.5.x.  The template for the older WP version, 1.2.x (see below) was not updated as I no longer use that older WP version.</p>

<p>One file below, comments.txt, has only one or two minor changes versus the released WordPress 1.5.1.2 Classic theme.</p>

<p><a href="http://kenklaser.gaiastream.com/textfiles/bluejay/index.txt">index.txt</a>
<a href="http://kenklaser.gaiastream.com/textfiles/bluejay/style.txt">style.txt</a>
<a href="http://kenklaser.gaiastream.com/textfiles/bluejay/comments.txt">comments.txt</a></p>

<p>Save the three links above by renaming each one:</p>

<ol>
<li>index.txt as index.php</li>
<li>style.txt as style.css</li>
<li>comments.txt as comments.php</li>
</ol>

<p>Create a new directory in your WordPress 1.5.x theme folder, I have assigned the name &#8220;bluejay&#8221; to that directory:</p>

<p>/wp-content/themes/bluejay/</p>

<p>Move the three files you saved from here into that directory on your blog using an appropriate tool such as FTP or a file manager of some kind.  You can change your blog&#8217;s active template in the Presentation > Theme  administration area of your blog.</p>

<p><center>WP version 1.2.2:</center>
<a href="http://kenklaser.gaiastream.com/textfiles/index.txt">index.txt</a>
<a href="http://kenklaser.gaiastream.com/textfiles/wp-layout.txt">wp-layout.txt</a></p>

<p>Simply open the two links above then save the index.txt file as index.php, and the wp-layout.txt file as wp-layout.css.  <strong><font color="blue">Before uploading them to your server, make sure you backup the files of the same name used on your current Wordpress 1.2.2 blog</font></strong>: rename them to something like index_backup.php and wp-layout_backup.css.  Then upload the files you saved from here to your blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://kenklaser.gaiastream.com/2005/02/10/new-template-for-wordpress-122/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

