douruoshen1449 2014-09-13 01:54
浏览 102

如何在wordpress中使用短代码创建表单

I want to access a wordpress form that I created using Contact Form 7 in my Facebook Page Tab application. My question is if I create a simple file test.php and put the shortcode for contact Form 7 form there and then access the test.php in cavnas URL in my facebook app, does the form appear?

How can I achieve this?

How can I simply display the form in test.php?

  • 写回答

1条回答 默认 最新

  • doyp9057 2014-09-13 04:55
    关注

    METHOD 1

    • You can add the form in a page on your site by using its short code
    • Now copy the URL of that page on your WordPress site
    • Load that URL using IFRAME in Facebook

    iframe code

    <!DOCTYPE html>
    <html>
    <body>
    
    <iframe src="http://www.yourdomain.com/test.php"> 
     </iframe>
    
    </body>
    </html>
    

    METHOD 2

    • You can create the form in contact form 7 and copy its short code.
    • Now install a plugin called "Facebook Tab Manager" and activate it.
    • Facebook Tab Manager will help you easily embed your WordPress site content to your Facebook page.
    评论

报告相同问题?

悬赏问题

  • ¥20 数学建模,尽量用matlab回答,论文格式
  • ¥15 昨天挂载了一下u盘,然后拔了
  • ¥30 win from 窗口最大最小化,控件放大缩小,闪烁问题
  • ¥20 易康econgnition精度验证
  • ¥15 msix packaging tool打包问题
  • ¥28 微信小程序开发页面布局没问题,真机调试的时候页面布局就乱了
  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能