<?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: Displaying the Page title for the actual Blog</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 11:25:50 +0000</pubDate>

<item>
<title>Jamie Mitchell on "Displaying the Page title for the actual Blog"</title>
<link>http://themeshaper.com/forums/topic/displaying-the-page-title-for-the-actual-blog#post-9481</link>
<pubDate>Thu, 04 Feb 2010 04:53:41 +0000</pubDate>
<dc:creator>Jamie Mitchell</dc:creator>
<guid isPermaLink="false">9481@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;this is what i do (goes in your childtheme functions)&#60;/p&#62;
&#60;p&#62;it removes then moves the page title to a new location below the header, and the blog page gets called news&#60;/p&#62;
&#60;p&#62;this is from a project, so i'm sure you can modify it to suit, like move to above header, in the header or wherever....&#60;/p&#62;
&#60;p&#62;no need to use custom fields.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//Remove out title
function remove_title($posttitle) {
    if (is_page()) {
        return &#38;#39;&#38;#39;;
    } elseif (is_404()) {
        return &#38;#39;&#38;#39;;
    } else {
    		return $posttitle;
    }
}
add_filter(&#38;#39;thematic_postheader_posttitle&#38;#39;, &#38;#39;remove_title&#38;#39;);

//and add it back in how we want
function move_title() {
    global $id, $post, $authordata;
    if (is_page()) {
        echo (&#38;#39;&#38;lt;div id=&#38;quot;leader&#38;quot;&#38;gt;&#38;lt;div id=&#38;quot;leader-container&#38;quot;&#38;gt;&#38;lt;h1&#38;gt;&#38;#39; . get_the_title() . &#38;quot;&#38;lt;/h1&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;\n&#38;quot;);
    } elseif (is_404()) {
        echo (&#38;#39;&#38;lt;div id=&#38;quot;leader&#38;quot;&#38;gt;&#38;lt;div id=&#38;quot;leader-container&#38;quot;&#38;gt;&#38;lt;h1&#38;gt;&#38;#39; . __(&#38;#39;Not Found&#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;quot;&#38;lt;/h1&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;\n&#38;quot;);
    } elseif (is_home() &#124;&#124; is_single()) {
        echo (&#38;#39;&#38;lt;div id=&#38;quot;leader&#38;quot;&#38;gt;&#38;lt;div id=&#38;quot;leader-container&#38;quot;&#38;gt;&#38;lt;h1&#38;gt;News&#38;lt;/h1&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;#39;);
    }
}
add_action(&#38;#39;thematic_belowheader&#38;#39;, &#38;#39;move_title&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;styled something like this as a guide.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#leader{
    padding:10px 0;
}

#leader-container {
    margin:0 auto;
    overflow:hidden;
    position:relative;
    width:960px;
}

#leader-container h1 {
    /*do what you want here*/
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;J
&#60;/p&#62;</description>
</item>
<item>
<title>napalm on "Displaying the Page title for the actual Blog"</title>
<link>http://themeshaper.com/forums/topic/displaying-the-page-title-for-the-actual-blog#post-9466</link>
<pubDate>Wed, 03 Feb 2010 21:26:24 +0000</pubDate>
<dc:creator>napalm</dc:creator>
<guid isPermaLink="false">9466@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi All,&#60;br /&#62;
I've seem to run into a problem.&#60;/p&#62;
&#60;p&#62;My plan was to move move the title of the page into the header. So i created a custom field for each page (with the name i want to display) and then put this in the header &#38;lt;?php echo get_post_meta($post-&#38;gt;ID, 'page-title', true) ?&#38;gt;.&#60;/p&#62;
&#60;p&#62;The has worked perfect for all the pages except for the 'News' page , which I'm using as the actual blog. At the moment nothing displays in the header for the 'News' page or when you click on the post.&#60;/p&#62;
&#60;p&#62;Is there a way that I can say that , if a visitor is on the news page or reading a post from the news blog, to display 'News&#34; ?&#60;/p&#62;
&#60;p&#62;Is that possible ?&#60;br /&#62;
Thanks in advance.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
