<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Posts on a page.</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sat, 25 May 2013 14:31:57 +0000</pubDate>

<item>
<title>helgatheviking on "Posts on a page."</title>
<link>http://themeshaper.com/forums/topic/posts-on-a-page#post-19130</link>
<pubDate>Sat, 12 Feb 2011 08:15:59 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">19130@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;excellent.  don't forget to mark this thread as resolved.
&#60;/p&#62;</description>
</item>
<item>
<title>driftwood on "Posts on a page."</title>
<link>http://themeshaper.com/forums/topic/posts-on-a-page#post-19122</link>
<pubDate>Fri, 11 Feb 2011 21:24:17 +0000</pubDate>
<dc:creator>driftwood</dc:creator>
<guid isPermaLink="false">19122@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;got it, and it works thanks!!!!
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Posts on a page."</title>
<link>http://themeshaper.com/forums/topic/posts-on-a-page#post-19025</link>
<pubDate>Tue, 08 Feb 2011 02:36:35 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">19025@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;oh, looking at that again, add the following line&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$paged = get_query_var( &#38;#39;page&#38;#39; ) ? get_query_var( &#38;#39;page&#38;#39; ) : 1;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to the above query.&#60;br /&#62;
so in full&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$paged = get_query_var( &#38;#39;page&#38;#39; ) ? get_query_var( &#38;#39;page&#38;#39; ) : 1;
$wp_query = new WP_Query();
			$wp_query-&#38;gt;query( array( &#38;#39;posts_per_page&#38;#39; =&#38;gt; get_option( &#38;#39;posts_per_page&#38;#39; ), &#38;#39;category_name&#38;#39; =&#38;gt; &#38;#39;journal&#38;#39;, &#38;#39;paged&#38;#39; =&#38;gt; $paged ) );&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Posts on a page."</title>
<link>http://themeshaper.com/forums/topic/posts-on-a-page#post-19022</link>
<pubDate>Tue, 08 Feb 2011 02:23:36 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">19022@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;if i understand correctly, you want a page that only shows posts from the category journal yeah?&#60;/p&#62;
&#60;p&#62;so use the template above. copy all of it into an empty php file and call the file&#60;br /&#62;
template-page-journal.php&#60;/p&#62;
&#60;p&#62;change&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Template Name: Blog&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Template Name: Journal&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;set up a new page in wp-admin&#38;gt;pages, and select 'journal' it from page attributes.&#60;/p&#62;
&#60;p&#62;at the top of that template, change this section to reflect the added category..&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$wp_query = new WP_Query();
			$wp_query-&#38;gt;query( array( &#38;#39;posts_per_page&#38;#39; =&#38;gt; get_option( &#38;#39;posts_per_page&#38;#39; ), &#38;#39;category_name&#38;#39; =&#38;gt; &#38;#39;journal&#38;#39;, &#38;#39;paged&#38;#39; =&#38;gt; $paged ) );
			$more = 0;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;this should work.&#60;br /&#62;
you dont need those conditional, is page() if you are using the template.&#60;br /&#62;
let me know how you get on&#60;/p&#62;
&#60;p&#62;hope this helps
&#60;/p&#62;</description>
</item>
<item>
<title>driftwood on "Posts on a page."</title>
<link>http://themeshaper.com/forums/topic/posts-on-a-page#post-19014</link>
<pubDate>Mon, 07 Feb 2011 20:52:46 +0000</pubDate>
<dc:creator>driftwood</dc:creator>
<guid isPermaLink="false">19014@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks a bunch for your help!!!&#60;/p&#62;
&#60;p&#62;I got it half way working but must be doing something wrong..... &#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62; &#38;lt;?php&#60;br /&#62;
	 if (is_page(418)) {&#60;br /&#62;
				query_posts('category_name=journal' );&#60;br /&#62;
			}&#60;br /&#62;
?&#38;gt; &#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I added the above.. and it does not filter. I get all the posts showing. Not sure I am putting this in the right place :(
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Posts on a page."</title>
<link>http://themeshaper.com/forums/topic/posts-on-a-page#post-18984</link>
<pubDate>Sat, 05 Feb 2011 00:53:05 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">18984@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;if its a page, you need to use a template. set the page template in wp admin.&#60;br /&#62;
thematic comes boxed with a 'blog template' you just need to ammend that to select the query you require (the category).&#60;br /&#62;
Below is the code that makes up the blog template&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/**
 * Template Name: Blog
 *
 * This template allows you to display the latest posts on any page of the site.
 *
 */

    // calling the header.php
    get_header();

    // action hook for placing content above #container
    thematic_abovecontainer();

?&#38;gt;

		&#38;lt;div id=&#38;quot;container&#38;quot;&#38;gt;

			&#38;lt;?php thematic_abovecontent();

			echo apply_filters( &#38;#39;thematic_open_id_content&#38;#39;, &#38;#39;&#38;lt;div id=&#38;quot;content&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot; );

			$wp_query = new WP_Query();
			$wp_query-&#38;gt;query( array( &#38;#39;posts_per_page&#38;#39; =&#38;gt; get_option( &#38;#39;posts_per_page&#38;#39; ), &#38;#39;paged&#38;#39; =&#38;gt; $paged ) );
			$more = 0;
			?&#38;gt;

				&#38;lt;?php 

            	// create the navigation above the content
            	thematic_navigation_above();

            	// calling the widget area &#38;#39;index-top&#38;#39;
            	get_sidebar(&#38;#39;index-top&#38;#39;);

            	// action hook for placing content above the index loop
            	thematic_above_indexloop();

            	// action hook creating the index loop
            	thematic_indexloop();

            	// action hook for placing content below the index loop
            	thematic_below_indexloop();

            	// calling the widget area &#38;#39;index-bottom&#38;#39;
            	get_sidebar(&#38;#39;index-bottom&#38;#39;);

            	// create the navigation below the content
            	thematic_navigation_below();

            	?&#38;gt;

			&#38;lt;/div&#38;gt;&#38;lt;!-- #content --&#38;gt;

			&#38;lt;?php thematic_belowcontent(); ?&#38;gt; 

		&#38;lt;/div&#38;gt;&#38;lt;!-- #container --&#38;gt;

&#38;lt;?php 

    // action hook for placing content below #container
    thematic_belowcontainer();

    // calling the standard sidebar
    thematic_sidebar();

    // calling footer.php
    get_footer();

?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;in this particular section above&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$wp_query = new WP_Query();
			$wp_query-&#38;gt;query( array( &#38;#39;posts_per_page&#38;#39; =&#38;gt; get_option( &#38;#39;posts_per_page&#38;#39; ), &#38;#39;paged&#38;#39; =&#38;gt; $paged ) );
			$more = 0;
			?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you need to add to the query array, the category you want displayed.&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Function_Reference/query_posts#Category_Parameters&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/query_posts#Category_Parameters&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;hope this helps
&#60;/p&#62;</description>
</item>
<item>
<title>driftwood on "Posts on a page."</title>
<link>http://themeshaper.com/forums/topic/posts-on-a-page#post-18976</link>
<pubDate>Fri, 04 Feb 2011 18:31:30 +0000</pubDate>
<dc:creator>driftwood</dc:creator>
<guid isPermaLink="false">18976@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey Folks I have a page called Journal that I would like to filter all my posts from a specific post category. &#60;/p&#62;
&#60;p&#62;I created a function but am not sure how to do it. I tried get_post etc but just does not work. Any help?&#60;/p&#62;
&#60;p&#62;function JournalPage() {&#60;/p&#62;
&#60;p&#62;if(is_page(&#34;Journal&#34;)) {&#60;/p&#62;
&#60;p&#62;	}&#60;/p&#62;
&#60;p&#62;}&#60;br /&#62;
add_filter('the_content', 'JournalPage');
&#60;/p&#62;</description>
</item>

</channel>
</rss>
