<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thematic Theme</title>
	<atom:link href="http://thematictheme.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thematictheme.com</link>
	<description>Another Awesome WordPress Theme</description>
	<lastBuildDate>Tue, 21 May 2013 20:48:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Thematic 1.0.4</title>
		<link>http://thematictheme.com/2013/04/09/thematic-1-0-4/</link>
		<comments>http://thematictheme.com/2013/04/09/thematic-1-0-4/#comments</comments>
		<pubDate>Tue, 09 Apr 2013 22:03:51 +0000</pubDate>
		<dc:creator>Gene (emhr)</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=3197</guid>
		<description><![CDATA[Version 1.0.4 has a number of improvements over the previous version. I18n updates to almost every locale. I&#8217;d like to extend a big Thanks to all our translators and validators! Middlesister and HelgatheViking were added to the contributors list on the readme  for their continued effort to make Thematic awesome. w00t! Thematic is now supported for [...]]]></description>
				<content:encoded><![CDATA[<p>Version 1.0.4 has a number of improvements over the previous version.</p>
<ul>
<li><span style="line-height: 13px">I18n updates to almost every locale. I&#8217;d like to extend a big Thanks to all our translators and validators!</span></li>
<li>Middlesister and HelgatheViking were added to the contributors list on the readme  for their continued effort to make Thematic awesome. w00t!</li>
<li>Thematic is now supported for use with WordPress version 3.4 and above. Please upgrade your WordPress to it&#8217;s current release.</li>
<li>The Legacy- Dynamic Class bugs were resolved from the 1.0.3.2 release</li>
<li>Props Scottnix for helping fix a warning in thematic_content() and cleaning up thematic_category_archives()</li>
<li>Props josephting for helpin restore thematic_validate_opt() to its intended functionality. Child themes can now override the options validation process effectively</li>
</ul>
<p>Find a bug&#8230; <a href="https://github.com/ThematicTheme/Thematic/issues?page=1&amp;state=open">report it here</a>. Fix a bug! Even better&#8230; give us a pull request at <a href="https://github.com/ThematicTheme/Thematic">github</a>. Need support? <a href="http://thematictheme.com/forums/">Get it here</a>.</p>
<p>This post is being published upon the version acceptance into the repo it may take a bit longer for the theme to appear in your WP&#8217;s auto-updater. If you want it early you can get version 1.0.4 <a href="http://wordpress.org/extend/themes/thematic/developers/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2013/04/09/thematic-1-0-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thematic 1.0.3.3-beta</title>
		<link>http://thematictheme.com/2012/11/05/thematic1-0-3-3-beta/</link>
		<comments>http://thematictheme.com/2012/11/05/thematic1-0-3-3-beta/#comments</comments>
		<pubDate>Mon, 05 Nov 2012 19:24:17 +0000</pubDate>
		<dc:creator>Gene (emhr)</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=2492</guid>
		<description><![CDATA[Thematic 1.0.3.3-beta is availaible on github for anyone interested in testing the latest developments. Any comments and issue discussion of the beta can be made at our github issue tracker There were dynamic class bugs introduced in Thematic version 1.o.3.1. The symptoms would be that your body and post class filters are not working properly. If [...]]]></description>
				<content:encoded><![CDATA[<p>Thematic 1.0.3.3-beta is availaible on <a href="https://github.com/ThematicTheme/Thematic/archive/1.0.3.3-beta.zip">github</a> for anyone interested in testing the latest developments. Any comments and issue discussion of the beta can be made at our <a href="https://github.com/organizations/ThematicTheme/dashboard/issues">github issue tracker</a>
<div class="tt_b_notice">There were dynamic class bugs introduced in Thematic version 1.o.3.1. The symptoms would be that your body and post class filters are not working properly. If you feel that you&#8217;ve been affected by them come by the <a href="http://thematictheme.com/forums">forums</a>. There is an active discussion of this issue <a href="http://thematictheme.com/forums/topic/upgrading-to-v-1-0-3-1-and-body_class-in-functions-php/page/2/#post-2487">here</a>.</div>
<p>Whats Changed:</p>
<ul>
<li>Fixed thematic_body_class() and thematic_post_class() to correctly filter body_class() and post_class()</li>
<li>Fixed nextpaged and excerpt classes in thematic_body_class() and thematic_post_class()</li>
<li>Removed _deprecated_function() from: thematic_body_class() thematic_post_class() childtheme_override_body_class() childtheme_override_post_class() due to issues with WP_DEBUG breaking the post div and body tag class attributes</li>
<li>Moved the thematic_bodyopen() functionality to thematic_body()</li>
<li>Deprecated thematic_bodyopen() because it was redundant</li>
<li>Moved thematic_body() and childtheme_override_thematic_body() from dynamic-classes.php to header-extensions.php</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/11/05/thematic1-0-3-3-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thematic 1.0.3.2 release notes</title>
		<link>http://thematictheme.com/2012/11/04/thematic-1-0-3-2-release-notes/</link>
		<comments>http://thematictheme.com/2012/11/04/thematic-1-0-3-2-release-notes/#comments</comments>
		<pubDate>Sun, 04 Nov 2012 16:33:04 +0000</pubDate>
		<dc:creator>Gene (emhr)</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=2465</guid>
		<description><![CDATA[Thematic version 1.0.3.2 has been released! You can get it from the WordPress theme repository. What changed: A parse error introduced in 1.0.3.1 that was generated from the links.php has been fixed. The latest language updates have been included. Thanks to all the translators and validators at translate.thematic.com The custom header functionality of the included [...]]]></description>
				<content:encoded><![CDATA[<p>Thematic version 1.0.3.2 has been released! You can get it from the <a href="http://wordpress.org/extend/themes/thematic">WordPress theme repository</a>.</p>
<p>What changed:</p>
<ul>
<li>A parse error introduced in 1.0.3.1 that was generated from the links.php has been fixed.</li>
<li>The latest language updates have been included. Thanks to all the translators and validators at translate.thematic.com</li>
<li>The custom header functionality of the included sample child theme has given some more attention.</li>
</ul>
<p>For anyone who wants to see exactly what changed, the unified diff from the previous version can be seen on <a href="http://themes.trac.wordpress.org/changeset?old_path=/thematic/1.0.3.1&amp;new_path=/thematic/1.0.3.2">Trac</a>. If you find yourself having trouble with the latest version com over to the <a href="http://thematictheme.com/forums">forums</a> to see if it&#8217;s being discussed and start a topic if you need help. If you find a bug our <a href="https://github.com/ThematicTheme/Thematic/issues?state=open">github issue tracker</a> is the place to report it.</p>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/11/04/thematic-1-0-3-2-release-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thematic 1.0.3.1 release notes</title>
		<link>http://thematictheme.com/2012/10/26/thematic-1-0-3-1-release-notes/</link>
		<comments>http://thematictheme.com/2012/10/26/thematic-1-0-3-1-release-notes/#comments</comments>
		<pubDate>Fri, 26 Oct 2012 18:16:10 +0000</pubDate>
		<dc:creator>middlesister</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[1.0.3]]></category>
		<category><![CDATA[localization]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=2272</guid>
		<description><![CDATA[Thematic 1.0.3.1 is now available from the WordPress theme repository. This release was focusing on improving the internationalization and localization, with a complete string overhaul and updated pot-file. The introduction of glotpress to manage translations have been a success, and several languages have already been updated and are included in this release. Many languages still [...]]]></description>
				<content:encoded><![CDATA[<p>Thematic 1.0.3.1 is now available from the <a href="http://wordpress.org/extend/themes/thematic" target="_blank">WordPress theme repository</a>. This release was focusing on improving the internationalization and localization, with a complete string overhaul and updated pot-file. The introduction of glotpress to <a href="http://translate.thematictheme.com/projects/thematic-framework/thematic-103" target="_blank">manage translations</a> have been a success, and several languages have already been updated and are included in this release. Many languages still need updating though, so if you speak a language where the translation is incomplete we would be happy if you helped us with translating.</p>
<p><img class="wp-image-2274 alignright" style="background-color: #fff;border: 1px solid #eee;padding: 15px" src="http://i0.wp.com/thematictheme.com/wp-content/uploads/2012/10/wpml_logo.png?resize=265%2C101" alt="WPML logo" data-recalc-dims="1" />Also, Thematic is now fully compatible with WPML multilingual plugin! They worked well together already before, but this release includes a XML config file for even better integration.</p>
<p>Other new things are that the sample child theme have been updated to include sample code for custom headers and background.</p>
<p>And that the functions thematic_body_class() and thematic_post_class() have been moved/removed to filtering the core filters body_class and post_class respectively. Adding the following code to your child theme will enable Thematic&#8217;s classes to filter into the body_class() and post_class() output.</p>
<pre class="brush: php; title: ; notranslate">add_theme_support('thematic_legacy_body_class');
add_theme_support('thematic_legacy_post_class');</pre>
<p>There are some more minor changes and bugfixes too, full changelog is in the readme file. Get the latest version from the <a href="http://wordpress.org/extend/themes/thematic/">WordPress theme repository</a>.</p>
<p>Report any bugs you find on the <a href="https://github.com/ThematicTheme/Thematic/issues" target="_blank">github issue tracker</a> and head over to the <a href="http://thematictheme.com/forums/">forums</a> if you are having any trouble with upgrading.</p>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/10/26/thematic-1-0-3-1-release-notes/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Updating strings for upcoming 1.0.3</title>
		<link>http://thematictheme.com/2012/07/30/updating-strings-for-upcoming-1-0-3/</link>
		<comments>http://thematictheme.com/2012/07/30/updating-strings-for-upcoming-1-0-3/#comments</comments>
		<pubDate>Mon, 30 Jul 2012 12:41:30 +0000</pubDate>
		<dc:creator>middlesister</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[1.0.3]]></category>
		<category><![CDATA[localization]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=1453</guid>
		<description><![CDATA[Update Oct 26th 2012: Thematic 1.0.3.1 has been released. Thanks to all that contributed. Keep the translations coming! The time has come folks! We have gone through all of the Thematic strings and optimized them. This means removing leading and trailing whitespaces, include punctuation for better support of rtl languages, and generally making sentences complete [...]]]></description>
				<content:encoded><![CDATA[<div class="tt_b_notice"><em>Update Oct 26th 2012: <a title="Thematic 1.0.3.1 release notes" href="http://thematictheme.com/2012/10/26/thematic-1-0-3-1-release-notes/">Thematic 1.0.3.1 has been released</a>. Thanks to all that contributed. Keep the translations coming!</em></div>
<p>The time has come folks! We have gone through all of the Thematic strings and optimized them. This means removing leading and trailing whitespaces, include punctuation for better support of rtl languages, and generally making sentences complete instead of broken up in seperate pieces. We have also removed html markup from the strings as far as possible.</p>
<p>There are also comments and contexts on some strings so that placeholders (all the strange %s-es) are explained. Hopefully it will help in cases where the translation would differ depending on the content of the placeholder, for example in languages with different genders depending on the objects.</p>
<p>All in all almost half of the strings have changed, and we now need help to make the translations up to date. The new pot-file is uploaded to the Thematic glotpress so head over to <a href="http://translate.thematictheme.com/projects/thematic-framework/thematic-103">translate.thematictheme.com</a> and start adding strings in your languages!</p>
<p>Consider this a first runthrough, we are mostly there but small details might change. There are a lot of strings and it&#8217;s quite possible that something slipped throught the cracks, so if you spot something weird create an <a href="https://github.com/ThematicTheme/Thematic/issues">issue on github</a> for it.</p>
<div class="tt_b_notice"><em>Note: If you prefer to use the traditional way of translating with poedit or similar software, the actual potfile can be found <del>on a branch on <a href="https://github.com/ThematicTheme/Thematic/blob/localization_revamp/library/languages/thematic.pot">github</a></del> included in the release. Though you certainly can use it as a base and send a pull request with your translation, we would prefer if you use glotpress since it makes our lives easier to keep the translations in one place. But your contribution is welcome no matter how you choose to do it!</em></div>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/07/30/updating-strings-for-upcoming-1-0-3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Thematic Development Moves to Github</title>
		<link>http://thematictheme.com/2012/07/26/thematic-development-moves-to-github/</link>
		<comments>http://thematictheme.com/2012/07/26/thematic-development-moves-to-github/#comments</comments>
		<pubDate>Thu, 26 Jul 2012 15:28:03 +0000</pubDate>
		<dc:creator>helgatheviking</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[1.0.3]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[github]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=1397</guid>
		<description><![CDATA[At the begging and insistence of myself and Middlesister, we&#8217;ve shifted all the Thematic development over to Github. Find us on the hub: https://github.com/ThematicTheme/Thematic Visually, the Github website makes me feel like we&#8217;re not coding in the dark ages any more, I personally find the git fork and pull idea more intuitive and inclusive, but the [...]]]></description>
				<content:encoded><![CDATA[<p>At the begging and insistence of myself and Middlesister, we&#8217;ve shifted all the Thematic development over to Github.</p>
<p>Find us on the hub: <a href="https://github.com/ThematicTheme/Thematic">https://github.com/ThematicTheme/Thematic</a></p>
<div id="attachment_1398" class="wp-caption alignleft" style="width: 310px"><a href="https://github.com/ThematicTheme/Thematic"><img class="size-medium wp-image-1398 " title="Thematic on Github" src="http://i0.wp.com/thematictheme.com/wp-content/uploads/2012/07/octocat.png?resize=300%2C300" alt="Github's octocat logo" data-recalc-dims="1" /></a><p class="wp-caption-text">Come on, Octocats are cute.</p></div>
<p>Visually, the Github website makes me feel like we&#8217;re not coding in the dark ages any more, I personally find the git fork and pull idea more intuitive and inclusive, but the biggest benefit (in my sometimes humble opinion) is that Github is infinitely more social.  There is a community of coders working on different things, and that&#8217;s what Thematic really needs right now.  We need more people chipping in or Thematic will get stagnant again.</p>
<p>The next major release for Thematic is going to be 1.0.3 and it is intended to be a major improvement to all the theme&#8217;s translatable strings, but this is going pretty slowly since those of us who work on it have been busy.  We need your help.  If you are already on github and understand how git works (I am still learning too!) then please Fork Us, read <a title="Wordpress Internationalization" href="ottopress.com/2012/internationalization-youre-probably-doing-it-wrong/" target="_blank">Otto&#8217;s definitive article on Internationalization</a> and just go through 1 or 2 files to improve all the strings, then send a pull request.</p>
<p>And I&#8217;m aware that getting set up with git is not the easiest.  If anybody would like to step up and write a tutorial on how to set up a fork that&#8217;d be amazing.  If you think git is a bit over your head, don&#8217;t worry you can still help out by reporting bugs at: <a title="Report Issues to Github" href="https://github.com/ThematicTheme/Thematic/issues" target="_blank">https://github.com/ThematicTheme/Thematic/issues</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/07/26/thematic-development-moves-to-github/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thematic 1.0.2 Release Notes</title>
		<link>http://thematictheme.com/2012/07/06/thematic-1-0-2-release-notes/</link>
		<comments>http://thematictheme.com/2012/07/06/thematic-1-0-2-release-notes/#comments</comments>
		<pubDate>Fri, 06 Jul 2012 17:09:39 +0000</pubDate>
		<dc:creator>Gene (emhr)</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=1124</guid>
		<description><![CDATA[Thematic 1.0.2 has been available in the WordPress Theme Repository for about a week now and a few bugs have been reported in the forums. The title tag not displaying properly and shortcodes not producing the expected output. I&#8217;m glad to say that thanks to helgatheviking the bugs have been patched and you can find [...]]]></description>
				<content:encoded><![CDATA[<p>Thematic 1.0.2 has been available in the WordPress Theme Repository for about a week now and a few bugs have been reported in the forums.</p>
<p>The title tag not displaying properly and shortcodes not producing the expected output. I&#8217;m glad to say that thanks to helgatheviking the bugs have been patched and you can find the officially theme reviewed, latest, and greatest Thematic 1.0.2.1 here:</p>
<p><a href="http://wordpress.org/extend/themes/download/thematic.1.0.2.1.zip">http://wordpress.org/extend/themes/download/thematic.1.0.2.1.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/07/06/thematic-1-0-2-release-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An easier way to translate Thematic</title>
		<link>http://thematictheme.com/2012/07/05/an-easier-way-to-translate-thematic/</link>
		<comments>http://thematictheme.com/2012/07/05/an-easier-way-to-translate-thematic/#comments</comments>
		<pubDate>Thu, 05 Jul 2012 11:49:02 +0000</pubDate>
		<dc:creator>middlesister</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[localization]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=1128</guid>
		<description><![CDATA[The main focus for the upcoming 1.0.3 release is to improve and optimize the internationalization and localization of Thematic. The internationalization part refers to simply enable things to be translated, whereas the localization is the actual process of translating to different languages. Both of these things needs some attention. There are many language files that come [...]]]></description>
				<content:encoded><![CDATA[<p>The main focus for the upcoming 1.0.3 release is to improve and optimize the internationalization and localization of Thematic. The internationalization part refers to simply enable things to be translated, whereas the localization is the actual process of translating to different languages. Both of these things needs some attention.</p>
<p>There are many language files that come with Thematic but not many of them is up to date. With the 1.0 update, the pot file used for translations became out of sync and was regenerated for 1.0.2. This means that the language files need to be updated again, or some strings that have not been translated yet will show up in english on your site.</p>
<p>Regarding the strings, there are some issues regarding leading and trailing spaces in the translatable strings that needs to be looked over. Some needs to include punctuation so to better support rtl languages. This would mean that when we are finished, the pot file will need to be regenerated again and all languages will become out of sync. Again. Plus, since many strings will change in the backend, there is a high probability of untranslated content showing up on your site until the languages files become updated.</p>
<p>To speed up the process of localization and hopefully make it easier for everyone, we have decided to install Glotpress. This is the same tool that is used by WordPress itself for handling translations. You can read about the basics at their own <a href="http://translate.wordpress.org/getting-started">Glotpress installation</a>. Translation of strings will be done through the web, powered by the community. Say hello to <a href="http://translate.thematictheme.com/">translate.thematictheme.com</a>!</p>
<p>In short, if you are a registered member of the forum, you are a contributor and can suggest translations for strings in any language. The current language files are loaded <a href="http://translate.thematictheme.com/projects/thematic-framework/thematic-102" target="_blank">here</a>. As you can see, not very many are up to date. You can log in with the same credentials as for the forum and start adding suggestions. A validator will then need to choose the correct translation if there are several suggestions and mark it as such. If you are a native speaker of a language and wish to become validator, talk to one of the admins. The same applies if you want to add a locale not yet in the list, tell us so we can add it.</p>
<p>When we are finished with the internationalization part, we will regenerate the pot file and give everyone a heads up so you can go to glotpress and start working on the localization part. Since we don&#8217;t speak all languages of the world, we are dependent on your contributions for this. Easiest way of contributing to Thematic!</p>
<p>So what happens when all is translated? Well in each language screen, there are export links at the bottom. You can at any given moment export your desired translation files. You will need to export twice, once for the .mo file and once for the .po file. Rename your files to locale.mo and locale.po (for example sv_SE.mo and sv_SE.po) and drop them in the library/languages folder of thematic.</p>
<p>This means that you are no longer tied to waiting for Thematic releases to get your translations. We will of course continue to include language files in the releases, but this will hopefully speed up the process and  make it easier for everyone to keep translations up to date.</p>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/07/05/an-easier-way-to-translate-thematic/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Improved separation of comments and pingbacks in Thematic 1.0.1</title>
		<link>http://thematictheme.com/2012/06/13/improved-separation-of-comments-and-pingbacks-in-thematic-1-0-1/</link>
		<comments>http://thematictheme.com/2012/06/13/improved-separation-of-comments-and-pingbacks-in-thematic-1-0-1/#comments</comments>
		<pubDate>Wed, 13 Jun 2012 19:37:36 +0000</pubDate>
		<dc:creator>middlesister</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=670</guid>
		<description><![CDATA[In previous versions of Thematic, the code to separate pingbacks and trackbacks has been based on this article by Ian Stewart. In that article he laments that comments and trackbacks are displayed in the same list by default and shows how to separate them in the comments template. The article was written in 2009, but [...]]]></description>
				<content:encoded><![CDATA[<p>In previous versions of Thematic, the code to separate pingbacks and trackbacks has been based on this <a title="The WordPress Theme Comments Template" href="http://themeshaper.com/2009/07/01/wordpress-theme-comments-template-tutorial/">article by Ian Stewart</a>. In that article he laments that comments and trackbacks are displayed in the same list by default and shows how to separate them in the comments template. The article was written in 2009, but the principle is common. Use a counter variable to count the number of comments and trackbacks and then make two separate loops to display them. The problem lies in that the paginate_comments_link() function only gets called on the comments list. There are no pagination links for the trackbacks.</p>
<p>Say you have 8 comments and 15 trackbacks, and you have set WordPress to display a maximum of 5 comments per page. That would give you 2 comment-pages and 3 trackback-pages, which is 13 responses = 5 pages altogether. But since we are separating the trackbacks from the pingbacks and the pagination links only were for the comments, the pagination would only show 2 pages and any trackback-pages beyond that would not be reachable. And on top of that, WordPress keeps track of the number of comment-pages internally so that when someone adds a comment they would be redirected to comment-page number 5 &#8211; which would be completely empty!</p>
<p>All of this has been addressed in the release of Thematic 1.0.1. For those of you who want to know how it&#8217;s done&#8230;</p>
<p><span id="more-670"></span></p>
<h2>Separating comments and trackbacks</h2>
<p>Let&#8217;s start with looking at some code. This snippet comes from the beginning of the comments loop.</p>
<pre class="brush: php; title: ; notranslate">// Collect the comments and pings
$thematic_comments = $wp_query-&gt;comments_by_type['comment'];
$thematic_pings = $wp_query-&gt;comments_by_type['pings'];

// Calculate the total number of each
$thematic_comment_count = count( $thematic_comments );
$thematic_ping_count = count( $thematic_pings );

// Get the page count for each
$thematic_comment_pages = get_comment_pages_count( $thematic_comments );
$thematic_ping_pages = get_comment_pages_count( $thematic_pings );

// Determine which is the greater pagination number between the two (comment,ping) paginations
$thematic_max_response_pages = ( $thematic_ping_pages &gt; $thematic_comment_pages ) ? $thematic_ping_pages : $thematic_comment_pages;

// Reset the query var to use our calculation for the maximum page (newest/oldest)
if ( $overridden_cpage )
set_query_var( 'cpage', 'newest' == get_option('default_comments_page') ? $thematic_comment_pages : 1 );</pre>
<p>First of all, there&#8217;s no need to have a counter in the comment loop to see how many comments and trackbacks you have. We can grab them directly from the query and count them. Pings are both trackbacks and pingbacks, they will be in the same list.</p>
<p>The <code>get_comment_pages_count()</code> function will calculate the number of pages for us, taking into account both the threading of the comments and the user seleted number of comments per page. We save the largest page number in a variable for later use.</p>
<p>The last bit is there to make sure the correct comment page is shown based on whether you have selected to show the newest or oldest comments first in your discussion settings. The <code>$overridden_cpage</code> variable is a global set by WordPress that decides which comment page to get by default.</p>
<p>Further down, we use our variable in the call to paginate_comments_link.</p>
<pre class="brush: php; title: ; notranslate">&lt;/pre&gt;
&lt;div&gt;&lt;/div&gt;
&lt;pre&gt;
 </pre>
<h2>One more thing</h2>
<p>Remember that WordPress keeps track of the number of comment-pages so that it sends new comments to the latest comment-page? We need to tell WordPress to re-calculate the comments-pages. Turns out we can filter get_comment_link.</p>
<pre class="brush: php; title: ; notranslate">function thematic_get_comment_link( $link , $comment, $args ) {
global  $wp_rewrite;

$args['type'] = 'comment';
$args['page'] = get_page_of_comment( $comment-&gt;comment_ID, $args );

if ( $wp_rewrite-&gt;using_permalinks() )
$link = user_trailingslashit( trailingslashit( get_permalink( $comment-&gt;comment_post_ID ) ) . 'comment-page-' . $args['page'], 'comment' );
else
$link = add_query_arg( 'cpage', $args['page'] , get_permalink( $comment-&gt;comment_post_ID ) );

return $link;
}
add_filter( 'get_comment_link', 'thematic_get_comment_link', 10, 3 );</pre>
<p>The important bit here is</p>
<pre class="brush: php; title: ; notranslate">$args['type'] = 'comment';</pre>
<p>This makes sure that the comment-paging calculations will be done on comments only (and not trackbacks) and send the visitor to the correct place. This will also send them to the correct comment-page after replying to someone else&#8217;s comment.</p>
<p>So there you have it! There is still room for some fine-tuning of details, but our testing indicates that it works like it should. Hopefully not too many people were affected by the previous behaviour, but for those who were this update will be very welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/06/13/improved-separation-of-comments-and-pingbacks-in-thematic-1-0-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Improved Script and Style Loading in Thematic 1.0.1</title>
		<link>http://thematictheme.com/2012/06/01/improved-script-style-loading-thematic-1-0/</link>
		<comments>http://thematictheme.com/2012/06/01/improved-script-style-loading-thematic-1-0/#comments</comments>
		<pubDate>Fri, 01 Jun 2012 20:17:23 +0000</pubDate>
		<dc:creator>helgatheviking</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://thematictheme.com/?p=379</guid>
		<description><![CDATA[After a long wait, Thematic 1.0.1 has been live in the WordPress repositories now for a couple of days now! Thematic 1.0 underwent some major changes to be compliant with WordPress Theme Review Guidelines and best practices as recommended by the WordPress Codex. The issue most likely to have effected your upgrade experience was the [...]]]></description>
				<content:encoded><![CDATA[<p>After a long wait, <a href="http://wordpress.org/extend/themes/thematic" target="_blank">Thematic 1.0.1</a> has been live in the WordPress repositories now for a couple of days now!</p>
<p>Thematic 1.0 underwent some major changes to be compliant with WordPress Theme Review Guidelines and best practices as recommended by the WordPress Codex. The issue most likely to have effected your upgrade experience was the switch to the proper enqueing of stylesheets and scripts using wp_enqueue_stylesheet and wp_enqueue_script respectively. This led to some changes to existing functions and the removal of a few old filters that didn&#8217;t make sense anymore given the new approach. You can see the massive changelog in the readme.txt file that comes with Thematic, but really, its huge, so it would be easy to miss the ones that are effecting you.</p>
<p>If you&#8217;ve been following along with WordPress development, it is likely that you were already using wp_enqueue_script and wp_enqueue_style and this upgrade didn&#8217;t cause you any trouble whatsoever. But, if the upgrade didn&#8217;t go smoothly for you, then it is quite likely one of the following changes is to blame and hopefully this article will help you sort it out.  We&#8217;re going to need to diagnose what went wrong based on what you used to be doing and what has changed.</p>
<h3>* Changed: Filter <code>thematic_dropdown_options</code>.</h3>
<p>Were you serving your own modified version of the thematic-dropdowns.js script to tweak the widths of the dropdowns, add arrows, or change the delay on the hover? If so, then you might have been filtering thematic_dropdown_options. This filter used to work like so:</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_dropdown_options() {
$newscript_uri = &quot;\n&quot; . '&lt;script type=&quot;text/javascript&quot; src=&quot;' . get_stylesheet_directory_uri() . ' /scripts/thematic-dropdowns.js&quot;&gt;&lt;/script&gt;' . &quot;\n&quot;;
 return $newscript_uri;
}
add_filter('thematic_dropdown_options','childtheme_dropdown_options');
</pre>
<p>in that you needed to return the whole script tag. That is no longer the case and now you need only to return the URL of the script like so:</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_dropdown_options() {
 $newscript_uri = get_stylesheet_directory_uri() . '/scripts/thematic-dropdowns.js';
 return $newscript_uri;
}
add_filter('thematic_dropdown_options','childtheme_dropdown_options');
</pre>
<h3>* Removed: Variable <code>thematic_use_superfish</code>. * Added: <code>add_theme_support('thematic_superfish')</code></h3>
<p>We&#8217;ve switched to using the WordPress function add_theme_support to determine whether to load the superfish scripts. Previously there was a filter called thematic_use_superfish, that you could target to remove the dropdown scripts if you didn&#8217;t need them.</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_no_superfish(){
 return FALSE; // we don't want any of your vegetables!
}
add_filter('thematic_use_superfish','childtheme_no_superfish');
</pre>
<p>or if you were being super elegant, perhaps you killed the dropdowns with this:</p>
<pre class="brush: php; title: ; notranslate">
add_filter('thematic_use_superfish','__return_FALSE');
</pre>
<p>But, we&#8217;ve ditched this filter in favor of using WordPress&#8217; theme support feature. It is an easy switch. If you don&#8217;t want to load any of the superfish, dropdown scripts then you should now do it this way: <a name="kill-dropdowns"></a></p>
<pre class="brush: php; title: ; notranslate">
function childtheme_no_superfish(){
 remove_theme_support('thematic_superfish');
}
add_action('thematic_child_init','childtheme_no_superfish');
</pre>
<p>Note that thematic_child_init is a new action hook, that is specifically placed to remove any theme supports added by Thematic.</p>
<h3>* Removed: Filter <code>thematic_head_scripts</code>.</h3>
<p>To be fair this one isn&#8217;t in the readme as far as I can see, but the problem is similar to the issue with thematic-dropdowns.js. Maybe you were using this filter to you maybe wanted to remove all the superfish and supersubs scripts because you don&#8217;t use dropdowns. Or perhaps you were adding your own scripts here.</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_scripts($scripts){
 return FALSE; //we don't want any of your vegetable scripts!
}
add_filter('thematic_head_scripts','childtheme_scripts');
</pre>
<p>or if you were adding a scripts of your own, maybe you did something like this:</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_scripts($scripts){
 $scripts .= &quot;\n&quot; . '&lt;script type=&quot;text/javascript&quot; src=&quot;' . get_stylesheet_directory_uri() . ' /scripts/thematic-dropdowns.js&quot;&gt;&lt;/script&gt;' . &quot;\n&quot;;
 return $scripts;
}
add_filter('thematic_head_scripts','childtheme_scripts');
</pre>
<p>As before, we are now using using wp_enqueue_script, so thematic_head_scripts() is now only a function that is added to the wp_enqueue_scripts hook. You can remove it entirely the same way you remove any action:</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_remove_scripts(){
 remove_action('wp_enqueue_scripts','thematic_head_scripts');
}
add_action('init','childtheme_remove_scripts');
</pre>
<p>or possibly you were using the override:</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_override_head_scripts(){
 // absolutely no bacon here
}
</pre>
<p>However, that is a bit of a nuclear bomb approach and will also wipe out an important script for handling comment replies, which you may or may not need. But thematic is super granular and you can use a scalpel to kill the drop downs scripts quite easily instead of using a viking war hammer with the <a href="#kill-dropdowns">remove_theme_support</a>scrap of code from earlier.</p>
<p>If instead, you need to load more scripts, then you should make like Thematic and use wp_enqueue_script.</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_scripts(){
 wp_enqueue_script('bacon-script', get_stylesheet_directory_uri . '/scripts/bacon.js', array('jquery'), '1.0', true);
 wp_enqueue_script('guacmole-script', get_stylesheet_directory_uri . '/scripts/guac.js', array('jquery'));
}
add_action('wp_enqueue_scripts','childtheme_scripts');
</pre>
<p>If you are wondering about why the two lines are different, you can read more about how to use wp_enqueue_script in the WordPress Codex:</p>
<h3>* Changed: Function <code>thematic_create_stylesheet</code> to <code>wp_enqueue_style</code>.<br />
* Removed: filter <code>thematic_create_stylesheet</code>.</h3>
<p>I saw this come up in the forum already. Someone was using the thematic_create_stylesheet filter to add extra stylesheets to the header. Something along the lines of :</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_create_stylesheet($style) {
   $style .= &quot;\n&quot; . '&lt;link rel='stylesheet' type='text/css' href=&quot;' . get_stylesheet_directory_uri() . ' /styles/blue-style.css&quot; /&gt;' . &quot;\n&quot;;
  return $style;
}
add_filter('thematic_create_stylesheet', 'childtheme_create_stylesheet');
</pre>
<p>Well that filter is gone like a bowl of my famous guacamole, so if you need to add more stylesheets, then we&#8217;ll have to add them the updated way&#8230; which by the by, will work better with any caching plugins you might be using and prevents the same style from being loaded twice (like if you were loading the supersized script&#8217;s css and then you had a plugin that was also trying to load the same stylesheet).</p>
<p>Thematic is now loading the main stylesheet like so:</p>
<pre class="brush: php; title: ; notranslate">
function thematic_create_stylesheet() {
 wp_enqueue_style( 'thematic_style', get_stylesheet_uri() );
}
add_action('wp_enqueue_scripts','thematic_create_stylesheet');
</pre>
<p>I can&#8217;t think of too many reasons why you&#8217;d ever need to change that. Your theme will always need a style.css in order to be a valid theme. But if you need to add more stylesheets, it is going to work just like enqueueing scripts except we use a slightly different function, <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_style" target="_blank">wp_enqueue_style</a>.</p>
<pre class="brush: php; title: ; notranslate">
function childtheme_create_stylesheet() {
 wp_enqueue_style( 'blue_style', get_stylesheet_directory_uri() . '/styles/blue.css' );
}
add_action('wp_enqueue_scripts','childtheme_create_stylesheet');
</pre>
<h3>Oh Noes! Something is still broken!</h3>
<p>Well, head to the support forums and start a new thread. Here is a tip for getting better support: do NOT just say &#8220;my menu won&#8217;t work&#8221;. This tells me and the other volunteers absolutely nothing and makes it impossible to help you. Be precise when describing exactly what you are trying to accomplish, what you are seeing/experiencing now, compare that to what you were experiencing before hand, and tell us anything that you might have already tried. Screenshots can be helpful as can links to your live site.</p>
<p><a title="Thematic Support Forums" href="http://thematictheme.com/forums/" target="_blank">Thematic Support Forums</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thematictheme.com/2012/06/01/improved-script-style-loading-thematic-1-0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
