<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Wordpress as an Online Magazine</title>
	<atom:link href="http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/</link>
	<description>Useful Resources For Webmasters</description>
	<pubDate>Sat, 30 Aug 2008 16:28:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Matt</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-699</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 21 Jan 2008 18:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-699</guid>
		<description>Well, first try putting a "}" at the end, like this: &lt;span style="font-style: italic;"&gt;else { include(TEMPLATEPATH . ‘/single-cymraeg.php’); &lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;/span&gt;&#160;&#160; It may be the problem.&lt;br /&gt;</description>
		<content:encoded><![CDATA[<p>Well, first try putting a &#8220;}&#8221; at the end, like this: <span style="font-style: italic;">else { include(TEMPLATEPATH . ‘/single-cymraeg.php’); <span style="font-weight: bold;">}</span></span>&nbsp;&nbsp; It may be the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aran</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-698</link>
		<dc:creator>Aran</dc:creator>
		<pubDate>Mon, 21 Jan 2008 15:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-698</guid>
		<description>Hi there Matt,This looks like exactly what I've been looking for (with increasing desperation!) - very many thanks for that.
 
&lt;p&gt;However, I'm getting the same parse error as is listed above:&lt;/p&gt;&lt;p&gt; Parse error: syntax error, unexpected $end in /home/…./wp/wp-content/themes/mimbo2.2/single.php on line 7&lt;/p&gt;&lt;p&gt;I've checked carefully that I have 'in' instead of 'is'...!&lt;/p&gt;&lt;p&gt;What I've got is:&lt;/p&gt;&lt;p&gt;$post = $wp_query-&gt;post;if (in_category('8')) {include(TEMPLATEPATH . '/single-saesneg.php');} else {include(TEMPLATEPATH . '/single-cymraeg.php');&lt;/p&gt;&lt;p&gt;within the php brackets.&lt;/p&gt;&lt;p&gt; Is there anything obviously wrong to your more practiced eye?� I would be very grateful indeed for any pointers on this...:-)&lt;/p&gt;&lt;p&gt;Many thanks for your work and for any advice you can give,&lt;/p&gt;&lt;p&gt;Aran&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hi there Matt,This looks like exactly what I&#8217;ve been looking for (with increasing desperation!) - very many thanks for that.</p>
<p>However, I&#8217;m getting the same parse error as is listed above:</p>
<p> Parse error: syntax error, unexpected $end in /home/…./wp/wp-content/themes/mimbo2.2/single.php on line 7</p>
<p>I&#8217;ve checked carefully that I have &#8216;in&#8217; instead of &#8216;is&#8217;&#8230;!</p>
<p>What I&#8217;ve got is:</p>
<p>$post = $wp_query->post;if (in_category(&#8217;8&#8242;)) {include(TEMPLATEPATH . &#8216;/single-saesneg.php&#8217;);} else {include(TEMPLATEPATH . &#8216;/single-cymraeg.php&#8217;);</p>
<p>within the php brackets.</p>
<p> Is there anything obviously wrong to your more practiced eye?� I would be very grateful indeed for any pointers on this&#8230;:-)</p>
<p>Many thanks for your work and for any advice you can give,</p>
<p>Aran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-669</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 14 Jan 2008 20:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-669</guid>
		<description>Hi Matt,

I thought you might know off the top of your head. I didn't expect you to do all that work. Thanks for the effort. I think you are correct. In fact, I initially found your post when I was doing the same thing you did in trying to solve the problem. I did post the question on the wordpress.org forum but never got a response. I thought there might be an easy way to do it without creating a page. I guess not. I'll just go forward with that solution. Thanks again for the help.

James</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I thought you might know off the top of your head. I didn&#8217;t expect you to do all that work. Thanks for the effort. I think you are correct. In fact, I initially found your post when I was doing the same thing you did in trying to solve the problem. I did post the question on the wordpress.org forum but never got a response. I thought there might be an easy way to do it without creating a page. I guess not. I&#8217;ll just go forward with that solution. Thanks again for the help.</p>
<p>James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-647</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 11 Jan 2008 18:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-647</guid>
		<description>I looked around the Wordpress Codex, and I ran some Google searches. I don't think it is really possible.&lt;br /&gt;&lt;br /&gt;However, I found something that &lt;span style="font-style: italic;"&gt;may&lt;/span&gt; work for you. What if you created a template file, and used query_posts to display the two categories. You could just create a Page, and set it to use the template you created. I'm not sure if that would meet you needs, but it's the best I could think of right now (you may also want to try the official Wordpress forum).&lt;br /&gt;</description>
		<content:encoded><![CDATA[<p>I looked around the Wordpress Codex, and I ran some Google searches. I don&#8217;t think it is really possible.</p>
<p>However, I found something that <span style="font-style: italic;">may</span> work for you. What if you created a template file, and used query_posts to display the two categories. You could just create a Page, and set it to use the template you created. I&#8217;m not sure if that would meet you needs, but it&#8217;s the best I could think of right now (you may also want to try the official Wordpress forum).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-643</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 11 Jan 2008 02:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-643</guid>
		<description>Hi Matt,

Thanks for the info. Here is my question. What if I want a custom category.php page that combines 2 discreet categories (say 3 and 9).  i.e. the stuff that would be shown in an archive page if I typed in the URL /?cat=3,9. What would that custom category page by named category-(?).php. Is it possible to create a custom category page to do this. Your help is appreciated. Thanks. 

James</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>Thanks for the info. Here is my question. What if I want a custom category.php page that combines 2 discreet categories (say 3 and 9).  i.e. the stuff that would be shown in an archive page if I typed in the URL /?cat=3,9. What would that custom category page by named category-(?).php. Is it possible to create a custom category page to do this. Your help is appreciated. Thanks. </p>
<p>James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guerry</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-587</link>
		<dc:creator>Guerry</dc:creator>
		<pubDate>Sat, 15 Dec 2007 02:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-587</guid>
		<description>I was mistaken. On my index.php (customized, default theme) 
it lacked this part of code in head  ---&#62; ?php wp_head(); ? /head


I'm using the first code

$post = $wp_query-&#62;post;
if ( in_category('9') ) {
   include(TEMPLATEPATH . '/template-venezuela.php');
} else {
   include(TEMPLATEPATH . 'normal-single.php');
}

Now, it works!

Your help has been my "salvation"
Thank you so much, Dear Matt!</description>
		<content:encoded><![CDATA[<p>I was mistaken. On my index.php (customized, default theme)<br />
it lacked this part of code in head  &#8212;&gt; ?php wp_head(); ? /head</p>
<p>I&#8217;m using the first code</p>
<p>$post = $wp_query-&gt;post;<br />
if ( in_category(&#8217;9&#8242;) ) {<br />
   include(TEMPLATEPATH . &#8216;/template-venezuela.php&#8217;);<br />
} else {<br />
   include(TEMPLATEPATH . &#8216;normal-single.php&#8217;);<br />
}</p>
<p>Now, it works!</p>
<p>Your help has been my &#8220;salvation&#8221;<br />
Thank you so much, Dear Matt!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-586</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 14 Dec 2007 22:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-586</guid>
		<description>Try using this code instead:

if (in_category('9')) {
include(TEMPLATEPATH . ‘/template-venezuela.php’);
} else {
include(TEMPLATEPATH . ‘/normal-single.php’);
}

Basically I changed "is_category(9)" to "in_category('9')". Let me know if it works.</description>
		<content:encoded><![CDATA[<p>Try using this code instead:</p>
<p>if (in_category(&#8217;9&#8242;)) {<br />
include(TEMPLATEPATH . ‘/template-venezuela.php’);<br />
} else {<br />
include(TEMPLATEPATH . ‘/normal-single.php’);<br />
}</p>
<p>Basically I changed &#8220;is_category(9)&#8221; to &#8220;in_category(&#8217;9&#8242;)&#8221;. Let me know if it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guerry</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-585</link>
		<dc:creator>Guerry</dc:creator>
		<pubDate>Fri, 14 Dec 2007 22:02:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-585</guid>
		<description>Thanks, Matt!

I run WP 2.2.1
I follow each step, but I get this error:

Parse error: syntax error, unexpected $end in /home/..../wp/wp-content/themes/default/single.php on line 7

I Try with:

if (is_category(9)) {
      include(TEMPLATEPATH . '/template-venezuela.php');
} else {
   include(TEMPLATEPATH . '/normal-single.php');
}

But not work, only normal-single.php is displayed.

I try with other plugs like Custom Post Templates (Ryan Boren), Post Templates by Category (Kaf Oseo), and nothing work. I don't understand .
Thakns!</description>
		<content:encoded><![CDATA[<p>Thanks, Matt!</p>
<p>I run WP 2.2.1<br />
I follow each step, but I get this error:</p>
<p>Parse error: syntax error, unexpected $end in /home/&#8230;./wp/wp-content/themes/default/single.php on line 7</p>
<p>I Try with:</p>
<p>if (is_category(9)) {<br />
      include(TEMPLATEPATH . &#8216;/template-venezuela.php&#8217;);<br />
} else {<br />
   include(TEMPLATEPATH . &#8216;/normal-single.php&#8217;);<br />
}</p>
<p>But not work, only normal-single.php is displayed.</p>
<p>I try with other plugs like Custom Post Templates (Ryan Boren), Post Templates by Category (Kaf Oseo), and nothing work. I don&#8217;t understand .<br />
Thakns!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-584</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 14 Dec 2007 16:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-584</guid>
		<description>Basically, yes. You create more than one single.php template (with different names), and include them in the template called "single.php" with the code shown above. Make sure you make the appropriate changes to the include() commands.

Oh, and &lt;b&gt;be sure to back-up your blog!&lt;/b&gt;</description>
		<content:encoded><![CDATA[<p>Basically, yes. You create more than one single.php template (with different names), and include them in the template called &#8220;single.php&#8221; with the code shown above. Make sure you make the appropriate changes to the include() commands.</p>
<p>Oh, and <b>be sure to back-up your blog!</b></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guerry</title>
		<link>http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-581</link>
		<dc:creator>Guerry</dc:creator>
		<pubDate>Fri, 14 Dec 2007 04:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/11/13/wordpress-as-an-online-magazine/#comment-581</guid>
		<description>HI!

(Templatemania) (I want different single.php templates for posts in different categories)

The new single.php is just with these short code?

Thanks!</description>
		<content:encoded><![CDATA[<p>HI!</p>
<p>(Templatemania) (I want different single.php templates for posts in different categories)</p>
<p>The new single.php is just with these short code?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.289 seconds -->
