<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.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>WordPress DK Forum Topic: Template til Custom Post Types</title>
		<link>http://wp-danmark.dk/forum/topic/template-til-custom-post-types</link>
		<description>WordPress DK Forum Topic: Template til Custom Post Types</description>
		<language>da-DK</language>
		<pubDate>Tue, 25 Aug 2026 02:55:13 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Søg]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://wp-danmark.dk/forum/search.php</link>
		</textInput>
		<atom:link href="http://wp-danmark.dk/forum/rss/topic/template-til-custom-post-types" rel="self" type="application/rss+xml" />

		<item>
			<title>cavamondo om "Template til Custom Post Types"</title>
			<link>http://wp-danmark.dk/forum/topic/template-til-custom-post-types#post-20791</link>
			<pubDate>søn, 07 nov 2010 23:12:46 +0000</pubDate>
			<dc:creator>cavamondo</dc:creator>
			<guid isPermaLink="false">20791@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;dobbelt post
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cavamondo om "Template til Custom Post Types"</title>
			<link>http://wp-danmark.dk/forum/topic/template-til-custom-post-types#post-20790</link>
			<pubDate>søn, 07 nov 2010 23:11:58 +0000</pubDate>
			<dc:creator>cavamondo</dc:creator>
			<guid isPermaLink="false">20790@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;For at forstå det korrekt.&#60;br /&#62;
Overstående markup i functions.php og skift:&#60;br /&#62;
include(TEMPLATEPATH . &#34;/single.php&#34;);&#60;br /&#62;
ud med eks:&#60;br /&#62;
include(TEMPLATEPATH . &#34;/single_video.php&#34;);&#60;/p&#62;
&#60;p&#62;Eller hvorledes?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>maxemil2 om "Template til Custom Post Types"</title>
			<link>http://wp-danmark.dk/forum/topic/template-til-custom-post-types#post-20789</link>
			<pubDate>søn, 07 nov 2010 23:05:59 +0000</pubDate>
			<dc:creator>maxemil2</dc:creator>
			<guid isPermaLink="false">20789@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Jeg lavede sådan noget på et tidspunkt..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Template selection
function wkevents_template_redirect_to_single()
{
  global $wp;
  if ($wp-&#38;gt;query_vars[&#38;quot;post_type&#38;quot;] == &#38;quot;wkevents&#38;quot;)
  {
    include(TEMPLATEPATH . &#38;quot;/single.php&#38;quot;);
    die();
  }
}
add_action(&#38;quot;template_redirect&#38;quot;, &#38;#39;wkevents_template_redirect_to_single&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>cavamondo om "Template til Custom Post Types"</title>
			<link>http://wp-danmark.dk/forum/topic/template-til-custom-post-types#post-20785</link>
			<pubDate>søn, 07 nov 2010 22:06:20 +0000</pubDate>
			<dc:creator>cavamondo</dc:creator>
			<guid isPermaLink="false">20785@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Nogen der ved hvorledes man kan definere en bestem side template til custom post types. Hvis jeg eks har en post type der hedder videos ... hvorledes kan jeg så bruge en specifik template designet til at vise videos i automatisk?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
