<?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 Tag: wodpress</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Fri, 24 May 2013 08:02:10 +0000</pubDate>

<item>
<title>pelayo.mao on "thematic category loop in a new page template layout problem"</title>
<link>http://themeshaper.com/forums/topic/thematic-category-loop-in-a-new-page-template-layout-problem#post-13385</link>
<pubDate>Fri, 25 Jun 2010 17:37:24 +0000</pubDate>
<dc:creator>pelayo.mao</dc:creator>
<guid isPermaLink="false">13385@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ok, there was two divs without &#60;code&#62;&#38;lt;/div&#38;gt;&#60;/code&#62; tag.&#60;br /&#62;
Here is the correct code for a page template that shows page content and 3 posts of one category:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Template Name: EnterTheTemplateName
*/
?&#38;gt;
&#38;lt;?php

&#38;lt;?php

    // 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;div id=&#38;quot;content&#38;quot;&#38;gt;

            &#38;lt;?php

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

            the_post();

            ?&#38;gt;

			&#38;lt;div id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot; class=&#38;quot;&#38;lt;?php thematic_post_class() ?&#38;gt;&#38;quot;&#38;gt;

                &#38;lt;?php 

                // creating the post header
                thematic_postheader();

                ?&#38;gt;

				&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;

                    &#38;lt;?php

                    the_content();

                    wp_link_pages(&#38;quot;\t\t\t\t\t&#38;lt;div class=&#38;#39;page-link&#38;#39;&#38;gt;&#38;quot;.__(&#38;#39;Pages: &#38;#39;, &#38;#39;thematic&#38;#39;), &#38;quot;&#38;lt;/div&#38;gt;\n&#38;quot;, &#38;#39;number&#38;#39;);

                    edit_post_link(__(&#38;#39;Edit&#38;#39;, &#38;#39;thematic&#38;#39;),&#38;#39;&#38;lt;span class=&#38;quot;edit-link&#38;quot;&#38;gt;&#38;#39;,&#38;#39;&#38;lt;/span&#38;gt;&#38;#39;) ?&#38;gt;

				&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;!-- .post --&#38;gt;

&#38;lt;?php // Get the last 3 posts in the featured category.?&#38;gt;
  &#38;lt;?php query_posts(&#38;#39;category_name=enteryourcategory&#38;#38;showposts=3&#38;#39;); ?&#38;gt;
  &#38;lt;?php $my_query = new WP_Query(&#38;#39;category_name=enteryourcategory&#38;#38;showposts=3&#38;#39;); ?&#38;gt;

  &#38;lt;?php while ($my_query-&#38;gt;have_posts()) : $my_query-&#38;gt;the_post(); ?&#38;gt;

    			&#38;lt;?php thematic_postheader(); ?&#38;gt;
				&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt; 

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

                                       &#38;lt;?php $ids[]= $post-&#38;gt;ID; endwhile;?&#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;thematic&#38;#39;) . &#38;#39;&#38;#38;after=&#38;lt;/div&#38;gt;&#38;#39;) ?&#38;gt;
				&#38;lt;/div&#38;gt;
			&#38;lt;?php thematic_postfooter(); ?&#38;gt;

        &#38;lt;?php

        if ( get_post_custom_values(&#38;#39;comments&#38;#39;) )
            thematic_comments_template(); // Add a key/value of &#38;quot;comments&#38;quot; to enable comments on pages!

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

        ?&#38;gt;
&#38;lt;/div&#38;gt;&#38;lt;/div&#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 

    // 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;&#60;strong&#62;¿How can I change the format of the post titles only in this page and make it to show thumbnails of each post?&#60;/strong&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>pelayo.mao on "thematic category loop in a new page template layout problem"</title>
<link>http://themeshaper.com/forums/topic/thematic-category-loop-in-a-new-page-template-layout-problem#post-13362</link>
<pubDate>Thu, 24 Jun 2010 19:37:10 +0000</pubDate>
<dc:creator>pelayo.mao</dc:creator>
<guid isPermaLink="false">13362@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I´m trying to make a page that shows a little introduction and the last three posts of one category. I managed to make a custom php template (rrpp.php) and the posts show but the div position is a mess...&#60;/p&#62;
&#60;p&#62;I have three objetives:&#60;/p&#62;
&#60;p&#62;- Make the layout look ok.&#60;br /&#62;
- I want the posts showing images (the best would be a thumbnail) how?&#60;br /&#62;
- Id like to make the titles of those posts smaller. how?&#60;/p&#62;
&#60;p&#62;The code Ive done for the page template is this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Template Name: Relaciones Publicas
*/
?&#38;gt;
&#38;lt;?php

    // 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;div id=&#38;quot;content&#38;quot;&#38;gt;

            &#38;lt;?php

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

            the_post();

            ?&#38;gt;

			&#38;lt;div id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot; class=&#38;quot;&#38;lt;?php thematic_post_class() ?&#38;gt;&#38;quot;&#38;gt;

                &#38;lt;?php 

                // creating the post header
                thematic_postheader();

                ?&#38;gt;

				&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;

                    &#38;lt;?php

                    the_content();

                    edit_post_link(__(&#38;#39;Edit&#38;#39;, &#38;#39;thematic&#38;#39;),&#38;#39;&#38;lt;span class=&#38;quot;edit-link&#38;quot;&#38;gt;&#38;#39;,&#38;#39;&#38;lt;/span&#38;gt;&#38;#39;) ?&#38;gt;

				&#38;lt;/div&#38;gt;
			&#38;lt;/div&#38;gt;&#38;lt;!-- .post --&#38;gt;
&#38;lt;?php // Get the last 3 posts in the featured category.?&#38;gt;
  &#38;lt;?php query_posts(&#38;#39;category_name=relaciones-publicas&#38;#38;showposts=3&#38;#39;); ?&#38;gt;
  &#38;lt;?php $my_query = new WP_Query(&#38;#39;category_name=relaciones-publicas&#38;#38;showposts=3&#38;#39;); ?&#38;gt;

  &#38;lt;?php while ($my_query-&#38;gt;have_posts()) : $my_query-&#38;gt;the_post(); ?&#38;gt;

            &#38;lt;div id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot; class=&#38;quot;&#38;lt;?php thematic_post_class(); ?&#38;gt;&#38;quot;&#38;gt;
    			&#38;lt;?php thematic_postheader(); ?&#38;gt;
				&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt; 

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

                                       &#38;lt;?php $ids[]= $post-&#38;gt;ID; endwhile;?&#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;thematic&#38;#39;) . &#38;#39;&#38;#38;after=&#38;lt;/div&#38;gt;&#38;#39;) ?&#38;gt;
				&#38;lt;/div&#38;gt;
			&#38;lt;?php thematic_postfooter(); ?&#38;gt;

        &#38;lt;?php

        if ( get_post_custom_values(&#38;#39;comments&#38;#39;) )
            thematic_comments_template(); // Add a key/value of &#38;quot;comments&#38;quot; to enable comments on pages!

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

        ?&#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 

    // 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;The page template is &#60;a href=&#34;http://www.cartom.com/wp/?page_id=127&#34; rel=&#34;nofollow&#34;&#62;http://www.cartom.com/wp/?page_id=127&#60;/a&#62; (I cannot change url to beautiful ones, it doesnt work...)&#60;/p&#62;
&#60;p&#62;¿Why the layout mess?&#60;/p&#62;
&#60;p&#62;Thankyou
&#60;/p&#62;</description>
</item>

</channel>
</rss>
