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.
    评论

报告相同问题?

悬赏问题

  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探