Coder familiar with Wp? tell how to fix this please
If someone could please correct the syntax so it will do that I will be eternally grateful.
Thanks.
<code>
$sidebar_id = ( is_category() ) ? sanitize_title( get_cat_name( get_query_var( 'cat' ) ) ) . '-sidebar' :
'sidebar';
dynamic_sidebar( $sidebar_id );
</code>
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."