<?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: Headings</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 17:05:28 +0000</pubDate>

<item>
<title>helgatheviking on "Changing headers in Thematic"</title>
<link>http://themeshaper.com/forums/topic/changing-headers-in-thematic#post-19471</link>
<pubDate>Wed, 02 Mar 2011 22:48:31 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">19471@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;like everything w/ thematic it is a matter of finding what generates the content/markup/whatever that you want to change and then deciding determining the appropriate way to edit it- either using the override function, adding a function to a hook, removing a function from a hook, or with a filter.  i found the h3 tags are generated in widgets.php by the function thematic_before_title&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// CSS markup before the widget title
function thematic_before_title() {
	$content = &#38;quot;&#38;lt;h3 class=\&#38;quot;widgettitle\&#38;quot;&#38;gt;&#38;quot;;
	return apply_filters(&#38;#39;thematic_before_title&#38;#39;, $content);
}

// CSS markup after the widget title
function thematic_after_title() {
	$content = &#38;quot;&#38;lt;/h3&#38;gt;\n&#38;quot;;
	return apply_filters(&#38;#39;thematic_after_title&#38;#39;, $content);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;so to change this you'd need to add some filters to your child's functions.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function child_before_title(){
   return &#38;quot;&#38;lt;p class=\&#38;quot;widgettitle\&#38;quot;&#38;gt;&#38;quot;
}
add_filter(&#38;#39;thematic_before_title&#38;#39;,&#38;#39;child_before_title&#38;#39;);

function child_after_title(){
   return &#38;quot;&#38;lt;/p&#38;gt;\n&#38;quot;;
}
add_filter(&#38;#39;thematic_after_title&#38;#39;,&#38;#39;child_after_title&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;untested, but it seems like it ought to work
&#60;/p&#62;</description>
</item>
<item>
<title>johnflower on "Changing headers in Thematic"</title>
<link>http://themeshaper.com/forums/topic/changing-headers-in-thematic#post-19463</link>
<pubDate>Wed, 02 Mar 2011 20:40:31 +0000</pubDate>
<dc:creator>johnflower</dc:creator>
<guid isPermaLink="false">19463@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Wordpress does an awful job of using headings (h1, h2, etc.). The sidebar items should not be using h3 tags for headings. This should be done with styled p's or something.&#60;/p&#62;
&#60;p&#62;Is it possible to change the heading structure in the Thematic child theme functions file?&#60;br /&#62;
I do not understand PHP. Seriously, I tried. I am still trying; I still don't get it.&#60;br /&#62;
I found this piece of code on this forum:&#60;/p&#62;
&#60;p&#62;function remove_title() {&#60;br /&#62;
	remove_action('thematic_header','thematic_blogtitle',3);&#60;br /&#62;
}&#60;br /&#62;
add_action('init', 'remove_title');&#60;br /&#62;
function my_blogtitle() { ?&#38;gt;&#60;br /&#62;
	&#38;lt;h1&#38;gt;&#60;a href=&#34;http://www.example.com/&#34;&#62;&#38;lt;?php bloginfo('name'); ?&#38;gt;&#60;/a&#62;&#38;lt;/h1&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
add_action('thematic_header','my_blogtitle',3);&#60;/p&#62;
&#60;p&#62;It works wonders for the header, but I'm not sure how to make this same type of thing work on other headings, and other pages. For instance, the tagline of the site is also placed inside an h1 heading. This must change to a paragraph tag.&#60;/p&#62;
&#60;p&#62;The ideal is to have a per-page heading structure. I believe that each document should have a unique h1 heading, although I've settled for having the site's title in h1 at the top, with each document starting off with h2.
&#60;/p&#62;</description>
</item>
<item>
<title>genarog on "Customizing the Headings for SEO"</title>
<link>http://themeshaper.com/forums/topic/customizing-the-headings-for-seo#post-9494</link>
<pubDate>Thu, 04 Feb 2010 20:39:24 +0000</pubDate>
<dc:creator>genarog</dc:creator>
<guid isPermaLink="false">9494@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I need some help managing the headings - for SEO purposes. How can I assign h1,h2 and h3 headings this way?&#60;/p&#62;
&#60;p&#62;HOME PAGE&#60;br /&#62;
H1: For the blog title&#60;br /&#62;
H2: For the name of each Category&#60;br /&#62;
H3: For the title of each individual post shown on the home page&#60;/p&#62;
&#60;p&#62;CATEGORIES PAGES&#60;br /&#62;
H1: For the name of each Category&#60;br /&#62;
H2: For the title of each individual post show on the category page&#60;/p&#62;
&#60;p&#62;POST PAGES&#60;br /&#62;
H1: For the title of each individual post&#60;br /&#62;
H2: For the the name of the category the post belongs to (let's assume each post belongs to only one category)&#60;/p&#62;
&#60;p&#62;Thanks a lot.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
