<?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: mace2000</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 01:52:46 +0000</pubDate>

<item>
<title>gino on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-19572</link>
<pubDate>Tue, 08 Mar 2011 15:31:42 +0000</pubDate>
<dc:creator>gino</dc:creator>
<guid isPermaLink="false">19572@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Helga&#60;/p&#62;
&#60;p&#62;I have only really just started using hook and filters but &#60;a href=&#34;http://visualizing.thematic4you.com/&#34; rel=&#34;nofollow&#34;&#62;http://visualizing.thematic4you.com/&#60;/a&#62; is very useful.&#60;/p&#62;
&#60;p&#62;Cheers&#60;/p&#62;
&#60;p&#62;Gino
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-19571</link>
<pubDate>Tue, 08 Mar 2011 15:24:14 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">19571@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;take a look at:&#60;br /&#62;
&#60;a href=&#34;http://visualizing.thematic4you.com/&#34; rel=&#34;nofollow&#34;&#62;http://visualizing.thematic4you.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;you can see the hooks of where you'd want to put stuff.  to wrap up #primary you'd open at thematic_abovemainasides and close at thematic_betweenmainasides
&#60;/p&#62;</description>
</item>
<item>
<title>gino on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-19568</link>
<pubDate>Tue, 08 Mar 2011 15:12:35 +0000</pubDate>
<dc:creator>gino</dc:creator>
<guid isPermaLink="false">19568@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi guys&#60;/p&#62;
&#60;p&#62;I was wondering if anybody has fixed this.&#60;/p&#62;
&#60;p&#62;I am trying to do exactly the same thing- ie:create a div around the primary widget area but I have not cracked it yet.&#60;/p&#62;
&#60;p&#62;Hope someone has!&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Gino
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-10635</link>
<pubDate>Wed, 10 Mar 2010 13:24:55 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">10635@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Matthias,&#60;/p&#62;
&#60;p&#62;I'll provide a fixed version within the next days.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>mace2000 on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-10634</link>
<pubDate>Wed, 10 Mar 2010 13:14:39 +0000</pubDate>
<dc:creator>mace2000</dc:creator>
<guid isPermaLink="false">10634@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;thanks for your response. For the time beeing I did what you suggested above.&#60;/p&#62;
&#60;p&#62;It works great so far but still it would be nice to have a solution to remove and rebuild the functions within the child theme.&#60;/p&#62;
&#60;p&#62;Thanks and best regards,&#60;br /&#62;
Matthias
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-10587</link>
<pubDate>Tue, 09 Mar 2010 11:41:06 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">10587@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Matthias,&#60;/p&#62;
&#60;p&#62;think I missed something in my code. Currently you can filter the HTML code created by &#60;code&#62;thematic_before_widget_area()&#60;/code&#62;, but you can't rebuild it.&#60;/p&#62;
&#60;p&#62;You could wrap an unconditional div around every &#60;code&#62;&#38;lt;ul class=&#38;quot;xoxo&#38;quot;&#38;gt;&#60;/code&#62;. Will need to change it to allow a conditional change.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>mace2000 on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-10569</link>
<pubDate>Mon, 08 Mar 2010 22:55:51 +0000</pubDate>
<dc:creator>mace2000</dc:creator>
<guid isPermaLink="false">10569@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;how can I add another div around every &#38;lt;ul class=&#34;xoxo&#34;&#38;gt; without touching the widgets-extensions.php file? Can I remove the filters in my child themes function.php and build two new functions to create the opening and closing markup? I know it would work to edit these functions in the widgets-extensions.php but I want to solve this problem via my child theme.&#60;/p&#62;
&#60;p&#62;Matthias
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6708</link>
<pubDate>Thu, 24 Sep 2009 22:13:43 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">6708@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;You might try the latest SVN revision. With this new version you can filter the markup wrapping each widget. Using a filter you can add whatever is needed.&#60;/p&#62;
&#60;p&#62;There are two functions responsible for the markup around the widgets:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// this function returns the opening CSS markup for the widget area
function thematic_before_widget_area($hook) {
	$content =  &#38;quot;\n&#38;quot;;
	if ($hook == &#38;#39;primary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;div id=&#38;quot;primary&#38;quot; class=&#38;quot;aside main-aside&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
	} elseif ($hook == &#38;#39;secondary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;div id=&#38;quot;secondary&#38;quot; class=&#38;quot;aside main-aside&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
	} elseif ($hook == &#38;#39;1st-subsidiary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;div id=&#38;quot;first&#38;quot; class=&#38;quot;aside sub-aside&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
	} elseif ($hook == &#38;#39;2nd-subsidiary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;div id=&#38;quot;second&#38;quot; class=&#38;quot;aside sub-aside&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
	} elseif ($hook == &#38;#39;3rd-subsidiary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;div id=&#38;quot;third&#38;quot; class=&#38;quot;aside sub-aside&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
	} else {
		$content .= &#38;#39;&#38;lt;div id=&#38;quot;&#38;#39; . $hook . &#38;#39;&#38;quot; class=&#38;quot;aside&#38;quot;&#38;gt;&#38;#39; .&#38;quot;\n&#38;quot;;
	}
	$content .= &#38;quot;\t&#38;quot; . &#38;#39;&#38;lt;ul class=&#38;quot;xoxo&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
	return apply_filters(&#38;#39;thematic_before_widget_area&#38;#39;, $content);
}

// this function returns the clossing CSS markup for the widget area
function thematic_after_widget_area($hook) {
	$content = &#38;quot;\n&#38;quot; . &#38;quot;\t&#38;quot; . &#38;#39;&#38;#39; .&#38;quot;\n&#38;quot;;
	if ($hook == &#38;#39;primary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- #primary .aside --&#38;gt;&#38;#39; .&#38;quot;\n&#38;quot;;
	} elseif ($hook == &#38;#39;secondary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- #secondary .aside --&#38;gt;&#38;#39; .&#38;quot;\n&#38;quot;;
	} elseif ($hook == &#38;#39;1st-subsidiary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- #first .aside --&#38;gt;&#38;#39; .&#38;quot;\n&#38;quot;;
	} elseif ($hook == &#38;#39;2nd-subsidiary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- #second .aside --&#38;gt;&#38;#39; .&#38;quot;\n&#38;quot;;
	} elseif ($hook == &#38;#39;3rd-subsidiary-aside&#38;#39;) {
		$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- #third .aside --&#38;gt;&#38;#39; .&#38;quot;\n&#38;quot;;
	} else {
		$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- #&#38;#39; . $hook . &#38;#39; .aside --&#38;gt;&#38;#39; .&#38;quot;\n&#38;quot;;
	}
	return apply_filters(&#38;#39;thematic_after_widget_area&#38;#39;, $content);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If you could provide some more details 'bout the markup you want to add, I can show you how to create the two needed filters.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6676</link>
<pubDate>Wed, 23 Sep 2009 14:22:19 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">6676@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm not sure exactly what you're trying to do without seeing what the code you want to add is and where it's to be added. Here is how you would go about registering a new sidebar and adding it in to your child theme. In this example we'll be adding a widget to the &#60;code&#62;above_mainasides&#60;/code&#62; hook.  This allows you total control over the markup to insert whatever code you need. I've added classes in this example that generally follow thematic's methodology. If you remove them be warned that the layout will likely go wonky for lack of styling but you probably can work that out.&#60;br /&#62;
I'm not sure how to instruct you to filter the existing thematic_widget_areas in light of new changes coming to that area of the framework.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function register_my_widget_area() {
	if ( !function_exists(&#38;#39;register_sidebars&#38;#39;) )
		return;
	// Register Widgetized area
   	 register_sidebar(array(
       	&#38;#39;name&#38;#39; =&#38;gt; &#38;#39;Bovine Aside&#38;#39;,
       	&#38;#39;id&#38;#39; =&#38;gt; &#38;#39;bovine_aside&#38;#39;,
       	&#38;#39;before_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;li id=&#38;quot;%1$s&#38;quot; class=&#38;quot;widgetcontainer %2$s&#38;quot;&#38;gt;&#38;#39;, // or add your own markup here
       	&#38;#39;after_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;/li&#38;gt;&#38;#39;,  // or add your own markup here
	&#38;#39;before_title&#38;#39; =&#38;gt; thematic_before_title(),  // or add your own markup here
	&#38;#39;after_title&#38;#39; =&#38;gt; thematic_after_title(), // or add your own markup here
   	 ));
}
add_action(&#38;#39;init&#38;#39;,&#38;#39;register_my_widget_area&#38;#39;);

function add_bovine_aside() {
	if ( is_sidebar_active(&#38;#39;bovine_aside&#38;#39;) ) { // will display only if there are active widgets for this sidebar
    	     echo &#38;#39;&#38;lt;div id=&#38;quot;bovine&#38;quot; class=&#38;quot;aside main-aside&#38;quot;&#38;gt;&#38;#39;. &#38;quot;\n&#38;quot; . &#38;#39;&#38;lt;ul class=&#38;quot;xoxo&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;; // or add your own markup here
   	     dynamic_sidebar(&#38;#39;bovine_aside&#38;#39;);
    	     echo &#38;#39;&#38;lt;/ul&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot; . &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- #bovine .aside --&#38;gt;&#38;#39;. &#38;quot;\n&#38;quot;; // or add your own markup here
	}
}
add_action(&#38;#39;thematic_abovemainasides&#38;#39;,&#38;#39;add_bovine_aside&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;hope it helps- good luck- I'm off to the beach so I probably wont check to see how this worked for you for a few days.
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6670</link>
<pubDate>Tue, 22 Sep 2009 22:41:16 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">6670@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Swamped right now but may I can throw something later.
&#60;/p&#62;</description>
</item>
<item>
<title>jbtank on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6662</link>
<pubDate>Tue, 22 Sep 2009 20:49:11 +0000</pubDate>
<dc:creator>jbtank</dc:creator>
<guid isPermaLink="false">6662@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey thanks! I do understand that generally, I'm not sure of how to specifically add the code I want so it appear around ANY widget in the dynamic toolbar. &#60;/p&#62;
&#60;p&#62;I suppose I could hardcode all of that into another sidebar and just call that sidebar, but it seems like there'd be a good way to add code so that it apply to whatever widgets are dropped into it. &#60;/p&#62;
&#60;p&#62;If you could point me to how to do that, I'd greatly appreciate it. I haven't been able to find anywhere that explains how to do that. If I missed it in those links, my apologies and thanks again.
&#60;/p&#62;</description>
</item>
<item>
<title>amygail on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6655</link>
<pubDate>Tue, 22 Sep 2009 18:54:11 +0000</pubDate>
<dc:creator>amygail</dc:creator>
<guid isPermaLink="false">6655@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;jbtank,&#60;/p&#62;
&#60;p&#62;Start here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/modify-wordpress-themes/&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/modify-wordpress-themes/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/custom-wordpress-hooks-filters-thematic-06/&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/custom-wordpress-hooks-filters-thematic-06/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This will give you a good understanding of how to work with child themes (it'll help you understand how to modify the files etc)
&#60;/p&#62;</description>
</item>
<item>
<title>jbtank on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6654</link>
<pubDate>Tue, 22 Sep 2009 18:34:41 +0000</pubDate>
<dc:creator>jbtank</dc:creator>
<guid isPermaLink="false">6654@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks for the reply. I may not understand this. Seems to me that the problem is that I don't know where to put my added markup so that it surrounds the lists generated by the scripts for Categories, Recent Posts, Recent Comments, and Twitter without actually putting it in the wp_categories file, etc. &#60;/p&#62;
&#60;p&#62;Do you know where the best place to add this markup would be within the Thematic framework (if possible)?
&#60;/p&#62;</description>
</item>
<item>
<title>jbtank on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6653</link>
<pubDate>Tue, 22 Sep 2009 18:34:41 +0000</pubDate>
<dc:creator>jbtank</dc:creator>
<guid isPermaLink="false">6653@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks for the reply. I may not understand this. Seems to me that the problem is that I don't know where to put my added markup so that it surrounds the lists generated by the scripts for Categories, Recent Posts, Recent Comments, and Twitter without actually putting it in the wp_categories file, etc. &#60;/p&#62;
&#60;p&#62;Do you know where the best place to add this markup would be within the Thematic framework (if possible)?
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6642</link>
<pubDate>Tue, 22 Sep 2009 13:09:08 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">6642@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;In order to do this I with the 0.9.5 release. I believe you'll have to register a new widget area(sidebar) including the markup you desire to enable the js youre working with. Then you'll have to hook it where you want it to display.
&#60;/p&#62;</description>
</item>
<item>
<title>jbtank on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6636</link>
<pubDate>Tue, 22 Sep 2009 00:57:07 +0000</pubDate>
<dc:creator>jbtank</dc:creator>
<guid isPermaLink="false">6636@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I should add that I'd like to keep the sidebar dynamic and have widget functionality. I just want to be able to add these divs to make the header link and the subcontents collapsible.
&#60;/p&#62;</description>
</item>
<item>
<title>jbtank on "Adding tags around WP generated code +Mootools"</title>
<link>http://themeshaper.com/forums/topic/adding-tags-around-wp-generated-code-mootools#post-6635</link>
<pubDate>Tue, 22 Sep 2009 00:43:26 +0000</pubDate>
<dc:creator>jbtank</dc:creator>
<guid isPermaLink="false">6635@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This is driving me crazy. I'm trying to use Mootools slide in the sidebar of my Thematic child theme. What I need to be able to do is add 2 divs around the lists generated by the dynamic sidebar. (in my case: Categories, Recent Posts, Recents Comments, and Twitter feed). FYI: these will be collapsible and expand when clicking on the header.&#60;/p&#62;
&#60;p&#62;Where/how would I add the divs/necessary code for these? I just don't know where or how to get into the dynamic toolbar in a sensible manner? Many thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
