<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: New template page like the &#039;Blog&#039;</title>
		<link>http://www.kriesi.at/support/topic/new-template-page-like-the-blog</link>
		<description>Support Forum - Topic: New template page like the &#039;Blog&#039;</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 17:54:30 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/new-template-page-like-the-blog" rel="self" type="application/rss+xml" />

		<item>
			<title>Nick on "New template page like the &#039;Blog&#039;"</title>
			<link>http://www.kriesi.at/support/topic/new-template-page-like-the-blog#post-86556</link>
			<pubDate>Wed, 05 Dec 2012 03:30:58 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">86556@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;It would be easiest to just add another taxonomy , or another 20 taxonomies and attach them to the post, they will not be picked up by the standard category. thought you have to call it something other than category ofcourse. Here, just drop it somewhere inside functions.php file, and you will have Kategories for posts.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// registration code for kategory taxonomy
    function register_kategory_tax() {
        $labels = array(
            &#38;#39;name&#38;#39;=&#38;gt; _x( &#38;#39;Kategories&#38;#39;, &#38;#39;taxonomy general name&#38;#39; ),
            &#38;#39;singular_name&#38;#39;=&#38;gt; _x( &#38;#39;Kategory&#38;#39;, &#38;#39;taxonomy singular name&#38;#39; ),
            &#38;#39;add_new&#38;#39;=&#38;gt; _x( &#38;#39;Add New Kategory&#38;#39;, &#38;#39;Kategory&#38;#39;),
            &#38;#39;add_new_item&#38;#39;=&#38;gt; __( &#38;#39;Add New Kategory&#38;#39; ),
            &#38;#39;edit_item&#38;#39;=&#38;gt; __( &#38;#39;Edit Kategory&#38;#39; ),
            &#38;#39;new_item&#38;#39;=&#38;gt; __( &#38;#39;New Kategory&#38;#39; ),
            &#38;#39;view_item&#38;#39;=&#38;gt; __( &#38;#39;View Kategory&#38;#39; ),
            &#38;#39;search_items&#38;#39;=&#38;gt; __( &#38;#39;Search Kategories&#38;#39; ),
            &#38;#39;not_found&#38;#39;=&#38;gt; __( &#38;#39;No Kategory found&#38;#39; ),
            &#38;#39;not_found_in_trash&#38;#39;     =&#38;gt; __( &#38;#39;No Kategory found in Trash&#38;#39; ),
        );
        $pages = array(&#38;#39;post&#38;#39;);
        $args = array(
            &#38;#39;labels&#38;#39;=&#38;gt; $labels,
            &#38;#39;singular_label&#38;#39;=&#38;gt; __(&#38;#39;Kategory&#38;#39;),
            &#38;#39;public&#38;#39;=&#38;gt; true,
            &#38;#39;show_ui&#38;#39;=&#38;gt; true,
            &#38;#39;hierarchical&#38;#39;=&#38;gt; true,
            &#38;#39;show_tagcloud&#38;#39;=&#38;gt; true,
            &#38;#39;show_in_nav_menus&#38;#39; =&#38;gt; true,
            &#38;#39;rewrite&#38;#39;=&#38;gt; array(&#38;#39;slug&#38;#39; =&#38;gt; &#38;#39;kategory&#38;#39;, &#38;#39;with_front&#38;#39; =&#38;gt; false ),
        );
        register_taxonomy(&#38;#39;kategory&#38;#39;, $pages, $args);
    }
    add_action(&#38;#39;init&#38;#39;, &#38;#39;register_kategory_tax&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and you can create an empty file and drop it into the root directory called taxonomy-kategory.php and put the following code into it&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
	global $avia_config, $more;
	/*
	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
	 */
	 get_header();
	 $description = is_tag() ? tag_description() : category_description();
	 echo avia_title(array(&#38;#39;title&#38;#39; =&#38;gt;
 avia_which_archive(), &#38;#39;subtitle&#38;#39; =&#38;gt; $description)); ?&#38;gt;
&#38;lt;div class=&#38;#39;container_wrap main_color &#38;lt;?php avia_layout_class( &#38;#39; main&#38;#39; ); ?&#38;gt;
	&#38;#39;&#38;gt;
	&#38;lt;div class=&#38;#39;container template-blog template-overlap&#38;#39;&#38;gt;
		&#38;lt;div class=&#38;#39;content &#38;lt;?php avia_layout_class( &#38;#39; content&#38;#39; ); ?&#38;gt;
			 units&#38;#39;&#38;gt; &#38;lt;?php
				/* Run the loop to output the posts.
				* If you want to overload this in a child theme then include a file
				* called loop-index.php and that will be used instead.
				*/
				$loop_file = &#38;#39;index&#38;#39;;
				$avia_config[&#38;#39;currently_viewing&#38;#39;] = &#38;#39;blog&#38;#39;;
				if(is_tax(&#38;#39;sermon_categories&#38;#39;))
				{
					$loop_file = &#38;#39;sermon&#38;#39;;
					$avia_config[&#38;#39;currently_viewing&#38;#39;] = &#38;#39;sermon&#38;#39;;
				}
				$more = 0;
				get_template_part( &#38;#39;includes/loop&#38;#39;, $loop_file );
				?&#38;gt;
			&#38;lt;!--end content--&#38;gt;
		&#38;lt;/div&#38;gt;
		&#38;lt;?php
				//get the sidebar
				get_sidebar();
				?&#38;gt;
	&#38;lt;/div&#38;gt;
	&#38;lt;!--end container--&#38;gt;
	&#38;lt;?php get_footer(); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I haven't tried the taxonomy page , so not sure what it will do, but the first part of the code will work for sure.&#60;/p&#62;
&#60;p&#62;Please let us know how it turned out,&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jnrgroup on "New template page like the &#039;Blog&#039;"</title>
			<link>http://www.kriesi.at/support/topic/new-template-page-like-the-blog#post-86431</link>
			<pubDate>Tue, 04 Dec 2012 08:57:18 +0000</pubDate>
			<dc:creator>jnrgroup</dc:creator>
			<guid isPermaLink="false">86431@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Ismael,&#60;/p&#62;
&#60;p&#62;I have done this but I am after it on our frontpage, i am using it in the columns then 'Latest Blog Entries' I was wondering whether or not this option could be done also via category OR have a tutorial on creating a custom post type and adding that to the link.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ismael on "New template page like the &#039;Blog&#039;"</title>
			<link>http://www.kriesi.at/support/topic/new-template-page-like-the-blog#post-86417</link>
			<pubDate>Tue, 04 Dec 2012 04:01:39 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">86417@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Use the Template Builder, insert the Blog element, choose the category.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jnrgroup on "New template page like the &#039;Blog&#039;"</title>
			<link>http://www.kriesi.at/support/topic/new-template-page-like-the-blog#post-86320</link>
			<pubDate>Mon, 03 Dec 2012 16:34:50 +0000</pubDate>
			<dc:creator>jnrgroup</dc:creator>
			<guid isPermaLink="false">86320@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Or a way to have a post category that is not picked up by the 'blog' theme.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jnrgroup on "New template page like the &#039;Blog&#039;"</title>
			<link>http://www.kriesi.at/support/topic/new-template-page-like-the-blog#post-86296</link>
			<pubDate>Mon, 03 Dec 2012 13:26:29 +0000</pubDate>
			<dc:creator>jnrgroup</dc:creator>
			<guid isPermaLink="false">86296@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Im looking at setting up multiple pages much like the blog for news, notices etc however I am unable to use 'blog' as this mixes the news and notices together, is there any way of copying the template and creating a new template within the theme to do this?&#60;/p&#62;
&#60;p&#62;n.b. I am a coder so if need to mess with files i can do.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
