Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am creating a mobile version for a site. For that I am using WPTouch not WPTouch-Pro. Now I want to add a form in my page.

For desktop version I used template to add form. But in mobile version it's not working. When I exit mobile version form is present in my page. I saw some post which suggest to add child theme and its for WPTouch-Pro.

Since I am new to wordpress I don't have any idea how to solve this problem.

share|improve this question
    
@brasofilo is there any other way to do this? i am using theme purity for desktop version and the contact form is having many php code inside the form. url for purity contact form thetauris.com/themes/purity/?page_id=184 –  RoSe May 6 '13 at 7:07
    
@brasofilo thanks for your suggestion. I have done it with shortcode. :) –  RoSe May 6 '13 at 9:37
    
RoSe, I converted my comment into an Answer and added a suggestion on how to run with Restricted Mode enabled. –  brasofilo May 6 '13 at 18:23
add comment

1 Answer 1

up vote 1 down vote accepted

As WPTouch uses its own theme, we can't hardcode certain functionality inside the regular theme, neither in a page/post template nor functions.php.

So, a custom plugin is needed and the desired output made out of a Shortcode.

Also, make sure WPTouch Restricted Mode is turned off in Advanced Options > Advanced Settings. But probably this restricted mode can live together with a Must Use plugin.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.