<?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 inside the Pages and subpages</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 19 Jun 2013 14:50:42 +0000</pubDate>

<item>
<title>amoore on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-18375</link>
<pubDate>Fri, 14 Jan 2011 18:24:00 +0000</pubDate>
<dc:creator>amoore</dc:creator>
<guid isPermaLink="false">18375@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks for this great (even when dated) thread! &#60;/p&#62;
&#60;p&#62;Did Saski's question get answered somewhere? I've got the rest working but would also love this answer:&#60;/p&#62;
&#60;p&#62;&#34;I am tryng to insert the page content before the category loop, to use that as introduction or a customizable intro area Can you give me a clue on how to edit it to display the page content above the category loop?&#34;&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>Mickstah on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-14200</link>
<pubDate>Fri, 30 Jul 2010 15:28:40 +0000</pubDate>
<dc:creator>Mickstah</dc:creator>
<guid isPermaLink="false">14200@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;My apologies, disregard the above, turns out I had set my Reading Settings post page to the same page I was attempting to apply the template to. Of course the Reading Settings were overriding the custom fields thus returning all my posts instead of the select category.&#60;/p&#62;
&#60;p&#62;Let this be a simple lesson to others.&#60;/p&#62;
&#60;p&#62;Thank you again for this code, it works perfectly when you don't have a monkey like me operating it!
&#60;/p&#62;</description>
</item>
<item>
<title>Mickstah on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-14199</link>
<pubDate>Fri, 30 Jul 2010 14:12:43 +0000</pubDate>
<dc:creator>Mickstah</dc:creator>
<guid isPermaLink="false">14199@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Sorry to bump an old thread guys but this is an excellent one!&#60;/p&#62;
&#60;p&#62;I love thematic however I've always had trouble showing a single category of posts on a page. The Custom Fields solution that Chris provided is brilliant however I'm having trouble getting it to filter the categories.&#60;/p&#62;
&#60;p&#62;I can apply the template and get the custom fields showing without any issue, but when I input the category id (in this case: 3) I still get the other category posts showing. I have permalinks active so I've tried various combinations of slugs, page IDs and even post IDs but still no change.&#60;/p&#62;
&#60;p&#62;Please note I am using Wordpress 3 - is it possible that this is causing the problem? Is it possible that Wordpress 3 has superseded this solution and I wasn't aware of it?
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-10135</link>
<pubDate>Wed, 24 Feb 2010 16:56:10 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">10135@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;H trexr &#38;#38; raul,&#60;/p&#62;
&#60;p&#62;About the missing images, you need to filter thematic_content so that it shows full posts not excerpts for archives. Look back to the part of this conversation with Gary and try this code.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function child_archive_content($content) {
	if (is_archive()) $content =&#38;quot;full&#38;quot;;
	return $content;
}
add_filter(&#38;#39;thematic_content&#38;#39;, &#38;#39;child_archive_content&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>raul on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-9631</link>
<pubDate>Tue, 09 Feb 2010 09:52:11 +0000</pubDate>
<dc:creator>raul</dc:creator>
<guid isPermaLink="false">9631@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Not sure if any of you are still workin on this thread since its been a few months now. But yeah, I got the same missing photo thing happening. Everything works from Chris' code. Took me a couple of hours to follow this whole conversation.&#60;/p&#62;
&#60;p&#62;And another question, how do I get the new page posts to NOT appear on the main page? The posts seem to double up, one on the main blog page and then the same one is on the new &#34;Category Query Page&#34;. Other than that everything works hunkydory. Setting up the blog posts to the new CATEGORY works fine. &#60;/p&#62;
&#60;p&#62;Thanks if any of you get to helping me with this.
&#60;/p&#62;</description>
</item>
<item>
<title>trexr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-8276</link>
<pubDate>Sat, 05 Dec 2009 21:47:28 +0000</pubDate>
<dc:creator>trexr</dc:creator>
<guid isPermaLink="false">8276@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@em hr&#60;/p&#62;
&#60;p&#62;using your first response in this thread, for some reason inserted images do not appear in the page even though they appear in standard loop posting. Did any one else have this problem?&#60;br /&#62;
any suggestions?&#60;/p&#62;
&#60;p&#62;Thanks so much!
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-8243</link>
<pubDate>Thu, 03 Dec 2009 23:25:16 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">8243@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I heart this discussion...&#60;/p&#62;
&#60;p&#62;@ saski     Sorry, I've been really busy. I'll be back to this soon.
&#60;/p&#62;</description>
</item>
<item>
<title>saski on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-8135</link>
<pubDate>Sun, 29 Nov 2009 20:41:24 +0000</pubDate>
<dc:creator>saski</dc:creator>
<guid isPermaLink="false">8135@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi em hr&#60;br /&#62;
Thanks for this great solution.&#60;br /&#62;
I am tryng to insert the page content before the category loop, to use that as introduction or a customizable intro area&#60;br /&#62;
Can you give me a clue on how to edit it to display the page content above the category loop?&#60;/p&#62;
&#60;p&#62;thanks a lot!
&#60;/p&#62;</description>
</item>
<item>
<title>dylancoyne on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7862</link>
<pubDate>Wed, 11 Nov 2009 23:45:30 +0000</pubDate>
<dc:creator>dylancoyne</dc:creator>
<guid isPermaLink="false">7862@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Gene -&#60;/p&#62;
&#60;p&#62;Thanks, that works for me now. I tried that filter earlier but I didn't see the post about making excerpt 'full' i.e. declaring $content =&#34;full&#34;;
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7859</link>
<pubDate>Wed, 11 Nov 2009 19:40:06 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7859@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@ lqunta -&#60;/p&#62;
&#60;p&#62;On review, I think my answers to your questions in the other thread may serve you better than using this method.&#60;/p&#62;
&#60;p&#62;@ dylancoyne-&#60;/p&#62;
&#60;p&#62;Since &#60;code&#62;$wp_query-&#38;gt;is_archive = true&#60;/code&#62; the function &#60;code&#62;thematic_content()&#60;/code&#62; inside &#60;code&#62;thematic_index_loop&#60;/code&#62; outputs an excerpt. If you want the full content then filter &#60;code&#62;thematic_content()&#60;/code&#62; like in my response to Gary above.&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>dylancoyne on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7858</link>
<pubDate>Wed, 11 Nov 2009 18:46:10 +0000</pubDate>
<dc:creator>dylancoyne</dc:creator>
<guid isPermaLink="false">7858@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Chris &#38;#38; em hr,&#60;/p&#62;
&#60;p&#62;Thanks for the solution of the new meta-boxes on the first page of this thread.&#60;br /&#62;
It's working for me but when the posts output to my specific pages they are excerpted i.e.truncated.&#60;/p&#62;
&#60;p&#62;How do I change the code to allow the full post to come through for the page loop? &#60;/p&#62;
&#60;p&#62;I am guessing its this bit that I need to change not the laying out the custom fields.&#60;/p&#62;
&#60;p&#62;function child_theme_custom_query() {&#60;br /&#62;
	global $post;&#60;/p&#62;
&#60;p&#62;	if (get_post_meta($post-&#38;gt;ID, 'page_query_posts', true)) {&#60;/p&#62;
&#60;p&#62;		$limit = get_post_meta($post-&#38;gt;ID, 'limit', true);&#60;br /&#62;
		$category = get_post_meta($post-&#38;gt;ID, 'category',true);&#60;br /&#62;
    	$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;&#60;/p&#62;
&#60;p&#62;     	query_posts('cat=' .$category. '&#38;#38;showposts=' . $limit . '&#38;#38;paged=' . $paged );&#60;/p&#62;
&#60;p&#62;    	$wp_query-&#38;gt;is_archive = true; $wp_query-&#38;gt;is_home = false;&#60;br /&#62;
    	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;add_action('thematic_above_indexloop', 'child_theme_custom_query');&#60;/p&#62;
&#60;p&#62;Thanks in advance&#60;/p&#62;
&#60;p&#62;D
&#60;/p&#62;</description>
</item>
<item>
<title>lqunta on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7519</link>
<pubDate>Thu, 29 Oct 2009 10:06:32 +0000</pubDate>
<dc:creator>lqunta</dc:creator>
<guid isPermaLink="false">7519@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Gene,&#60;/p&#62;
&#60;p&#62;Thanks for proposing to have a go at the code. Will surely want to see how you'll implement this.&#60;/p&#62;
&#60;p&#62;Cheers&#60;br /&#62;
LQunta&#60;/p&#62;
&#60;p&#62;[bn offline for some days]
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7401</link>
<pubDate>Sat, 24 Oct 2009 12:54:16 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7401@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;lqunta- &#60;/p&#62;
&#60;p&#62;No worries. We're all learning around here. I'll work on this  and get back with some code later on today. I'll try and take into to account the setup you described in &#60;a href=&#34;http://themeshaper.com/forums/topic/full-post-and-then-excerpts-on-category-pages?replies=9#post-7400&#34;&#62;another thread&#60;/a&#62;.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;- Categories [e.g. My Articles], which have Sub-Categories [e.g. Fictional Stories, Poems, Tips]&#60;br /&#62;
- As such, I would like, when one clicks on a category, e.g. Fictional Stories, he/ she should, first of all, read about the category [category description], then, a listing of the current category's content as mentioned above, limited to x number of articles&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>lqunta on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7393</link>
<pubDate>Sat, 24 Oct 2009 07:00:04 +0000</pubDate>
<dc:creator>lqunta</dc:creator>
<guid isPermaLink="false">7393@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Well, Gene,&#60;/p&#62;
&#60;p&#62;Thanks for your prompt response to my query and clarifying what is possible, and what is not. Pardon me if I sound rather 'green', but, how can I incorporate the desired layout [i.e. Thumbnail[floated left] - we can ignore this for now, The Content[i.e. Post Title, Post Category, Post Excerpt] floated right]? I have my desired layout ready - for the post excerpts] as thus:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;div id=&#34;post_list&#34;&#38;gt;&#60;br /&#62;
&#38;lt;!-- The thumblail div would be here --&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;post_content&#34;&#38;gt;&#60;br /&#62;
  &#38;lt;h2&#38;gt;Post Title Here&#38;lt;/h2&#38;gt;&#60;br /&#62;
  &#38;lt;span&#38;gt;Post Category&#38;lt;/span&#38;gt;&#60;br /&#62;
  &#38;lt;p&#38;gt;Post Excerpt&#38;lt;/p&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I'll have to consent that my knowledge in coding [php] is limited at best. Yet again, pardon me for sounding rather 'daft'&#60;/p&#62;
&#60;p&#62;LQunta&#60;br /&#62;
[learning by doing]
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7380</link>
<pubDate>Fri, 23 Oct 2009 13:07:49 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7380@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;lqunta-&#60;/p&#62;
&#60;p&#62;1. All of the code up to and including Chris's works great. After that I was having some learning curve issues with what I was trying. I've gotten it sorted out now. I may return to this discussion with my solutions sometime if there is continued interest. &#60;/p&#62;
&#60;p&#62;2. To use those code examples &#60;strong&#62;all&#60;/strong&#62; pages that you want to aggregate posts need to be assigned the &#60;strong&#62;one custom template&#60;/strong&#62; created in the example above.&#60;/p&#62;
&#60;p&#62;3. Yes. Very possible. As for the thumbnail bit I'd suggest maybe waiting for WP 2.9 soon to be beta.&#60;/p&#62;
&#60;p&#62;Instead of the usual custom field approach to thumbnail images 2.9 will introduce the template tag the_post_image() and set the image will be done from the admin.&#60;/p&#62;
&#60;p&#62;- Gene
&#60;/p&#62;</description>
</item>
<item>
<title>lqunta on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7373</link>
<pubDate>Fri, 23 Oct 2009 10:50:56 +0000</pubDate>
<dc:creator>lqunta</dc:creator>
<guid isPermaLink="false">7373@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Greetings Guys&#60;br /&#62;
@Chris, @Gene&#60;/p&#62;
&#60;p&#62;I've been going through your code suggestions above, and, seem to be lost at the point where Gene is talking about multi-dimensional arrays. Being quite 'green' in all this, pardon me to ask,&#60;br /&#62;
-Which is the code that works perfectly [i.e., where one can edit from within WPadmin]?&#60;br /&#62;
-For each page, where one wants to display posts from a corresponding [similarly named] category...should one have to create the .php page template?&#60;br /&#62;
-Is it possible to have the generated pages in the following manner : Thumbnail[floated left], The Content[i.e. Post Title, Post Category, Post Excerpt] floated right]?&#60;/p&#62;
&#60;p&#62;Thanks all for the great work you're doing in the forums [in just a matter of hours, I've managed to move ahead by leaps and bounds].&#60;/p&#62;
&#60;p&#62;Cheers&#60;br /&#62;
LQunta
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7197</link>
<pubDate>Fri, 16 Oct 2009 21:26:22 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7197@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;A heads up for anyone using a custom query loop as described in this thread. It my be necessary to reset the query with &#60;code&#62;&#38;lt;?php wp_reset_query() ?&#38;gt;&#60;/code&#62; after the loop is complete in order to make &#60;a href=&#34;http://codex.wordpress.org/Conditional_Tags&#34;&#62;condtional tags&#60;/a&#62;  work properly or to pull custom fields from the original page's post meta.
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7193</link>
<pubDate>Fri, 16 Oct 2009 03:55:55 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7193@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Promising improvements on this method of meta boxing here:&#60;/p&#62;
&#60;p&#62; &#60;a href=&#34;http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/&#34; rel=&#34;nofollow&#34;&#62;http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>garycr5 on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7146</link>
<pubDate>Wed, 14 Oct 2009 05:31:38 +0000</pubDate>
<dc:creator>garycr5</dc:creator>
<guid isPermaLink="false">7146@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Gene - stuck that in my functions.php and it's working perfectly.
&#60;/p&#62;</description>
</item>
<item>
<title>garycr5 on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7145</link>
<pubDate>Wed, 14 Oct 2009 05:21:10 +0000</pubDate>
<dc:creator>garycr5</dc:creator>
<guid isPermaLink="false">7145@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Gene - oh no problem at all :) I appreciate this so much, I'll give it a try. This goes in my functions.php as well, yes?
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7135</link>
<pubDate>Tue, 13 Oct 2009 21:40:18 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7135@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@Gary- I am am a total fool for not reading properly... change &#34;excerpt&#34; to &#34;full&#34; in my code.&#60;/p&#62;
&#60;p&#62;@Chris - No worries. I like the idea of the plugin approach. It'd be easier to keep the code up to date that way.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7131</link>
<pubDate>Tue, 13 Oct 2009 21:26:00 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">7131@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Gene,&#60;/p&#62;
&#60;p&#62;sorry, but my last days were too fast-paced to get my brain free to solve this multi-dimensional array problem.&#60;/p&#62;
&#60;p&#62;I already thought about integrating this meta-box functionality. Currently I'm looking for the best way to outsource a couple of things into external modules. These could be loaded into the child themes as needed. This could be controlled using the child theme's functions.php or using the upcoming configuration / management plugin.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7126</link>
<pubDate>Tue, 13 Oct 2009 20:42:20 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7126@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Chris-&#60;/p&#62;
&#60;p&#62;I finally came back to &#34;my different approach&#34; and got it sorted out. Flipping multidimensional arrays always get the best of me. I may eventually get around to looking at a more straight forward and compartmental way similar to Hybrid's meta-box.php.&#60;/p&#62;
&#60;p&#62;Thanks for all your help with this-&#60;br /&#62;
Gene
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7116</link>
<pubDate>Tue, 13 Oct 2009 17:39:27 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7116@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Gary- try:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function child_archive_content($content) {
	if (is_archive()) $content =&#38;quot;excerpt&#38;quot;;
	return $content;
}
add_filter(&#38;#39;thematic_content&#38;#39;, &#38;#39;child_archive_content&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>garycr5 on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-7098</link>
<pubDate>Tue, 13 Oct 2009 04:58:29 +0000</pubDate>
<dc:creator>garycr5</dc:creator>
<guid isPermaLink="false">7098@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Gene - Thank you thank you so much for your help here with the category query page template. I've been going through all kinds of possible solutions on the WP forums trying to find one I understand and yours is great. I put your original piece of code into my functions.php &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function child_theme_custom_query() {

    	if (is_page(&#38;#39;48&#38;#39;)) { // change &#38;#39;48&#38;#39; to the id # of your page

	$limit = get_option(&#38;#39;posts_per_page&#38;#39;);
    	$paged = (get_query_var(&#38;#39;paged&#38;#39;)) ? get_query_var(&#38;#39;paged&#38;#39;) : 1;

        //change &#38;#39;4&#38;#39; to you category id # and change the value of $limit to the # of posts you want displayed per page
    	query_posts(&#38;#39;cat=4&#38;#39; . &#38;#39;&#38;#38;showposts=&#38;#39; . $limit=2 . &#38;#39;&#38;#38;paged=&#38;#39; . $paged );

    	$wp_query-&#38;gt;is_archive = true; $wp_query-&#38;gt;is_home = false;
    	}
}

add_action(&#38;#39;thematic_above_indexloop&#38;#39;, &#38;#39;child_theme_custom_query&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The one problem is that the page that I've applied this category query to comes up with only excerpts of the posts rather than fully displayed posts. Here's the page: &#60;a href=&#34;http://garycrofts.com/test/mynews/&#34;&#62;http://garycrofts.com/test/mynews/&#60;/a&#62;. Do you have any suggestions for how to display the full post?&#60;/p&#62;
&#60;p&#62;Thank you for all the help you've already given,&#60;br /&#62;
             Gary
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages/page/2#post-6997</link>
<pubDate>Thu, 08 Oct 2009 17:01:59 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">6997@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;As for the nonce location: Is either of these better or does it matter?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;echo&#38;#39;&#38;lt;select name=&#38;quot;&#38;#39;.$meta_box_name.&#38;#39;_noncename&#38;quot; id=&#38;quot;&#38;#39;.$meta_box_name.&#38;#39;_noncename&#38;quot; &#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;or &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;echo&#38;#39;&#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;&#38;#39;.$meta_box_name.&#38;#39;_noncename&#38;quot; id=&#38;quot;&#38;#39;.$meta_box_name.&#38;#39;_noncename&#38;quot; value=&#38;quot;&#38;#39;.wp_create_nonce( plugin_basename(__FILE__) ).&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages#post-6996</link>
<pubDate>Thu, 08 Oct 2009 16:58:09 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">6996@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Yeah I should'nt have opened the selct in side the last loop. But I'm still not sure where is the best place to put the nonce and why the hell it wont save to the customfield.&#60;/p&#62;
&#60;p&#62;Thanks for looking into it. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function layout_area() {
	global $post, $new_meta_areas;

	$meta_area = $new_meta_areas[&#38;#39;layout_area&#38;#39;];

	foreach($meta_area[&#38;#39;meta_boxes&#38;#39;] as $meta_box_name =&#38;gt; $meta_box_option){		

	echo&#38;#39;&#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;&#38;#39;.$meta_box_name.&#38;#39;_noncename&#38;quot; id=&#38;quot;&#38;#39;.$meta_box_name.&#38;#39;_noncename&#38;quot; value=&#38;quot;&#38;#39;.wp_create_nonce( plugin_basename(__FILE__) ).&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;

		echo&#38;#39;&#38;lt;select name=&#38;quot;&#38;#39;.$meta_box_name.&#38;#39;&#38;quot;&#38;gt;&#38;#39;;   

		foreach($meta_box_option[&#38;#39;options&#38;#39;] as $option_type =&#38;gt; $option_value ) { 

			echo&#38;#39;&#38;lt;option&#38;#39;;

				if ( get_post_meta($post-&#38;gt;ID, $meta_box_name, true) == $option_value ) {
				  	echo &#38;#39; selected=&#38;quot;selected&#38;quot;&#38;#39;;
				} elseif ( $option_value == $option_type[&#38;#39;std&#38;#39;] ) {
				  	echo &#38;#39; selected=&#38;quot;selected&#38;quot;&#38;#39;;
				}

			   echo&#38;#39; value=&#38;quot;&#38;#39; . $option_value . &#38;#39;&#38;quot;&#38;gt;&#38;#39;. $option_type .&#38;#39;&#38;lt;/option&#38;gt;&#38;#39;;
		}
		echo&#38;#39;&#38;lt;/select&#38;gt;&#38;#39;;
		echo&#38;#39;&#38;lt;label for=&#38;quot;&#38;#39;.$meta_box_name.&#38;#39;&#38;quot;&#38;gt;&#38;#39;.$meta_box_option[&#38;#39;description&#38;#39;].&#38;#39;&#38;lt;/label&#38;gt;
&#38;#39;;
	}
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Chris on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages#post-6994</link>
<pubDate>Thu, 08 Oct 2009 15:08:25 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">6994@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Gene,&#60;/p&#62;
&#60;p&#62;I'm working on your code. &#60;/p&#62;
&#60;p&#62;layout_area() is a bit messed up. :) .. that's the reason why you have a ton drop-downs with only one list entry.&#60;/p&#62;
&#60;p&#62;Rest will follow.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>noShitWFP on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages#post-6989</link>
<pubDate>Thu, 08 Oct 2009 03:18:12 +0000</pubDate>
<dc:creator>noShitWFP</dc:creator>
<guid isPermaLink="false">6989@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Dear Chris (and Gene if you're keen),&#60;/p&#62;
&#60;p&#62;Thanks for the Category ID response...I seemed to have got it anyway, though be it via a different route. Though I do appreciate that I can now being certain:-P&#60;/p&#62;
&#60;p&#62;I got everything working nicely the other night thank you :-)&#60;/p&#62;
&#60;p&#62;Now that I have taken that step and seen what it looks like, I have been able to to refine my initial question.&#60;/p&#62;
&#60;p&#62;At the risk of going way overboard and asking too much, I wonder would you be up for a further refinement on the above code? (Before I continue I feel it appropriate to admit up-front that lazy minds annoy me; therefore I feel to apologise in advance for not taking the time to thoroughly learn PHP. My current and entire focus is getting my new business on its feet; I don't consider the few mods I require to warrant learning PHP at this point. Hence my reliance on fine folks like yourself, which I greatly appreciate :-)&#60;/p&#62;
&#60;p&#62;Ok, back to the code:&#60;/p&#62;
&#60;p&#62;I really like what the above code has done so far. But now that I've seen the outcome I wonder would you consider tweaking it to do the following:&#60;/p&#62;
&#60;p&#62;The outcome of the above code looks like this (i.e. Category view) - &#60;a href=&#34;http://edits.nosh-it-wood-fired-pizza.com.au/nosh-it-edits-blog/;&#34; rel=&#34;nofollow&#34;&#62;http://edits.nosh-it-wood-fired-pizza.com.au/nosh-it-edits-blog/;&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Is it possible to get it to present the post excerpts like this (Blog landing view) - &#60;a href=&#34;http://edits.nosh-it-wood-fired-pizza.com.au/&#34; rel=&#34;nofollow&#34;&#62;http://edits.nosh-it-wood-fired-pizza.com.au/&#60;/a&#62; , whilst still filtering and listing by Category?&#60;/p&#62;
&#60;p&#62;Many thanks for your consideration.&#60;/p&#62;
&#60;p&#62;Regards&#60;/p&#62;
&#60;p&#62;Stephen Glanville
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Posts inside the Pages and subpages"</title>
<link>http://themeshaper.com/forums/topic/posts-inside-the-pages-and-subpages#post-6984</link>
<pubDate>Thu, 08 Oct 2009 00:54:59 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">6984@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;No you shouldn't use the last bit I posted. It doesnt work properly and I'm tired of messing with it... maybe Chris will have some insight. &#60;/p&#62;
&#60;p&#62;I'm glad to hear you're studying php  :)    I noticed earlier that your site is a .br domain. Here is the only PHP resource that I use constantly and its localized in Brazilian Portuguese &#60;a href=&#34;http://www.php.net/manual/pt_BR/getting-started.php&#34; rel=&#34;nofollow&#34;&#62;http://www.php.net/manual/pt_BR/getting-started.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>

</channel>
</rss>
