WordPress.org

Ready to get started?Download WordPress

Forums

1 sites with a desktop theme and a mobile site (2 posts)

  1. kchbib
    Member
    Posted 1 year ago #

    Dear All,

    I have been scouring the web in order to find a proper solution for my needs,

    Basically I have a response design theme which doesn't respond 100% correctly on the mobile and tablets. Thus I would like to have a solution to have the same site showing the desktop theme when its being viewed with a desktop and a redirection to a mobile theme when viewed with mobile or tablet.
    I tried all of those mobile plugins and they do not deliver a real experience for the user.
    My interest is to use a real mobile theme (premium) to ensure a full customer experience.

    Help would be REALLY appreciated,

    With regards

    kchbib

  2. gabrielcastillo
    Member
    Posted 1 year ago #

    you could try this javascript mobile detect. Do a redirect to a mobile version of your site.

    jQuery(document).ready(function($){
    if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) {
     alert("Mobile devices are not supported at this time);
    return false;
    }
    });

Topic Closed

This topic has been closed to new replies.

About this Topic