ok- since the left sidebar (which i am presuming is the Primary Aside) is always on, we don't need to monkey with that. we then point the secondary aside to its new function. upon closer inspection i realized that you had an extra ['args'] in your attempt. that is not where the 'function' parameter lives (it lives at $content['Secondary Aside']['function'] ) , so your function was never being called. sharper eyes in the morning i guess. this actually means you never even GOT to the point of testing your conditional logic, b/c your function was never being swapped into place.
next we need to select some conditional logic. this is about as much info as you'll ever need on conditional logic:
http://codex.wordpress.org/Conditional_Tags
i know i've read some complaints on here before about the codex being confusing, but still that is where the information is.
you also might need a little primer on PHP logic if you aren't familar:
http://php.net/manual/en/language.operators.logical.php
now to "translate" those 2 posts into "show the secondary aside on anything that isn't a page"
the function that displays the aside by default has this bit of conditional logic:
if (is_active_sidebar('secondary-aside'))
which only tests if there is a widget in the defined widget area. well we want to run more tests... so we need to tack on an AND or the other way to write it && (i dont honestly know the difference between AND and && and they both probably work)
you don't want it on any "page". so that says... ok let's test for a page with wordpress's is_page() logic, and let's use the NOT ! modifier to make it negative
if (is_active_sidebar('secondary-aside') && !is_page() )
if your front page is your blog... which would satisfy is_home() then you are done and the above would work just fine. if your front page is an actual page and you'd like to still show the secondary aside then you must get a little trickier.
if (is_active_sidebar('secondary-aside') && (is_front_page() || !is_page() ) )
what has happened here? the vertical pipes mean OR. same as w/ the AND versus && i don't really know if there is much difference. if you are less familiar w/ php, OR is probably more readable. anyway, with parens i've grouped (is_front_page() || !is_page() ) so that if one of those is true, AND the sidebar is active, the secondary aside will display. is_front_page() is how you test for the page that has been set to be the static home page.
since i don't know whether your home page is static or a blog i gave both options.
i've left it with the assumption that you have a static home page, but you can scale it back if you aren't.
the full function:
//Point Secondary Aside to new function
function change_widgetized_area($content) {
$content['Secondary Aside']['function']='child_2nd_subsidiary_aside';
return $content;
}
add_filter('thematic_widgetized_areas', 'change_widgetized_area');
//adjust where secondary aside displays
function child_2nd_subsidiary_aside() {
if (is_active_sidebar('secondary-aside') && (is_front_page() || !is_page() ) ) { //adjust logic on this line
echo thematic_before_widget_area('secondary-aside');
dynamic_sidebar('secondary-aside');
echo thematic_after_widget_area('secondary-aside');
}
}
my wine fund lives at helgatheviking [at] gmail [dot] com . i'm partial to sweet whites, though a nice malbec goes well with chocolate.
let me know if you have any trouble, but i tested this locally and it works w/ thematic 0.9.8