I don’t think you can accomplish this using WordPress alone since there is no way (that I know) for WordPress (or PHP for that matter) to detect if it’s desktop or mobile. I’d imagine you could use some simple Javascript however to detect if you’re on mobile and then use window.location
to redirect to your subpage.
Related Posts:
- Create tabs inside Plugins Admin Page [closed]
- Remove action from plugin on other plugin
- WordPress Plugin Development In MVC Architecture, How?
- Allowing Two Developers Access to a Plugin on the WordPress.org Plugin Repository?
- How to build an API as a plugin
- WordPress wp-json API – Custom Post Type returns 403
- Create custom column in post table in wordpress
- Add .html extension to custom post type taxonomies
- How to load a new template page according to a particular URL?
- Translate wordpress plugin [closed]
- Styles and Scripts, Selectively enqueue across entire site
- Exclude custom post_type in sitemap generation?
- Removing WordPress Plugin Menu Item for a specific user
- The plugin generated x characters of unexpected output, $wpdb not defined
- How to add an attribute to the body tag with a plugin?
- Override the core function locate_template
- Use oEmbed in List Items
- Trigger renewal order emails for WooCommerce subscriptions for testing
- Set user ID at time of wp_create_user
- WordPress Ajax Callback
- Regex to Remove File Extension
- Portfolio + Blog: multisite or plugin?
- Collapse content [closed]
- Can’t add custom Taxonomy to Custom Post Type
- add_menu_page does not seem to work in a class
- Form isn’t inserting data into database with ajax plugin
- WordPress CodeHighlighter
- How would I go about creating a user ranked post popularity page?
- All of my custom posttypes are 404’ing
- WordPress: PHP code rendering in the wrong place
- ‘No Results Found’ on single post for custom post type
- Exporting post content from wordpress using WP All Export and wpautop() php function to include paragraph tags
- How to remove the inline styles from the content of a WYSIWYG editor field at the time of saving the post?
- How can I change the plugin update server for specific plugins?
- How to create an input field, and base the output on spreadsheet data? [closed]
- Blacklist IP After Using WordPress Plugin Detector?
- Install and activate plugins across 200 wordpress installations via SSH
- WordPress plugin subscribe2 not looking the same as before migration
- Admin style for just one plugin in dashboard
- Multiple instance of data in plugin custom database table on plugin activation
- Trouble adding tiny mce to textarea in custom plugin
- Js file is not adding using this code in functions.php
- Cart66 localization hardcode strings [closed]
- Customised plugin failed to install and activate
- Trying to create a table/list of my EventBrite course listings [closed]
- Why is one phpunit test throwing an error on one class when all other classes are similar without error?
- WP_Http response throws “Cannot use object of type WP_Error as array”
- XML parser plugin
- Modify wp_installed_email / wp_new_blog_notification
- Is it safe to use admin-ajax.php in the frontend?
- How to get all posts belongs to a user between a certain date
- Using Variable in WordPress Translate Functions
- Plugin getting Cannot modify header information errors
- plugins not working in custom theme
- Add item to the woocommerce dashboard menu from a plugin
- Sucuri SiteCheck failing on domain with iThemes Security Pro plugin
- Multiple authors and readers restricted by role [closed]
- Display my plugins content based on a pages post_id
- Make get_permalink() work outside the Loop using filters
- How can I get someone to checkout as soon as they add a product to cart?
- Displaying syntax highlighted code [closed]
- Can you echo PHP code from a variable?
- Pluging with content for a specific page or post
- save data from metabox does not work
- Share buttons Facebook Twitter, just like wordpress.com without webservice
- WordPress Plugin- How to Insert Html&JS code in specific Page and specific Div
- Restrict posts to customers with complete WooCommerce orders only
- WordPress not showing manually uploaded files in Uploads folder on Media Library
- Upload Image with a file URL and show dynamically on Frontend
- Use get_pages() before another plugin modifies it
- add products to WordPress site automatically
- How can i solve php upgrade problem
- Submitting form to PHP
- Hide button after form submit and save state to localstorage
- How use get_plugin_updates() function?
- how override a define
- WordPress plugin blog creation
- Preserving existing functionality converting HTML to WordPress
- Modifying server’s response to API endpoint
- FTP access to NAS drive files/folders from WordPress site
- Change Jobs for WordPress templates
- Issue calling my functions on Plugin activate in WordPress
- Restoring a WordPress site
- Cron job emails blank
- Wordress admin page is fetching error You do not have sufficient permissions to access this page.
- How to change text in a page by utilizing a custom user id?
- How can I insert a record into a custom table from my custom form in my custom admin page?
- how to create table during plugin installation in side a class
- Which WordPress version to use for improved plugin compatibility? [closed]
- WP_Filesystem usage within a block of code
- Why function hooked using object are executing at all time?
- Create a blank admin page from plugin
- Private WordPress blog, requires user registration approval, and allowing users to login with OpenID
- How do I make the selected layout display for all MarketPress pages?
- include plugin folder directly in theme folder to load faster page n wp
- Including a PHP file via a function that is part of a plugin?
- How do i remove “Powered by WordPress” from AMP?
- Publish post facebook page & twitter automatically [closed]
- Can’t save formdata in DB
- Event Made Easy – Block registration to two or more events that have the same category