I have managed to force child categories to use parent category template with this code:
<?php
if (array_search($_GET["cat"], array("0","1","8","9","10","11","12","13")) > 0)
{
get_sidebar('blog');
}
elseif (array_search($_GET["cat"], array("0","3","4")) > 0)
echo "something";
else
{
echo "all others";
echo $_GET["cat"];
get_sidebar('tere');
}
?>
It works splendid for categories but not for single posts that are under these child categories. How can i make those posts force to use their categories templates?