Wordpress Mobile Landing Page Question

2 replies
I bought a great mobile landing page from a guy here on WF. My problem is that my client has a huge website and we didn't want to add all the pages to the mobile site...just the top ones.

I was hoping that I could have subcategory buttons that would go back to the regular site.

I added the redirect script to the header.php file which was where I thought it should go. My problem is that the category buttons now also redirect to the mobile landing page. Nothing can get me back to the main site.

Can anyone tell me how to set this up so that I can link back to the desktop version? I know on a regular site I would just add the script to the index page. I can't figure out how to do that with wp.

Thanks!
Cheryl
#landing #mobile #page #question #wordpress
  • Profile picture of the author IM Godfather
    I'm not a huge wordpress guy, but maybe this can lead you to the right answer ...

    If the page #'s are limited couldn't you just add something like:

    if (is_page($post->ID == "whatever page that should be mobile")) {
    // put redirect script here ...
    }

    or do the opposite...
    {{ DiscussionBoard.errors[4112390].message }}
    • Profile picture of the author partyzone
      I will try that....Thanks!!!!
      {{ DiscussionBoard.errors[4124536].message }}

Trending Topics