How to automatically Request Desktop Site For Wordpress Site - php

i have a wordpress site with a responsive theme. My only problem is that music players don't work on mobile devices because it needs the user to first check "Request desktop site" on the browser settings. If i do check request desktop site on the settings, the format is still the responsive one, but the players work (Music can finally be played).
Is there any way i could set up my wordpress site(plugins, or configurations) such that the desktop version is automatically requested?
I wouldn't want my visitors to do other stuff before exploring the site. They might even go away before trying out the "Request desktop site" option.
Here's the theme i use : http://themeforest.net/item/remix-musicbandclubpartyevent-wp-theme/full_screen_preview/8473753
And my plugin for the music player : https://wordpress.org/plugins/grand-media/

Related

WordPress page not rendering for public on desktop

I have a wordpress woocommerce website using elementor plugin.
Website URL - https://cratuscart.com/
The website doesnt render on the desktop but it renderd on mobile and tablet. On desktop I only see a white screen and the basic HTML structure when I inspect.
The website only renders on the desktop when I am logged in to the admin.
This issue started when I moved the hosting to another webhost.
Can anyone suggest what can I do to fix it.

Android "Request Desktop Site" for HTML

I'm designing a website for both mobile and pc applications. The website however does not display certain key elements on android devices, so I have created a separate mobile website. Is there any way I can prevent the user form being able to navigate to the desktop site from their android phone (using HTML, JS, PHP, etc.)?
Check out this site:
http://mobiledetect.net
When you already have two different sites you simply add a php script with the classes and codes from PHPMobileDetection and if it detects a mobile device, then you redirect to the mobile site.
This also work, so far as I know, with the Chrome Feature "Request desktop version".

CDN caching for desktop and mobile sites

I have a PHP based web application and want to be able to offer mobile users the option to view the content of my site through a dedicated set of 'mobile friendly' pages. The URL structure for the mobile site is different to the desktop site.
The idea is that the first time a mobile user hits the index page, a regexp checks the user agent and if they are a mobile device they are given the option to select to view either the desktop or mobile version of the site.
The problem is that I am caching static HTML with my CDN provider (Cotendo). This means that when the cache is populated the mobile user is likely to see a cached version of the desktop site and bypassing the mobile/desktop option page. It also means that with an empty cache, a mobile user could force the CDN to store the cached version of the mobile/desktop option page!
One option would be to check the user agent at the CDN level and bypass cache retrieval for mobile users. However, a signification proportion of traffic to the site is driven by mobile users and serving non-cached content to mobile users is not currently an option.
At the CDN level, can you add a ?mobileoption querystring for mobile devices. Then only show the mobile/desktop option page when that querystring is present.

Build a mobile website without touching the original website

We just got a idea to show the power of mobile web to clients. So we were thinking to show clients website in mobile. So its obvious that we wont get access to client code or website. The client website is in PHP. So is there any external tool or application that we can use to configure the website on mobile, with out getting the actual code. Like we have Kurogo . But i found that the amount of effort needed in configuring it for a website is too much. So is there any simple tool which we can use. It should just handle images, links and basic content. Just take it and display properly in mobile
All requests made to example.com should be redirected to m.example.com and in m you provide the necessary web interface for mobile devices.
JQuery Mobile is very useful tool for building websites design for mobile.

Using wordpress as landing page that works with silverlight back end

I am web developer working on a wordpress landing page that will lead the user into an all silverlight page. Now my programmer says this can't be done and it's not supported php conflicts with silverlight/asp and so on.
My web address will be www.maddog.net... I need the wordpress and silverlight portions of the website to reside in the same URL.
One more note I had a a login developed for the wordpress site that will need to talk to the silverlight logon... is this possible?
Just have your PHP (wordpress) redirect to a .NET based subdomain application if need be. The silverlight elements need to be hosted by asp.net based pages so for example:
You should be able to set this up in IIS, PHP root level site and /Subsite as its own virtual directory hosting asp.net site.
User logs into php page, you can server transfer to next page with login details etc or any other way to want to pass the creds to the .NET page and automatically log the user in then display the silverlight component.

Categories