<?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: entry title</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sat, 25 May 2013 08:45:43 +0000</pubDate>

<item>
<title>minimal1210 on "H1 Tags Duplicated in Blog Description &#038; Entry Title"</title>
<link>http://themeshaper.com/forums/topic/h1-tags-duplicated-in-blog-description-038-entry-title#post-22111</link>
<pubDate>Thu, 30 Jun 2011 19:07:57 +0000</pubDate>
<dc:creator>minimal1210</dc:creator>
<guid isPermaLink="false">22111@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Yargh!  Thank you so much guys :-)  This sorted it!&#60;/p&#62;
&#60;p&#62;This topic is Resolved, but tell me please, where are the good resources to learn PHP for Wordpress?  It baffles me!
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "H1 Tags Duplicated in Blog Description &#038; Entry Title"</title>
<link>http://themeshaper.com/forums/topic/h1-tags-duplicated-in-blog-description-038-entry-title#post-22077</link>
<pubDate>Wed, 29 Jun 2011 18:16:34 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">22077@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Kathy, your example does work perfect and actually makes a ton of sense after messing with filters incorrectly. Surprisingly I haven't even had to filter too much stuff yet so I never have been forced to learn, but your example with a variable helps a ton to see how to correctly do it. ;)&#60;/p&#62;
&#60;p&#62;Seems like php is a lot like css, tons of different ways to do the same thing, but very few are really correct/flexible/lightweight, etc...
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "H1 Tags Duplicated in Blog Description &#038; Entry Title"</title>
<link>http://themeshaper.com/forums/topic/h1-tags-duplicated-in-blog-description-038-entry-title#post-22073</link>
<pubDate>Wed, 29 Jun 2011 14:33:16 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">22073@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@scott- the neat thing about filters is you only have to change the sections you want to change... as long as you pass the variable through to the function as a paramete (in the parens).  you don't need to copy over the entire function... in which case you may as well use the childtheme_override.  &#60;/p&#62;
&#60;p&#62;this should only change the entry title to H2 on a &#60;em&#62;static&#60;/em&#62; home page.  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function my_postheader_posttitle($posttitle) {
	    if (is_front_page() &#38;#38;&#38;#38; is_page()) {
	        $posttitle = &#38;#39;&#38;lt;h2 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;#39; . get_the_title() . &#38;quot;&#38;lt;/h2&#38;gt;\n&#38;quot;;
	    }
    return $posttitle;
}
add_filter(&#38;#39;thematic_postheader_posttitle&#38;#39;,&#38;#39;my_postheader_posttitle&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>ScottNix on "H1 Tags Duplicated in Blog Description &#038; Entry Title"</title>
<link>http://themeshaper.com/forums/topic/h1-tags-duplicated-in-blog-description-038-entry-title#post-22071</link>
<pubDate>Wed, 29 Jun 2011 03:06:43 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">22071@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hmm, try this, I have never had to use conditionals like this, but it seems to work fine... Page was overriding it, but if you put the if statement inside that if it somehow works. Odd.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_postheader_posttitle() {

	    if (is_single() &#124;&#124; is_page()) {
	        $posttitle = &#38;#39;&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;#39; . get_the_title() . &#38;quot;&#38;lt;/h1&#38;gt;\n&#38;quot;;
			 if (is_front_page()) {
        		$posttitle = &#38;#39;&#38;lt;h2 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;#39; . get_the_title() . &#38;quot;&#38;lt;/h2&#38;gt;\n&#38;quot;;
			}
	    } elseif (is_404()) {
	        $posttitle = &#38;#39;&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;#39; . __(&#38;#39;Not Found&#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;quot;&#38;lt;/h1&#38;gt;\n&#38;quot;;
	    } else {
	        $posttitle = &#38;#39;&#38;lt;h2 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;#39;;
	        $posttitle .= apply_filters(&#38;#39;the_permalink&#38;#39;, get_permalink());
	        $posttitle .= &#38;#39;&#38;quot; title=&#38;quot;&#38;#39;;
	        $posttitle .= __(&#38;#39;Permalink to &#38;#39;, &#38;#39;thematic&#38;#39;) . the_title_attribute(&#38;#39;echo=0&#38;#39;);
	        $posttitle .= &#38;#39;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;#39;;
	        $posttitle .= get_the_title();
	        $posttitle .= &#38;quot;&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;\n&#38;quot;;
		}
	return $posttitle;
}   

add_filter(&#38;#39;thematic_postheader_posttitle&#38;#39;,&#38;#39;childtheme_postheader_posttitle&#38;#39;)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Filters make me feel stupid sometimes, especially after using &#34;is_frontpage&#34; when I should have been doing &#34;is_front_page&#34;, so I probably had it and confused myself (again) for no reason. ;x
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "H1 Tags Duplicated in Blog Description &#038; Entry Title"</title>
<link>http://themeshaper.com/forums/topic/h1-tags-duplicated-in-blog-description-038-entry-title#post-22069</link>
<pubDate>Wed, 29 Jun 2011 01:34:19 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">22069@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This will convert that frontpage blog description to an h2.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// remove duplicate h1 tag from blog description when frontpage is set to a page and changes it to an h2.
function childtheme_override_blogdescription() {
// silence
}
function childtheme_blogdescription() {
	$blogdesc = &#38;#39;&#38;quot;blog-description&#38;quot;&#38;gt;&#38;#39; . get_bloginfo(&#38;#39;description&#38;#39;);
		if (is_home()) {
			echo &#38;quot;\t\t&#38;lt;h1 id=$blogdesc&#38;lt;/h1&#38;gt;\n\n&#38;quot;;
		} elseif (is_front_page()) {
	        echo &#38;quot;\t\t&#38;lt;h2 id=$blogdesc&#38;lt;/h2&#38;gt;\n\n&#38;quot;;
		} else {
			echo &#38;quot;\t\t&#38;lt;div id=$blogdesc&#38;lt;/div&#38;gt;\n\n&#38;quot;;
		}
}
add_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;childtheme_blogdescription&#38;#39;,5);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But I know you are really after converting the entry-title to h2 to keep better structure, let me see about that. ;)
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "H1 Tags Duplicated in Blog Description &#038; Entry Title"</title>
<link>http://themeshaper.com/forums/topic/h1-tags-duplicated-in-blog-description-038-entry-title#post-22068</link>
<pubDate>Wed, 29 Jun 2011 01:27:37 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">22068@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I need to learn to read, one second on the changing the h1 on blog description to a h2 instead, the code above just wraps it in a div.
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "H1 Tags Duplicated in Blog Description &#038; Entry Title"</title>
<link>http://themeshaper.com/forums/topic/h1-tags-duplicated-in-blog-description-038-entry-title#post-22067</link>
<pubDate>Wed, 29 Jun 2011 01:13:48 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">22067@http://themeshaper.com/forums/</guid>
<description>&#60;pre&#62;&#60;code&#62;// remove duplicate h1 tag from blog description when frontpage is set to a page.
function childtheme_override_blogdescription() {
// silence
}
function childtheme_blogdescription() {
	$blogdesc = &#38;#39;&#38;quot;blog-description&#38;quot;&#38;gt;&#38;#39; . get_bloginfo(&#38;#39;description&#38;#39;);
		if (is_home()) {
			echo &#38;quot;\t\t&#38;lt;h1 id=$blogdesc&#38;lt;/h1&#38;gt;\n\n&#38;quot;;
		} else {
			echo &#38;quot;\t\t&#38;lt;div id=$blogdesc&#38;lt;/div&#38;gt;\n\n&#38;quot;;
		}
}
add_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;childtheme_blogdescription&#38;#39;,5);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I don't really know php at all, so fair warning, it works though, but I always feel like I don't do it the most efficient way.&#60;/p&#62;
&#60;p&#62;Eventually I will figure out a way to get rid of that duplicate canonical tag too. Doubt it does anything negative for SEO but its f'in annoying. ;)&#60;/p&#62;
&#60;p&#62;Edited: it wasn't showing a h1 at all on &#34;blog - home&#34;, this is now corrected.
&#60;/p&#62;</description>
</item>
<item>
<title>minimal1210 on "H1 Tags Duplicated in Blog Description &#038; Entry Title"</title>
<link>http://themeshaper.com/forums/topic/h1-tags-duplicated-in-blog-description-038-entry-title#post-22064</link>
<pubDate>Tue, 28 Jun 2011 22:21:02 +0000</pubDate>
<dc:creator>minimal1210</dc:creator>
<guid isPermaLink="false">22064@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm tearing my hair out with this one...  I've found a few posts that touch on the subject, but none which have the answer I need.  &#60;/p&#62;
&#60;p&#62;The Problem:&#60;br /&#62;
On a static home page, Thematic (or Wordpress) wraps both the Blog Description and the Entry Title in &#38;lt;h1&#38;gt; tags.  Whilst this does not prevent anything working, it could be considered bad SEO practice.&#60;/p&#62;
&#60;p&#62;The Requirement:&#60;br /&#62;
I need to modify either one of these to a &#38;lt;h2&#38;gt; tag, by whatever jiggerypokery available.  Preferably, it would be the Entry Title and only on the home page however, as this seems to be the only place where this occurs.  For other pages, it is preferable to have the reverse.  So...&#60;/p&#62;
&#60;p&#62;Home Page - &#38;lt;h1&#38;gt;Blog Description&#38;lt;/h1&#38;gt;  &#38;lt;h2&#38;gt;Entry Title&#38;lt;/h2&#38;gt;&#60;br /&#62;
Other Pages - &#38;lt;div&#38;gt;Blog Description&#38;lt;/div&#38;gt;  &#38;lt;h1&#38;gt;Entry Title&#38;lt;/h1&#38;gt;&#60;/p&#62;
&#60;p&#62;Hope this makes sense - my site is at &#60;a href=&#34;http://macholdem.net&#34; rel=&#34;nofollow&#34;&#62;http://macholdem.net&#60;/a&#62; if you would like to see what I mean.  It's a poker site, so feel free to no follow or whatever - I'm not trying to promote, I just need help!&#60;/p&#62;
&#60;p&#62;Jim&#60;/p&#62;
&#60;p&#62;p.s.  Thanks a squillion again for Thematic ;-)
&#60;/p&#62;</description>
</item>
<item>
<title>brixon on "entry content image link"</title>
<link>http://themeshaper.com/forums/topic/entry-content-image-link#post-12615</link>
<pubDate>Wed, 26 May 2010 06:05:48 +0000</pubDate>
<dc:creator>brixon</dc:creator>
<guid isPermaLink="false">12615@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;hi guys,&#60;/p&#62;
&#60;p&#62;i cant find any code for href to image link in the content-extensions.php&#60;/p&#62;
&#60;p&#62;i'm trying to remove the link on the posted image.. any ideas.. maybe a filter??
&#60;/p&#62;</description>
</item>

</channel>
</rss>
