Advertisement
Guest User

Untitled

a guest
Sep 15th, 2015
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <?php
  2.  
  3. require_once( get_template_directory() . '/mobile_detect/Mobile_Detect.php');
  4.  
  5. global $detect;
  6. if ( class_exists( 'Mobile_Detect' ) ):
  7.         $detect = new Mobile_Detect;
  8. endif;
  9.  
  10. if( $detect->isiOS() ) { $url = 'https://itunes.apple.com/au/app/stashd/id714814803?mt=8'; header( "Location: $url" ); exit(0); };
  11.  
  12. /*
  13. Template Name: Full Width APPSTORE
  14. */
  15.  
  16. get_header(); ?>
  17.  
  18. <div class="clear"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement