Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'theme_mod_jnews_mobile_logo', function ( $logo ) {
- if ( is_category() ) {
- return '';//your alternative logo
- }
- return $logo;
- } );
- add_filter( 'theme_mod_jnews_mobile_logo_retina', function ( $logo ) {
- if ( is_category() ) {
- return '';//your alternative logo
- }
- return $logo;
- } );
- add_filter( 'theme_mod_jnews_header_logo', function ( $logo ) {
- if ( is_category() ) {
- return '';//your alternative logo
- }
- return $logo;
- } );
- add_filter( 'theme_mod_jnews_header_logo_retina', function ( $logo ) {
- if ( is_category() ) {
- return '';//your alternative logo
- }
- return $logo;
- } );
- add_filter( 'theme_mod_jnews_sticky_menu_logo', function ( $logo ) {
- if ( is_category() ) {
- return '';//your alternative logo
- }
- return $logo;
- } );
- add_filter( 'theme_mod_jnews_sticky_menu_logo_retina', function ( $logo ) {
- if ( is_category() ) {
- return '';//your alternative logo
- }
- return $logo;
- } );
- add_filter( 'theme_mod_nav_menu_locations', function ( $menu ) {
- if ( is_category() ) {
- $menu = is_array( $menu ) ? $menu : array();
- $menu['navigation'] = 0;//the menu id you wish to assign to the category.
- }
- return $menu;
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement