gallery styles and organize function.php