<?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>Isti&#039;s Blog &#187; Blogging tools, tips, tricks</title>
	<atom:link href="http://www.xistix.com/blog/category/blogging-tools-tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xistix.com/blog</link>
	<description>Tutorials, examples, 42</description>
	<lastBuildDate>Mon, 19 Apr 2010 20:16:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Number of Pages vs Number of Archives Shown in WordPress</title>
		<link>http://www.xistix.com/blog/2008/12/15/number-of-pages-vs-number-of-archives-shown-in-wordpress/</link>
		<comments>http://www.xistix.com/blog/2008/12/15/number-of-pages-vs-number-of-archives-shown-in-wordpress/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 09:37:10 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[Blogging tools, tips, tricks]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[shown]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.kultatech.com/blog/?p=235</guid>
		<description><![CDATA[This issue was bothering me for a long time and now I decided to solve it. My problem was that I couldn&#8217;t set the number of entries listed in archive queries. It was the same as number of posts listed per page. Since I usually make long posts, I want to keep this number low. [...]]]></description>
			<content:encoded><![CDATA[<p>This issue was bothering me for a long time and now I decided to solve it. My problem was that I couldn&#8217;t set the number of entries listed in archive queries. It was the same as number of posts listed per page. Since I usually make long posts, I want to keep this number low. It is set to two now. When only post headers are listed on archive query pages, the small number is very annoying. In WordPress web admin interface I couldn&#8217;t find a place to set this value. So I started to dig the sources and found a variable called &#8216;posts_per_archive_page&#8217; used at several places. I went to the sql database of my blog and checked whether there is a corresponding option variable for this. No luck. Then I decided to make a dirty hack.</p>
<p>I edited the query.php in the wp-includes folder. I looked for the place where the variable is used:</p>
<p>if ( (isset($q['posts_per_archive_page']) &amp;&amp; $q['posts_per_archive_page'] != 0) &amp;&amp; ($this-&gt;is_archive || $this-&gt;is_search) )</p>
<p>&#8230;</p>
<p>and inserted the following line before that:</p>
<p>$q['posts_per_archive_page'] = 10;</p>
<p>Eh eh. This is really ugly this way, but works. Now I have 10 entries listed for each query, while the posts per pages is still 2 or whatever I set in the admin interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2008/12/15/number-of-pages-vs-number-of-archives-shown-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firebug: index.php vs single.php</title>
		<link>http://www.xistix.com/blog/2008/11/16/firebug-indexphp-vs-singlephp/</link>
		<comments>http://www.xistix.com/blog/2008/11/16/firebug-indexphp-vs-singlephp/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 20:28:14 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[Blogging tools, tips, tricks]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.kultatech.com/blog/?p=54</guid>
		<description><![CDATA[This post is related to my former post. It was about showing the trackback link for a post. I wrote when I modified the single.php nothing happened. Actually something happened I just didn&#8217;t recognize it. When you read the post from the front page index.php is used to render the post. When you open the [...]]]></description>
			<content:encoded><![CDATA[<p>This post is related to my former post. It was about showing the trackback link for a post. I wrote when I modified the single.php nothing happened. Actually something happened I just didn&#8217;t recognize it. When you read the post from the front page index.php is used to render the post. When you open the post via some links (e.g. from the Recent Posts section) then single.php is used. I do not know whether this is a WordPress feature or just the Firebug theme does it this way. Maybe I should <a href="http://www.abbreviations.com/bs.aspx?adults=y&#038;st=RFM&#038;SE=1&#038;o=p">RFM</a>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2008/11/16/firebug-indexphp-vs-singlephp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Show the Trackback Link of a Post in WordPress</title>
		<link>http://www.xistix.com/blog/2008/11/16/how-to-show-the-trackback-link-of-a-post-in-wordpress/</link>
		<comments>http://www.xistix.com/blog/2008/11/16/how-to-show-the-trackback-link-of-a-post-in-wordpress/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 20:08:07 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[Blogging tools, tips, tricks]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[trackback]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.kultatech.com/blog/?p=47</guid>
		<description><![CDATA[I&#8217;m just starting blogging and I&#8217;m not so familiar with tools. My friend Chris proposed me to use WordPress as a blogging tool. It was a good choice. I set it up quite fast and started to use it right away. I didn&#8217;t have to read tutorials. It is quite self evident how to use [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just starting blogging and I&#8217;m not so familiar with tools. My friend Chris proposed me to use WordPress as a blogging tool. It was a good choice. I set it up quite fast and started to use it right away. I didn&#8217;t have to read tutorials. It is quite self evident how to use it. Chris also gave a link to some WordPress <a href="http://sixrevisions.com/resources/50-beautiful-free-wordpress-themes/">themes</a>. I didn&#8217;t want to spend too much time for making my own style/theme so I selected Firebug from the list. It was an easy round again to set the theme up in WordPress. So far so good. The only thing that I was missing is the trackback link from the end of each posts. So I started to google around. Most of the hits explained how to refer to trackback links. Finally I have found a <a href="http://blog.mcdermotts.org.uk/2007/10/tutorial-wordpress-add-a-trackback-url-code-to-a-theme/trackback/">post</a> at a blog where the blogger explained what I needed.</p>
<p>It says all that I need to do is to add the following to the end of the code that shows a post:</p>
<p><span style="color: #ffcc00;"><strong>&lt;a href=”&lt;?php trackback_url(true); ?&gt;”&gt;Trackback This Post&lt;/a&gt;</strong></span></p>
<p>It mentions single.php as the possible source that I should modify. OK. I checked and found single.php in Firebug. I modified it, but nothing happened. I also found there is already the following code in single.php:</p>
<p><span style="color: #ffcc00;">&lt;?php } elseif (!(&#8216;open&#8217; == $post-&gt; comment_status) &amp;&amp; (&#8216;open&#8217; == $post-&gt;ping_status)) {<br />
// Only Pings are Open ?&gt;<br />
Responses are currently closed, but you can &lt;a href=&#8221;&lt;?php trackback_url(); ?&gt; &#8221; rel=&#8221;trackback&#8221;&gt;trackback&lt;/a&gt; from your own site.</span></p>
<p><span style="color: #ffcc00;">&lt;?php }</span> etc.</p>
<p>OK. It seems that it is not the single.php that actually shows my post. I quickly checked the firebug sources and found index.php in the same directory where single.php was. I tried to modify it and BINGO! It is the one. So I added the following:</p>
<p><span style="color: #ffcc00;">&lt;?php if (&#8216;open&#8217; == $post-&gt;ping_status)<br />
{?&gt;<br />
You can &lt;a href=&#8221;&lt;?php trackback_url(); ?&gt; &#8221; rel=&#8221;trackback&#8221;&gt;trackback&lt;/a&gt; from your  site.&lt;br/&gt;&lt;br/&gt;<br />
&lt;?php } ?&gt;</span></p>
<p>As you can see it is similar to the code I have found in single.php. I just removed the comment status checking and modified the text a bit. It works fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2008/11/16/how-to-show-the-trackback-link-of-a-post-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
