延长此行:
<?php if (is_page(array(\'page-one\', \'page-two\', \'page-three\',\'page-four\'))) $logo_image = \'subLogo.jpg\';
使用
|| is_category(array(\'cat-1\', \'cat-2\'))
例如,您可以得到:
<?php if (is_page(array(\'page-one\', \'page-two\', \'page-three\',\'page-four\')) || is_category(array(\'cat-1\', \'cat-2\')) ) $logo_image = \'subLogo.jpg\';
http://codex.wordpress.org/Function_Reference/is_category