<?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 User Favorites: colfelt</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Tue, 21 May 2013 14:10:08 +0000</pubDate>

<item>
<title>faeree on "Thematic Menus Demystified"</title>
<link>http://themeshaper.com/forums/topic/thematic-menus-demystified-1/page/5#post-27172</link>
<pubDate>Sun, 27 May 2012 20:46:43 +0000</pubDate>
<dc:creator>faeree</dc:creator>
<guid isPermaLink="false">27172@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;moved to own thread
&#60;/p&#62;</description>
</item>
<item>
<title>boerenooi on "Thematic Menus Demystified"</title>
<link>http://themeshaper.com/forums/topic/thematic-menus-demystified-1/page/5#post-27007</link>
<pubDate>Wed, 16 May 2012 11:46:21 +0000</pubDate>
<dc:creator>boerenooi</dc:creator>
<guid isPermaLink="false">27007@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi helgatheviking&#60;/p&#62;
&#60;p&#62;I'm having hard time getting this right. I need to put my menu into the start of my main container where the content is. How would I achieve this?&#60;/p&#62;
&#60;p&#62;Regards&#60;br /&#62;
B&#60;br /&#62;
xxx
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26960</link>
<pubDate>Fri, 11 May 2012 01:55:26 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">26960@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I went ahead and converted Thematic's CSS to be mobile-first and incorporated one of the 1140px adaptive layouts Kathy made (thanks). I created a Child Theme that is meant to be a very stripped down (bare bones) starting point for Responsive Web Design using Thematic. It also comes set up with things like Normalize.css, Modernizr, Fitvids.js, custom.js file, some handy jQuery clear fixes, and some other php snippets that are commonly used by me. &#60;/p&#62;
&#60;p&#62;If anyone wanted to check it out&#60;/p&#62;
&#60;p&#62;Child Theme Demo - &#60;a href=&#34;http://scottnix.com/themes?wptheme=Responsive%20Base&#34; rel=&#34;nofollow&#34;&#62;http://scottnix.com/themes?wptheme=Responsive%20Base&#60;/a&#62;&#60;br /&#62;
More Info - &#60;a href=&#34;http://scottnix.com/responsive-base-a-child-theme-for-thematic/&#34; rel=&#34;nofollow&#34;&#62;http://scottnix.com/responsive-base-a-child-theme-for-thematic/&#60;/a&#62;&#60;br /&#62;
Download - &#60;a href=&#34;https://github.com/scottnix/responsive-base&#34; rel=&#34;nofollow&#34;&#62;https://github.com/scottnix/responsive-base&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There are still some really minor issues, mostly things that could be better in a perfect world, but in my opinion it is good. ;P
&#60;/p&#62;</description>
</item>
<item>
<title>colfelt on "Thematic menus - wrapping the &#60;li&#62; in the &#60;a&#62;"</title>
<link>http://themeshaper.com/forums/topic/thematic-menus-wrapping-the-ltligt-in-the-ltagt#post-26701</link>
<pubDate>Sun, 29 Apr 2012 00:11:14 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26701@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;It's all on my local server right now. Nevermind, your suggestion was WAY better. As usual, I was looking for a complicated way to solve a simple problem. &#60;/p&#62;
&#60;p&#62;Displaying the A element as a block and giving it a width attribute is all that was required.&#60;/p&#62;
&#60;p&#62;Thanks again HtV!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Thematic menus - wrapping the &#60;li&#62; in the &#60;a&#62;"</title>
<link>http://themeshaper.com/forums/topic/thematic-menus-wrapping-the-ltligt-in-the-ltagt#post-26697</link>
<pubDate>Sat, 28 Apr 2012 17:54:35 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26697@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;do you have a link to the styling you're using / trying to achieve?  i think it is a mistake to invert the markup... you're probably better off wrapping the text in an extra span so&#60;br /&#62;
&#60;code&#62;&#38;lt;li&#38;gt;&#38;lt;a&#38;gt;&#38;lt;span&#38;gt;&#60;/code&#62; which should also be easier to create via a Walker.&#60;/p&#62;
&#60;p&#62;but maybe you just need to put display: block on the A element and then add your padding to that.
&#60;/p&#62;</description>
</item>
<item>
<title>colfelt on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26695</link>
<pubDate>Sat, 28 Apr 2012 14:05:13 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26695@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ahh, that old chestnut...
&#60;/p&#62;</description>
</item>
<item>
<title>colfelt on "Thematic menus - wrapping the &#60;li&#62; in the &#60;a&#62;"</title>
<link>http://themeshaper.com/forums/topic/thematic-menus-wrapping-the-ltligt-in-the-ltagt#post-26694</link>
<pubDate>Sat, 28 Apr 2012 13:55:40 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26694@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I read through ALL 5 pages of posts in Helga's epic Thematic Menus Demystified topic and the other topics I could find. But I *think* I have a new challenge for this forum.&#60;/p&#62;
&#60;p&#62;Is there a &#34;clever&#34; way to flip the order of the &#60;strong&#62;li&#60;/strong&#62; and &#60;strong&#62;a&#60;/strong&#62; tags output in wp_nav_menu? I know I could remove thematic_access and smash in my own hand-rolled menu in it's place. But that seems like a clumsy solution.&#60;/p&#62;
&#60;p&#62;Why do I want to do this? Well, I've re-oriented my menu so it's vertical. And I have created nice backgrounds on hover with CSS, so the list items are a bit like buttons. But, you still have to click on the actual word in the menu list item (which is what the anchor tag wraps) and you can't click the rest of the block list item that is highlighted on hover (because the &#60;strong&#62;a&#60;/strong&#62; doesn't wrap the &#60;strong&#62;li&#60;/strong&#62;). In short, it's a usability problem when something highlights that you can't click.&#60;/p&#62;
&#60;p&#62;Does anybody know how I would alter the code (via my own functions.php) that generates wp_nav_menu (it's in includes/nav-menu-template - function start_el - line 67)? to switch these tags around?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function start_el(&#38;#38;$output, $item, $depth, $args) {
		global $wp_query;
		$indent = ( $depth ) ? str_repeat( &#38;quot;\t&#38;quot;, $depth ) : &#38;#39;&#38;#39;;

		$class_names = $value = &#38;#39;&#38;#39;;

		$classes = empty( $item-&#38;gt;classes ) ? array() : (array) $item-&#38;gt;classes;
		$classes[] = &#38;#39;menu-item-&#38;#39; . $item-&#38;gt;ID;

		$class_names = join( &#38;#39; &#38;#39;, apply_filters( &#38;#39;nav_menu_css_class&#38;#39;, array_filter( $classes ), $item, $args ) );
		$class_names = &#38;#39; class=&#38;quot;&#38;#39; . esc_attr( $class_names ) . &#38;#39;&#38;quot;&#38;#39;;

		$id = apply_filters( &#38;#39;nav_menu_item_id&#38;#39;, &#38;#39;menu-item-&#38;#39;. $item-&#38;gt;ID, $item, $args );
		$id = strlen( $id ) ? &#38;#39; id=&#38;quot;&#38;#39; . esc_attr( $id ) . &#38;#39;&#38;quot;&#38;#39; : &#38;#39;&#38;#39;;

		$output .= $indent . &#38;#39;&#38;lt;li&#38;#39; . $id . $value . $class_names .&#38;#39;&#38;gt;&#38;#39;;

		$attributes  = ! empty( $item-&#38;gt;attr_title ) ? &#38;#39; title=&#38;quot;&#38;#39;  . esc_attr( $item-&#38;gt;attr_title ) .&#38;#39;&#38;quot;&#38;#39; : &#38;#39;&#38;#39;;
		$attributes .= ! empty( $item-&#38;gt;target )     ? &#38;#39; target=&#38;quot;&#38;#39; . esc_attr( $item-&#38;gt;target     ) .&#38;#39;&#38;quot;&#38;#39; : &#38;#39;&#38;#39;;
		$attributes .= ! empty( $item-&#38;gt;xfn )        ? &#38;#39; rel=&#38;quot;&#38;#39;    . esc_attr( $item-&#38;gt;xfn        ) .&#38;#39;&#38;quot;&#38;#39; : &#38;#39;&#38;#39;;
		$attributes .= ! empty( $item-&#38;gt;url )        ? &#38;#39; href=&#38;quot;&#38;#39;   . esc_attr( $item-&#38;gt;url        ) .&#38;#39;&#38;quot;&#38;#39; : &#38;#39;&#38;#39;;

		$item_output = $args-&#38;gt;before;
		$item_output .= &#38;#39;&#38;lt;a&#38;#39;. $attributes .&#38;#39;&#38;gt;&#38;#39;;
		$item_output .= $args-&#38;gt;link_before . apply_filters( &#38;#39;the_title&#38;#39;, $item-&#38;gt;title, $item-&#38;gt;ID ) . $args-&#38;gt;link_after;
		$item_output .= &#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
		$item_output .= $args-&#38;gt;after;

		$output .= apply_filters( &#38;#39;walker_nav_menu_start_el&#38;#39;, $item_output, $item, $depth, $args );
	}

	/**
	 * @see Walker::end_el()
	 * @since 3.0.0
	 *
	 * @param string $output Passed by reference. Used to append additional content.
	 * @param object $item Page data object. Not used.
	 * @param int $depth Depth of page. Not Used.
	 */
	function end_el(&#38;#38;$output, $item, $depth) {
		$output .= &#38;quot;&#38;lt;/li&#38;gt;\n&#38;quot;;
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'm not confident that I can create something that will work...
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26693</link>
<pubDate>Sat, 28 Apr 2012 13:52:41 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26693@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;no bacon is very unsatisfactory.  always more than 1 way to skin the cat b/c we could probably go back to what you started with&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function remove_thematic_categoryloop() {
	remove_action(&#38;#39;thematic_categoryloop&#38;#39;, &#38;#39;thematic_category_loop&#38;#39;);
}
add_action(&#38;#39;init&#38;#39;, &#38;#39;remove_thematic_categoryloop&#38;#39;);

function kia_categoy_loop(){
   if(is_category(&#38;#39;bacon&#38;#39;)){
       //bacon loop here
   } else {
       thematic_category_loop();
   }
add_action(&#38;#39;thematic_categoryloop&#38;#39;,&#38;#39;kia_category_loop&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>colfelt on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26692</link>
<pubDate>Sat, 28 Apr 2012 10:26:38 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26692@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ah, yes. That's better. I figured there must've been a walking donut there. That loop had completely disappeared up it's own rear. And it didn't have ANY bacon in it, which is, well, unsatisfactory.&#60;/p&#62;
&#60;p&#62;As ever, Helga, thank you. You're awesome. :)
&#60;/p&#62;</description>
</item>
<item>
<title>proto on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26691</link>
<pubDate>Sat, 28 Apr 2012 10:02:37 +0000</pubDate>
<dc:creator>proto</dc:creator>
<guid isPermaLink="false">26691@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;butters81 - good job on that site. Very nice!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26682</link>
<pubDate>Fri, 27 Apr 2012 14:22:21 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26682@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;my 978 and my 1140 ports should be adapted to be mobile-first.  if you ever want to take a crack at it that'd be awesome.
&#60;/p&#62;</description>
</item>
<item>
<title>butters81 on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26681</link>
<pubDate>Fri, 27 Apr 2012 12:39:45 +0000</pubDate>
<dc:creator>butters81</dc:creator>
<guid isPermaLink="false">26681@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@ScottNix @helgatheviking - you guys are awesome! Thanks so much for the Thematic responsive template &#38;#38; those doctype/head functions. Just finished &#60;a href=&#34;http://myhomelife.org.uk&#34;&#62;building a site&#60;/a&#62; based on Helga's 978gs port. Although with the mediaqueries within the stylesheet (to get IE6-8 working on a responsive layout, with respond.js), stylesheet ended up at 2,500 lines :/ I tried to implement responsive columns too, which turned into the bane of my life.&#60;/p&#62;
&#60;p&#62;I used another nicely built responsive template (&#60;a href=&#34;http://www.ejhansel.com/thematic-320-and-up-update-a-responsive-wordpress-child-theme/&#34;&#62;Thematic 320 &#38;#38; Up&#60;/a&#62;) on another project - I liked the fact that with that template, you created styles for the smallest layout (320px) and added styles as you increased the viewport size.&#60;/p&#62;
&#60;p&#62;Having a responsive thematic child theme would be amazing though.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26655</link>
<pubDate>Thu, 26 Apr 2012 01:50:56 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26655@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;not bacon!  :)  well i have to apologize b/c i think i messed up.  &#60;/p&#62;
&#60;p&#62;basically thematic does this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (function_exists(&#38;#39;childtheme_override_category_loop&#38;#39;))  {
	function thematic_category_loop() {
		childtheme_override_category_loop();
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;so if the override is defined then thematic's default becomes the override.  which means the original thematic_category_loop doesn't exist anymore and you just end up in a loop of loops.  &#60;/p&#62;
&#60;p&#62;my else statement&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;else { thematic_category_loop() }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;is just pointing to childtheme_override_category_loop which points to thematic_category_loop and on and on.  &#60;/p&#62;
&#60;p&#62;so the override should be&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_category_loop(){
  if(is_category(&#38;#39;bacon&#38;#39;)){
       //put your special bacon loop here
  } else {
      //put default category loop here
  }
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>colfelt on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26653</link>
<pubDate>Wed, 25 Apr 2012 23:04:04 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26653@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Yeah I'm using 0.9.8, but no joy. Ah well, the less streamlined version is working OK. It just bugs me that something that *should* work, doesn't. It's just not bacon.
&#60;/p&#62;</description>
</item>
<item>
<title>proto on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26648</link>
<pubDate>Wed, 25 Apr 2012 21:29:56 +0000</pubDate>
<dc:creator>proto</dc:creator>
<guid isPermaLink="false">26648@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks so much ScottNix,&#60;/p&#62;
&#60;p&#62;Appreciate your detailed answers, it makes things a lot clearer!&#60;/p&#62;
&#60;p&#62;I was curious about the viewport sizing so thanks for tackling that one, I'm not sure whether we should then be specifying a viewport for each screen size. The 978.gs site recommends doing this. I'll try experimenting with different viewport sizes.&#60;/p&#62;
&#60;p&#62;Thanks again :)
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26629</link>
<pubDate>Wed, 25 Apr 2012 13:26:49 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26629@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;can't see anything in your code, but first off make sure you are using this version of thematic:&#60;br /&#62;
developing.thematic4you.com/thematic-development-release/&#60;/p&#62;
&#60;p&#62;as there were some problems w/ the add_action that got resolved.
&#60;/p&#62;</description>
</item>
<item>
<title>colfelt on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26621</link>
<pubDate>Wed, 25 Apr 2012 05:17:41 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26621@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK... so I've been working with Helga's cleaner code. But, It's not playing nicely with me. I find that the two loops I have defined in it work fine. But then the normal thematic_category_loop doesn't seem to work. The categories that should run that loop don't seem to run any loop at all. So, it made me wonder, doesn't specifying childtheme_override_category_loop tell the original thematic_category_loop to go use childtheme_override_category_loop instead? Therefore, flying up it's own backside? Maybe it doesn't work that way. But it was the best explanation I could come up with to explain why the code below didn't work. Can you spot anything that looks like it would prevent the thematic_category_loop from working?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// remove the standard loop

function childtheme_override_category_loop(){

// get the name of the category and store it in the variable $catslug
  $cat = get_query_var(&#38;#39;cat&#38;#39;);
  $yourcat = get_category ($cat);
  $catslug = $yourcat-&#38;gt;slug;

if (is_category(&#38;#39;testimonials&#38;#39;)){
 query_posts(&#38;#39;category_name=&#38;#39;.$catslug);
 if (have_posts()) : while (have_posts()) : the_post();  ?&#38;gt;

&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/h1&#38;gt;
&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;&#38;lt;?php the_content(); ?&#38;gt;&#38;lt;/div&#38;gt;

&#38;lt;?php endwhile; endif;
}
elseif (is_category(&#38;#39;menus&#38;#39;)) {
// loop for the content within the current category,
// which has a custom field &#38;#39;intro_article&#38;#39; which is equal to 1
$handmade_query = new WP_Query(&#38;#39;category_name=&#38;#39;.$catslug.&#38;#39;&#38;#38;meta_key=intro_article&#38;#38;meta_value=1&#38;#39;);
while ($handmade_query-&#38;gt;have_posts()) : $handmade_query-&#38;gt;the_post();  ?&#38;gt;

&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/h1&#38;gt;
&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;&#38;lt;?php the_content(); ?&#38;gt;&#38;lt;/div&#38;gt;

&#38;lt;?php endwhile;
wp_reset_postdata(); ?&#38;gt;

&#38;lt;?php
// now loop to create an unordered list of the other posts in the category
// but which have a custom field &#38;#39;intro_article&#38;#39; which is equal to 0
?&#38;gt;
&#38;lt;ul id=&#38;quot;sub-nav-ul&#38;quot;&#38;gt;
&#38;lt;?php
 query_posts(&#38;#39;category_name=&#38;#39;.$catslug.&#38;#39;&#38;#38;meta_key=intro_article&#38;#38;meta_value=0&#38;#39;);
 if (have_posts()) : while (have_posts()) : the_post();  ?&#38;gt;

 &#38;lt;li id=&#38;quot;sub-nav&#38;quot; class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Permanent Link to &#38;lt;?php the_title_attribute(); ?&#38;gt;&#38;quot;&#38;gt; &#38;lt;?php the_post_thumbnail(array(70,70));?&#38;gt;&#38;lt;span&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;

&#38;lt;?php endwhile; endif; ?&#38;gt;&#38;lt;/ul&#38;gt; &#38;lt;?php
wp_reset_postdata();

} else {
      thematic_category_loop();
  }
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>colfelt on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26620</link>
<pubDate>Wed, 25 Apr 2012 04:58:26 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26620@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Cool beans. Thanks Helga!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26617</link>
<pubDate>Wed, 25 Apr 2012 03:46:28 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26617@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;you got it.  everything is better with bacon.  yes, look through the extensions folder.  you'll see plenty of places where it is set up to run childtheme_override_whatever in place of thematic_whatever.  the overrides are far more intuitive than filters, but not always the best solution.  usually depends on how much you need to change... or if there is a filter available.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26618</link>
<pubDate>Wed, 25 Apr 2012 03:46:28 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26618@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;you got it.  everything is better with bacon.  yes, look through the extensions folder.  you'll see plenty of places where it is set up to run childtheme_override_whatever in place of thematic_whatever.  the overrides are far more intuitive than filters, but not always the best solution.  usually depends on how much you need to change... or if there is a filter available.
&#60;/p&#62;</description>
</item>
<item>
<title>colfelt on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26613</link>
<pubDate>Wed, 25 Apr 2012 00:30:47 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26613@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Well, clearly that's much more elegant. And anything that has bacon in it has to be good, right?&#60;/p&#62;
&#60;p&#62;So, the function childtheme_override_whateverfunction. That can be used to? Let me guess, override any function you can find that says thematic_whateverfunction?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26598</link>
<pubDate>Tue, 24 Apr 2012 15:02:52 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26598@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;as a general set up what about:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_category_loop(){
  if(is_category(&#38;#39;bacon&#38;#39;)){
       //put your special bacon loop here
  } else {
      thematic_category_loop();
  }
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>colfelt on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26595</link>
<pubDate>Tue, 24 Apr 2012 12:48:02 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26595@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK... I think I have it. Just in case someone else may find this helpful I'm pasting the code below.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// remove the standard loop

function remove_thematic_categoryloop() {
	remove_action(&#38;#39;thematic_categoryloop&#38;#39;, &#38;#39;thematic_category_loop&#38;#39;);
}
add_action(&#38;#39;init&#38;#39;, &#38;#39;remove_thematic_categoryloop&#38;#39;);

// get the name of the category and store it in the variable $catslug
function add_handmade_intro_categoryloop() {
if (is_category( )) {
  $cat = get_query_var(&#38;#39;cat&#38;#39;);
  $yourcat = get_category ($cat);
  $catslug = $yourcat-&#38;gt;slug;

// if this isn&#38;#39;t in the menus category, do a normal loop
if (!is_category(&#38;#39;menus&#38;#39;)){
 query_posts(&#38;#39;category_name=&#38;#39;.$catslug);
 if (have_posts()) : while (have_posts()) : the_post();  ?&#38;gt;

 &#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/h1&#38;gt;
&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;&#38;lt;?php the_content(); ?&#38;gt;&#38;lt;/div&#38;gt;

&#38;lt;?php endwhile; endif;
wp_reset_postdata();
}

// if it is in the category &#38;#39;menus&#38;#39; then do these special loops
if (is_category(&#38;#39;menus&#38;#39;)) {

// loop for the content within the current category,
// which has a custom field &#38;#39;intro_article&#38;#39; which is equal to 1
$handmade_query = new WP_Query(&#38;#39;category_name=&#38;#39;.$catslug.&#38;#39;&#38;#38;meta_key=intro_article&#38;#38;meta_value=1&#38;#39;);
while ($handmade_query-&#38;gt;have_posts()) : $handmade_query-&#38;gt;the_post();  ?&#38;gt;

&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/h1&#38;gt;
&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;&#38;lt;?php the_content(); ?&#38;gt;&#38;lt;/div&#38;gt;

&#38;lt;?php endwhile;
wp_reset_postdata(); ?&#38;gt;

&#38;lt;?php
// now loop to create an unordered list of the other posts in the category
// but which have a custom field &#38;#39;intro_article&#38;#39; which is equal to 0
?&#38;gt;
&#38;lt;ul id=&#38;quot;sub-nav-ul&#38;quot;&#38;gt;
&#38;lt;?php
 query_posts(&#38;#39;category_name=&#38;#39;.$catslug.&#38;#39;&#38;#38;meta_key=intro_article&#38;#38;meta_value=0&#38;#39;);
 if (have_posts()) : while (have_posts()) : the_post();  ?&#38;gt;

 &#38;lt;li id=&#38;quot;sub-nav&#38;quot; class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Permanent Link to &#38;lt;?php the_title_attribute(); ?&#38;gt;&#38;quot;&#38;gt; &#38;lt;?php the_post_thumbnail(array(70,70));?&#38;gt;&#38;lt;span&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;

&#38;lt;?php endwhile; endif; ?&#38;gt;&#38;lt;/ul&#38;gt; &#38;lt;?php
}
}
}
add_action(&#38;#39;thematic_categoryloop&#38;#39;, &#38;#39;add_handmade_intro_categoryloop&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>colfelt on "a loop that runs only on one category archive"</title>
<link>http://themeshaper.com/forums/topic/a-loop-that-runs-only-on-one-category-archive#post-26591</link>
<pubDate>Tue, 24 Apr 2012 10:39:22 +0000</pubDate>
<dc:creator>colfelt</dc:creator>
<guid isPermaLink="false">26591@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I am trying to call a function/loop specific to one category archive page. What I've done, is to remove the standard loop within my child-theme's functions.php, then replaced it with my 'special' loop.&#60;/p&#62;
&#60;p&#62;So far, I have cracked getting that 'special' loop to work nicely. But what I want to do now, is to only run the function which rips out the normal loop when we are on the category archive of a particular category ('menus').&#60;/p&#62;
&#60;p&#62;Here's my code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// remove the standard loop
function remove_thematic_categoryloop() {
	remove_action(&#38;#39;thematic_categoryloop&#38;#39;, &#38;#39;thematic_category_loop&#38;#39;);
}
add_action(&#38;#39;init&#38;#39;, &#38;#39;remove_thematic_categoryloop&#38;#39;);

// get the name of the category and store it in the variable $catslug
function add_handmade_intro_categoryloop() {
if (is_category( )) {
  $cat = get_query_var(&#38;#39;cat&#38;#39;);
  $yourcat = get_category ($cat);
  $catslug = $yourcat-&#38;gt;slug;

// loop for the content within the current category,
// which has a custom field &#38;#39;intro_article&#38;#39; which is equal to 1
$handmade_query = new WP_Query(&#38;#39;category_name=&#38;#39;.$catslug.&#38;#39;&#38;#38;meta_key=intro_article&#38;#38;meta_value=1&#38;#39;);
while ($handmade_query-&#38;gt;have_posts()) : $handmade_query-&#38;gt;the_post();  ?&#38;gt;

&#38;lt;h1 class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/h1&#38;gt;
&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;&#38;lt;?php the_content(); ?&#38;gt;&#38;lt;/div&#38;gt;

&#38;lt;?php endwhile;
wp_reset_postdata(); ?&#38;gt;

&#38;lt;?php
// now loop to create an unordered list of the other posts in the category
// but which have a custom field &#38;#39;intro_article&#38;#39; which is equal to 0
?&#38;gt;
&#38;lt;ul id=&#38;quot;sub-nav-ul&#38;quot;&#38;gt;
&#38;lt;?php
 query_posts(&#38;#39;category_name=&#38;#39;.$catslug.&#38;#39;&#38;#38;meta_key=intro_article&#38;#38;meta_value=0&#38;#39;);
 if (have_posts()) : while (have_posts()) : the_post();  ?&#38;gt;

 &#38;lt;li id=&#38;quot;sub-nav&#38;quot; class=&#38;quot;entry-title&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Permanent Link to &#38;lt;?php the_title_attribute(); ?&#38;gt;&#38;quot;&#38;gt; &#38;lt;?php the_post_thumbnail(array(70,70));?&#38;gt;&#38;lt;span&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;

&#38;lt;?php endwhile; endif; ?&#38;gt;&#38;lt;/ul&#38;gt; &#38;lt;?php
}
}
add_action(&#38;#39;thematic_categoryloop&#38;#39;, &#38;#39;add_handmade_intro_categoryloop&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So, I've tried to put in some &#34;if (is_category('menus'))&#34; stuff in before the function, which didn't work... and I have subsequently hit a wall and need some inspiration. I only want to call these functions if the category is 'menus'...&#60;/p&#62;
&#60;p&#62;Can anybody help me get over this hump? it would save me some hair. Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26552</link>
<pubDate>Mon, 23 Apr 2012 03:32:51 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">26552@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;1) I don't know if I am qualified to answer this one, but it would be a pain in the ass to use a grid system that way. It is one thing to borrow the math and apply it to Thematic, but if you wanted to use the classes from the grid system, you might as well completely rebuild Thematic from scratch also, or add 20 new divs with hooks. ;P&#60;/p&#62;
&#60;p&#62;2)Conditional Classes are super simple, we are just adding it so only IE will read the classes based on versions utilizing conditional comments. It is way easier than it sound. Lets say IE6 and 7 are giving your problems and you need to add padding to both to fix it.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.lt-ie8 #wrapper { padding: 0; }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That CSS gets placed in your main CSS file, no need to add another &#34;IE Only&#34; stylesheet, just keep it all in one. The CSS says &#34;Less Than Internet Explorer 8, use #wrapper { padding: 0; }&#34;. It is super simple, you will see it used on a few modern frameworks, html5boilerplate/foundation.&#60;/p&#62;
&#60;p&#62;3)I try to be consistant when I say &#34;Faking HTML5&#34;, the whole HTML5 thing is kind of gimmicky in that a browser doesn't really care what kind of doctype  you feed it, so I just went with the HTML5 doctype, really I was after those conditional classes (for IE's) so we could target them since caching kills Thematics built in classes for browser type. The whole thing is the code just looks more modern with the HTML5Boilerplate.com header style.&#60;/p&#62;
&#60;p&#62;4) If you have your media queries set up correctly, you can use a snippet of javascript to force old IE's to be responsive. The one I have used is respond.js, works fine if you have them set up correctly. Kathy posted an article that suggested feeding old IE's a fixed width layout, I personally like this idea and am setting up my thematic theme to give IE a single column layout by doing something like this (using conditional classes).&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.lt-ie9 #branding, .lt-ie9 .menu, .lt-ie9 #main, .lt-ie9 #subsidiary, .lt-ie9 #siteinfo { width:760px; margin:0 auto; padding:0 20px; }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;boom, IE 6,7 and 8 done. ;P&#60;/p&#62;
&#60;p&#62;5) I don't really know anything about specifying viewport sizing. The one I posted just tells browsers to &#60;a href=&#34;http://opensourcehacker.com/2012/01/09/setting-mobile-browser-viewport-mobilizing-websites-with-responsive-design-and-html5-part-4/&#34;&#62;zoom in&#60;/a&#62; to the devices native screen width. I don't know a ton about it really other than it is on every boilerplate/front-end dev framework I have seen lately.&#60;/p&#62;
&#60;p&#62;6)I don't even know why you would have to dynamically do all that, what you are trying to do sounds way overcomplicated. Currently the responsive theme I am working on is one CSS file, I dunno why you would need multiples. :/
&#60;/p&#62;</description>
</item>
<item>
<title>proto on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26535</link>
<pubDate>Sun, 22 Apr 2012 07:21:51 +0000</pubDate>
<dc:creator>proto</dc:creator>
<guid isPermaLink="false">26535@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey All,&#60;/p&#62;
&#60;p&#62;Thanks for the all the great replies on here, I've seen some really useful tips. I've setup a temporary test page for Thematic and 978.gs here, a few questions if I may to make Thematic and 978.gs work together:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pixelwoo.org/978dynamiclayout/978demo.html&#34; rel=&#34;nofollow&#34;&#62;http://pixelwoo.org/978dynamiclayout/978demo.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I had a few questions I wondered if someone could help me with:&#60;/p&#62;
&#60;p&#62;1: If you look at the above demo, the containing div for the whole website I wasn't sure what to call the div that contained the whole website. If you look at the 978.gs files the div that contains the whole website is called &#34;layout-1378&#34;, &#34;layout-1218&#34; etc. How do I dynamically generate that part of the markup so that my website is contained by the correct div layout depending on the screen size? Shouldn't they have called that &#34;layout-container&#34; or something like that and then the relevant CSS is displayed (like the way col1 means 4 different things depending on the size you view it at?)&#60;/p&#62;
&#60;p&#62;Even when I make the layout dynamic by editing the css layout code so that the div 'layout' refers to each specific layout container as set out in the 1378, 1218, 978, 748, 300 files etc. It still doesn't center and column one sits by the side of the title div? See here the demo for what I mean, each layout is specified in the top of each css file. I deleted the number specified in the as the container layout CSS after the layout, eg layout-1318 became layout and layout-1218 became layout also so that layout meant all of the top level containers. It still isn't quite working though (see demo above), where am I going wrong please?&#60;/p&#62;
&#60;p&#62;2: ScottNix's brilliant work on the applying classes, does this mean that we can target IE 7-8 (our love to hate browsers) so that 978 and it's associated grids can work on those too? How does it work - do we have to include the css files again in a separate IE css file that when the class is displayed we tell the browser to fetch IE stylesheets?&#60;/p&#62;
&#60;p&#62;3: Just curious - why do we create a html 5 boilerplate - is the way to get 978.gs to work with Thematic? I know they'll be a good reason for this, just curious!&#60;/p&#62;
&#60;p&#62;4: On the 978.gs website it says something about using a Javascript plugin to recreate the media queries: &#34;Our demo functions on Internet Explorer via a quick jQuery plugin we wrote to simulate Media Query support.&#34; Assume this means using this plugin means that 978.gs and it's associated layouts can work with IE 6-8 with this plugin with just the files and Javascript?&#60;/p&#62;
&#60;p&#62;5: I understand that the viewport specifies the width of the layout (with some additional side padding for a little white space either side.  Eg for the 978.gs they recommend a &#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;meta name=&#38;quot;viewport&#38;quot; content=&#38;quot;width=1024&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Does that mean after each call to CSS in our head file we should specify a viewport: eg:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;link rel=&#38;quot;stylesheet&#38;quot; media=&#38;quot;all and (min-width: 978px)
and (max-width: 1217px)&#38;quot; href=&#38;quot;grid-978.css&#38;quot;&#38;gt;
&#38;lt;meta name=&#38;quot;viewport&#38;quot; content=&#38;quot;width=1024&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I see ScottNix already makes a reference to the viewport in his brilliant code, how do we get to specify each one of these?&#60;/p&#62;
&#60;p&#62;6: The 978.gs demo site says &#34;If	you	are	dynamically	changing	the	CSS with media queries, you probably want to prevent the viewport from being scaled:&#60;br /&#62;
&#38;lt;meta name=&#34;viewport&#34; content=&#34;initial-scale=1&#34; /&#38;gt;&#34;&#60;/p&#62;
&#60;p&#62;Do we have to include that after each call to a a CSS file in the head of our website, eg:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;link rel=&#38;quot;stylesheet&#38;quot; media=&#38;quot;all and (min-width: 0px) and
(max-width: 747px)&#38;quot; href=&#38;quot;grid-300.css&#38;quot;&#38;gt;
&#38;lt;meta name=&#38;quot;viewport&#38;quot; content=&#38;quot;width=348&#38;quot; /&#38;gt;
&#38;lt;meta name=&#38;quot;viewport&#38;quot; content=&#38;quot;initial-scale=1&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks for any of your help, hopefully this will help others that come after too :)
&#60;/p&#62;</description>
</item>
<item>
<title>Jagst3r15 on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26500</link>
<pubDate>Fri, 20 Apr 2012 23:27:38 +0000</pubDate>
<dc:creator>Jagst3r15</dc:creator>
<guid isPermaLink="false">26500@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i was gonna make one or ask someone to, so thanks
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26499</link>
<pubDate>Fri, 20 Apr 2012 22:41:36 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">26499@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I am working on it, at first I was trying to figure out a way to keep a lot of the files structurally intact, but I gave up on that. I am trying to condense and remove redundant CSS. Looks like it will have to all reside in a child theme like you mentioned.&#60;/p&#62;
&#60;p&#62;I am not happy about having to do something with the drop down menu. ;x&#60;/p&#62;
&#60;p&#62;I prepose a Thematic IRC channel. &#60;a href=&#34;http://webchat.freenode.net/?channels=thematic&#34; rel=&#34;nofollow&#34;&#62;http://webchat.freenode.net/?channels=thematic&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Jagst3r15 on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26498</link>
<pubDate>Fri, 20 Apr 2012 22:33:48 +0000</pubDate>
<dc:creator>Jagst3r15</dc:creator>
<guid isPermaLink="false">26498@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;yes but to slay it would be epic ;)
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "Thematic &#038; Implementing Responsive Web Design"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-implementing-responsive-web-design#post-26494</link>
<pubDate>Fri, 20 Apr 2012 20:37:27 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">26494@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thematic's stylesheet is a formidable opponent when it comes to fonts/line-heights. :(
&#60;/p&#62;</description>
</item>

</channel>
</rss>
