functions.php conditional tag – only show in single.php? June 2, 2022 by Tarik Billa if ( is_single() && in_category('listings') ) {