Disable on multiple
-
Hello!
I know that the code below will remove ShiftNav on one page on my site:
add_action( ‘wp_head’ , ‘remove_shiftnav’ );
function remove_shiftnav(){
if( is_page( 1380 ) ){
remove_action( ‘wp_footer’, ‘shiftnav_direct_injection’ );
}
}How do I disable shiftnav on multiple pages though?
Thank you,
Josh
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Disable on multiple’ is closed to new replies.