Tagged: x
-
AuthorPosts
-
October 8, 2016 at 8:09 am #1207967
tcb19931234ParticipantI have two problems at the moment. I believe one is to do with 3rd party plugins which you may not be able to help with but here’s the problem. I’m trying to redirect mobile visitors of http://www.Lumaquin.co.uk to a more mobile friendly home page of http://lumaquin.co.uk/?page_id=314.
The problems I’m having are:
1) The site is not redirecting mobile visitors automatically
2) The mobile link when entered manually loads on desktop but not mobile.Thanks
Tim
October 8, 2016 at 10:14 am #1208020
ThaiModeratorHi Tim,
Please add the following code under functions.php file locates in your child theme:
if( is_home() && wp_is_mobile() ){ wp_redirect( 'http://lumaquin.co.uk/?page_id=314' ); exit(); }Hope it helps 🙂
October 9, 2016 at 9:15 am #1208833
tcb19931234ParticipantHi,
I’ve added the code, but doesn’t seem to have any effect…
October 9, 2016 at 9:25 am #1208851
tcb19931234ParticipantI have edited the functions.php file but i don’t have the child theme activated. I’m operating from the original X theme. Is this why it’s not doing anything? If I install the a child theme, will I lose all the changes on my site?
October 9, 2016 at 10:43 am #1208912
ChristianModeratorSorry for the confusion. Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/.
Thanks for understanding. Take care!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1207967 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
