<?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>Codec &#187; wordpress</title>
	<atom:link href="http://www.trembl.org/codec/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trembl.org/codec</link>
	<description>A Personal Polylogic Code/Decode &#039;Zettelkasten&#039;</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:38:01 +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>WordPress and Numbers as Page Slugs</title>
		<link>http://www.trembl.org/codec/764/</link>
		<comments>http://www.trembl.org/codec/764/#comments</comments>
		<pubDate>Tue, 31 May 2011 01:41:56 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[slug]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=764</guid>
		<description><![CDATA[If your are using WordPress you might have run into the following situation. Let&#8217;s say the main usage of this particular WordPress installation is not so much blogging (articles), but as light-weight CMS (pages). Wordpress&#8217; Page and Subpage system works quite well in this respect, but I am no happy with one thing: Numbers as [...]]]></description>
			<content:encoded><![CDATA[<p>If your are using WordPress you might have run into the following situation. Let&#8217;s say the main usage of this particular WordPress installation is not so much blogging (articles), but as light-weight CMS (pages).<br />
Wordpress&#8217; Page and Subpage system works quite well in this respect, but I am no happy with one thing: Numbers as Page Slugs.</p>
<p>While it&#8217;s possible to create a new page, name it with a number &#8220;2012&#8243;, the page slug automatically turns to 2012-2. Manually editing the page slug back to &#8220;2012&#8243; and publishing it should solve that. Unfortunately not. Back to &#8220;2012-2&#8243;.</p>
<p>In most cases, when the page slug is not a number, the presence of a &#8220;-2&#8243; and the end of the slug suggests, that the page already exists in the database. Make sure it&#8217;s not in the Trash, empty the trash, if it is.</p>
<p>trembl.org/2012/</p>
<p>It does not seem to be a huge problem, because even when the page slug is &#8220;2012-2&#8243; and you ask for a page named <em>trembl.org/2012/</em>, WordPress will happily forward (redirect?) you to <em>trembl.org/2012-2/</em>.<br />
So&#8230; Working: Yes? Nice solution: No!.</p>
<p>No other choice than to have a look at the MySQL itself. If you are not comfortable doing it on the CL, have a look at <a href="http://www.phpmyadmin.net/">phpMyAdmin</a>. Actually, if you are not comfortable editing MySQL, don&#8217;t do it at all. Messing up the MySQL will mess up you WordPress installation! And I assume you have a recent backup.</p>
<p>So, with that out of the way, open your WordPress MySQL DB in phpMyAdmin. The wp_posts table holds all your posts, pages, as well as all the revisions to them. Look for the one you want to edit, in this case &#8220;2012-2&#8243;.<br />
Open the entry for editing (the small crayon on the left). You&#8217;ll want to edit &#8220;post_name&#8221;. Change it to whatever you live (&#8220;2012&#8243;), save (it&#8217;s called &#8220;Go&#8221;) and you&#8217;re done.</p>
<p>WordPress Version: 3.1.3</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/764/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifying Quicktags in WordPress</title>
		<link>http://www.trembl.org/codec/233/</link>
		<comments>http://www.trembl.org/codec/233/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 10:09:44 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[quicktag]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=233</guid>
		<description><![CDATA[Open: /wp-includes/js/quicktags.js Change/Add/Delete tags to your likening.]]></description>
			<content:encoded><![CDATA[<p>Open:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">/</span>wp<span style="color: #002200;">-</span>includes<span style="color: #002200;">/</span>js<span style="color: #002200;">/</span>quicktags.js</pre></div></div>

<p>Change/Add/Delete tags to your likening.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/233/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery &amp; WordPress</title>
		<link>http://www.trembl.org/codec/100/</link>
		<comments>http://www.trembl.org/codec/100/#comments</comments>
		<pubDate>Tue, 12 May 2009 02:42:24 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=100</guid>
		<description><![CDATA[http://wordpress.org/support/topic/226935 The Prototype library was added to WordPress first, so the &#8216;$&#8217; is set aside for all Prototype functionality. WordPress makes the coder use &#8216;jQuery&#8217; in place of &#8216;$&#8217;. Therefore the first few lines of code should appear as:]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/support/topic/226935">http://wordpress.org/support/topic/226935</a></p>
<blockquote><p>
The Prototype library was added to WordPress first, so the &#8216;$&#8217; is set aside for all Prototype functionality. WordPress makes the coder use &#8216;jQuery&#8217; in place of &#8216;$&#8217;. Therefore the first few lines of code should appear as:
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/100/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

