Problem with multiple "if statement"
-
Hello,
I’m using this plugin in my custom theme and I can’t make it work in a multiple “if statement”… any ideas ?
<?php if(is_mobile() || is_tablet() || is_iphone($version)) { get_header('customheader'); get_template_part('mobile-page',get_post_format()); }else{?><?php get_header(); ?> //* Code for index.php *// }Is working only for mobile, table and iphone function seems dead !
Thank you !!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Problem with multiple "if statement"’ is closed to new replies.