<?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: Reo-ordering Thematic Page Structure</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Tue, 21 May 2013 15:18:45 +0000</pubDate>

<item>
<title>giantbonsai on "Reo-ordering Thematic Page Structure"</title>
<link>http://themeshaper.com/forums/topic/reo-ordering-thematic-page-structure#post-10853</link>
<pubDate>Fri, 19 Mar 2010 17:33:18 +0000</pubDate>
<dc:creator>giantbonsai</dc:creator>
<guid isPermaLink="false">10853@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I was able to accomplish my goal by adding an index.php file to my child theme based on this one from the Theme Shaper Tutorial: &#60;a href=&#34;http://code.google.com/p/your-wordpress-theme/source/browse/trunk/index.php&#34;&#62;http://code.google.com/p/your-wordpress-theme/source/browse/trunk/index.php&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;I modified it as follows:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php get_header(); ?&#38;gt;

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

&#38;lt;?php /* The Loop — with comments! */ ?&#38;gt;
&#38;lt;?php while ( have_posts() ) : the_post() ?&#38;gt;

&#38;lt;?php /* Create a div with a unique ID thanks to the_ID() and semantic classes with post_class() */ ?&#38;gt;
                                &#38;lt;div id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot; &#38;lt;?php post_class(); ?&#38;gt;&#38;gt;
&#38;lt;?php /* an h2 title */ ?&#38;gt;
                                        &#38;lt;h2 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink(); ?&#38;gt;&#38;quot; title=&#38;quot;&#38;lt;?php printf( __(&#38;#39;Permalink to %s&#38;#39;, &#38;#39;plasticarmy&#38;#39;), the_title_attribute(&#38;#39;echo=0&#38;#39;) ); ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;

&#38;lt;?php /* Microformatted, translatable post meta */ ?&#38;gt;
                                        &#38;lt;div class=&#38;quot;entry-meta&#38;quot;&#38;gt;
                                                &#38;lt;span class=&#38;quot;entry-date&#38;quot;&#38;gt;&#38;lt;abbr class=&#38;quot;published&#38;quot; title=&#38;quot;&#38;lt;?php the_time(&#38;#39;Y-m-d\TH:i:sO&#38;#39;) ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_time( get_option( &#38;#39;date_format&#38;#39; ) ); ?&#38;gt;&#38;lt;/abbr&#38;gt;&#38;lt;/span&#38;gt;
                                                &#38;lt;span class=&#38;quot;meta-sep&#38;quot;&#38;gt; &#124; &#38;lt;/span&#38;gt;
                                                &#38;lt;span class=&#38;quot;comments-link&#38;quot;&#38;gt;&#38;lt;?php comments_popup_link( __( &#38;#39;Leave a comment&#38;#39;, &#38;#39;plasticarmy&#38;#39; ), __( &#38;#39;1 Comment&#38;#39;, &#38;#39;plasticarmy&#38;#39; ), __( &#38;#39;% Comments&#38;#39;, &#38;#39;plasticarmy&#38;#39; ) ) ?&#38;gt;&#38;lt;/span&#38;gt;
                                                &#38;lt;?php edit_post_link( __( &#38;#39;Edit&#38;#39;, &#38;#39;plasticarmy&#38;#39; ), &#38;quot;&#38;lt;span class=\&#38;quot;meta-sep\&#38;quot;&#38;gt;&#124;&#38;lt;/span&#38;gt;\n\t\t\t\t\t\t&#38;lt;span class=\&#38;quot;edit-link\&#38;quot;&#38;gt;&#38;quot;, &#38;quot;&#38;lt;/span&#38;gt;\n\t\t\t\t\t&#38;quot; ) ?&#38;gt;
                                        &#38;lt;/div&#38;gt;&#38;lt;!-- .entry-meta --&#38;gt;

                                        &#38;lt;?php /* Microformatted category and tag links along with a comments link */ ?&#38;gt;
                                        &#38;lt;div class=&#38;quot;entry-utility&#38;quot;&#38;gt;
                                                &#38;lt;span class=&#38;quot;cat-links&#38;quot;&#38;gt;&#38;lt;span class=&#38;quot;entry-utility-prep entry-utility-prep-cat-links&#38;quot;&#38;gt;&#38;lt;?php _e( &#38;#39;Posted in &#38;#39;, &#38;#39;plasticarmy&#38;#39; ); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;?php echo get_the_category_list(&#38;#39;, &#38;#39;); ?&#38;gt;&#38;lt;/span&#38;gt;

                                                &#38;lt;?php edit_post_link( __( &#38;#39;Edit&#38;#39;, &#38;#39;plasticarmy&#38;#39; ), &#38;quot;&#38;lt;span class=\&#38;quot;meta-sep\&#38;quot;&#38;gt;&#124;&#38;lt;/span&#38;gt;\n\t\t\t\t\t\t&#38;lt;span class=\&#38;quot;edit-link\&#38;quot;&#38;gt;&#38;quot;, &#38;quot;&#38;lt;/span&#38;gt;\n\t\t\t\t\t\n&#38;quot; ) ?&#38;gt;
                                        &#38;lt;/div&#38;gt;&#38;lt;!-- #entry-utility --&#38;gt;
                                &#38;lt;/div&#38;gt;&#38;lt;!-- #post-&#38;lt;?php the_ID(); ?&#38;gt; --&#38;gt;

&#38;lt;?php /* The entry content */ ?&#38;gt;
                                        &#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;
&#38;lt;?php the_content( __( &#38;#39;Continue  &#38;lt;span class=&#38;quot;meta-nav&#38;quot;&#38;gt;&#38;amp;raquo;&#38;lt;/span&#38;gt;&#38;#39;, &#38;#39;plasticarmy&#38;#39; )  ); ?&#38;gt;

&#38;lt;?php wp_link_pages(&#38;#39;before=&#38;lt;div class=&#38;quot;page-link&#38;quot;&#38;gt;&#38;#39; . __( &#38;#39;Pages:&#38;#39;, &#38;#39;plasticarmy&#38;#39; ) . &#38;#39;&#38;#38;after=&#38;lt;/div&#38;gt;&#38;#39;) ?&#38;gt;

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

&#38;lt;?php /* Close up the post div */ ?&#38;gt;                    

&#38;lt;?php endwhile; ?&#38;gt;              

&#38;lt;?php global $wp_query; $total_pages = $wp_query-&#38;gt;max_num_pages; if ( $total_pages &#38;gt; 1 ) { ?&#38;gt;
                                &#38;lt;div id=&#38;quot;nav-below&#38;quot; class=&#38;quot;navigation&#38;quot;&#38;gt;
                                        &#38;lt;div class=&#38;quot;nav-previous&#38;quot;&#38;gt;&#38;lt;?php next_posts_link(__( &#38;#39;&#38;lt;span class=&#38;quot;meta-nav&#38;quot;&#38;gt;&#38;amp;laquo;&#38;lt;/span&#38;gt; Older posts&#38;#39;, &#38;#39;plasticarmy&#38;#39; )) ?&#38;gt;&#38;lt;/div&#38;gt;
                                        &#38;lt;div class=&#38;quot;nav-next&#38;quot;&#38;gt;&#38;lt;?php previous_posts_link(__( &#38;#39;Newer posts &#38;lt;span class=&#38;quot;meta-nav&#38;quot;&#38;gt;&#38;amp;raquo;&#38;lt;/span&#38;gt;&#38;#39;, &#38;#39;plasticarmy&#38;#39; )) ?&#38;gt;&#38;lt;/div&#38;gt;
                                &#38;lt;/div&#38;gt;&#38;lt;!-- #nav-below --&#38;gt;
&#38;lt;?php } ?&#38;gt;  

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

&#38;lt;?php get_sidebar(); ?&#38;gt;
&#38;lt;?php get_footer(); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>giantbonsai on "Reo-ordering Thematic Page Structure"</title>
<link>http://themeshaper.com/forums/topic/reo-ordering-thematic-page-structure#post-10790</link>
<pubDate>Wed, 17 Mar 2010 18:47:34 +0000</pubDate>
<dc:creator>giantbonsai</dc:creator>
<guid isPermaLink="false">10790@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I would like to reorder the thematic page structure so that the number of comments on a post displays next to the post date.&#60;/p&#62;
&#60;p&#62;Right now, I understand that the order is .entry_meta / .entry_content / .entry utility, and it is my understanding that .entry_meta holds the date, and .entry_utility holds the number of comments.&#60;/p&#62;
&#60;p&#62;Ideally, I will have the date, a vertical line (i.e. meta-sep) and then the number of comments that post has.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
