Overriding Mobile Site?
This support request was posted in General Support by skyecaptain
- skyecaptain February 11, 2015 at 10:00 pm
I need to override the mobile site and bring it to a different third party area.
They said I should post the code under the tag. Which .php file should I use?
Juanfra Aldasoro February 11, 2015 at 10:34 pmHi,
Thanks for writing. I don’t understand your question. Would you please explain me what is that you need to do and who told you that you should post the code under the tag?
Best,
Juan.skyecaptain February 12, 2015 at 1:18 am“In the restaurant’s website index.html file, paste the code below into the ‹head› tag.”
DM_redirect(“http://mobile.dudamobile.com/site/lunaphillycom”);
skyecaptain February 12, 2015 at 1:18 am{In the restaurant’s website index.html file, paste the code below into the ‹head› tag. If you would like to edit the mobile website, please reply to this email and we will get you access to do so.
DM_redirect(“http://mobile.dudamobile.com/site/lunaphillycom”);}
skyecaptain February 12, 2015 at 1:19 amIn the restaurant’s website index.html file, paste the code below into the ‹head› tag. If you would like to edit the mobile website, please reply to this email and we will get you access to do so.
”
DM_redirect(“http://mobile.dudamobile.com/site/lunaphillycom”);”
skyecaptain February 12, 2015 at 1:21 am`In the restaurant’s website index.html file, paste the code below into the ‹head› tag. If you would like to edit the mobile website, please reply to this email and we will get you access to do so.
DM_redirect(“http://mobile.dudamobile.com/site/lunaphillycom”);`
skyecaptain February 12, 2015 at 1:21 amIn the restaurant’s website index.html file, paste the code below into the ‹head› tag. If you would like to edit the mobile website, please reply to this email and we will get you access to do so.
`
DM_redirect(“http://mobile.dudamobile.com/site/lunaphillycom”);`
Juanfra Aldasoro February 12, 2015 at 12:46 pmHello,
Thanks for the follow up.
Perhaps you can create a gist (http://gist.github.com) and send us the link?
There’s no such thing as index.html file in WordPress.
In any case you can always use the WordPress filters in order to add code without modifying the theme files, only the functions.php – I’d recommend you to take a look at this: http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head
Best,
Juan.
You must be logged in to reply to this topic.