Support » Plugins and Hacks » PHP Browser Detection » [Resolved] Single page mobile redirect

[Resolved] Single page mobile redirect

  • John


    Hello, I have been attempting to redirect just one of my WordPress pages for mobile users with the use of this plugin, however I have gotten stuck. This is the code I’m using so far:

    if ( is_mobile() && get_the_ID(2766) ) {

    I tried adding the code in header.php, as well as using the Code Snippets plugin so that it would go in functions.php. Did I mess the code up by chance? Or am I putting the code in the wrong place? I’m a relative newbie so patience with me would be appreciated 🙂



Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Single page mobile redirect’ is closed to new replies.
Skip to toolbar