<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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>THE MOLITOR FORUMS &#187; Topic: Different design templates for different posts in categories</title>
		<link>http://www.themolitor.com/forums/topic/different-design-templates-for-different-posts-in-categories</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Different design templates for different posts in categories</description>
		<language>en-US</language>
		<pubDate>Sat, 09 May 2026 06:19:20 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/different-design-templates-for-different-posts-in-categories" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Different design templates for different posts in categories"</title>
			<link>http://www.themolitor.com/forums/topic/different-design-templates-for-different-posts-in-categories#post-18674</link>
			<pubDate>Tue, 19 Feb 2013 10:58:30 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">18674@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Glad you're enjoying the theme!</p>
<p>Unfortunately this customization requires a lot of troubleshooting/research to achieve as there are a lot of moving parts with this theme.</p>
<p>Since this edit goes beyond the level of support I'm able to provide here on the forums, I'll have to ask that you submit a customization request here: <a href="http://themolitor.com/custom" rel="nofollow">http://themolitor.com/custom</a></p>
<p>Hope you understand I'm unable to provide support for customizations like this. As I mentioned, it requires a lot of troubleshooting to make sure it doesn't cause problems elsewhere in the theme (since everything displays on a single page).</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>asoloviev on "Different design templates for different posts in categories"</title>
			<link>http://www.themolitor.com/forums/topic/different-design-templates-for-different-posts-in-categories#post-18665</link>
			<pubDate>Tue, 19 Feb 2013 06:20:10 +0000</pubDate>
			<dc:creator>asoloviev</dc:creator>
			<guid isPermaLink="false">18665@http://www.themolitor.com/forums/</guid>
			<description><p>Hi, first of all, thank you for a great product!</p>
<p>I've succesfully purchased and installed your theme on WPE 3.5.1, but now i've encountered a small problem, regarding customizing posts in categories.</p>
<p>What i want is to have different design layouts (templates) for different posts regarging post's category. I have two categories: Articles and Projects, so i want to have a different layout for Projects (my portfolio) and Articles (my blog).</p>
<p>I am renaiming single.php to single_default.php, also i create single.php and use the following code:</p>
<pre><code>&#60;?php
  $post = $wp_query- &#62;post;
  if ( in_category(&#039;4&#039;) ) {
  include(TEMPLATEPATH . &#039;/single-projects.php&#039;);
  } elseif ( in_category(&#039;5&#039;) ) {
  include(TEMPLATEPATH . &#039;/single-articles.php&#039;);
  } else {
  include(TEMPLATEPATH . &#039;/single-default.php&#039;);
  }
? &#62;</code></pre>
<p>where 4 is ID for projects and 5 is ID for articles, the templates are also created (duplicated the default panels single.php code to all of them for test).</p>
<p>After doing that, when i reload the website, nothing happens, I still have normal 3 post per row, but when i am trying to load the post, empty screen without menu loads (but not a blank page)</p>
<p>Where am i wrong and if I am wrong, what should I do to have custom post and category view templates? :)</p>
<p>Thanks anyway!</p>
<p>Anton
</p></description>
		</item>

	</channel>
</rss>
