Wordpress Podio表格嵌入错误

时间:2016-11-18 05:48:32

标签: wordpress forms podio

我尝试将我的Podio表单嵌入到wordpress页面中,但它只显示/ < ![CDATA[ // < ![CDATA[ //,如上图所示 enter image description here

以下是我使用的代码:

[av_textblock size='' font_color='' color='']
[:vi]
[/av_textblock]

[av_codeblock wrapper_element='' wrapper_element_attributes='' custom_class='']
<!-- BEGIN Podio web form -->
<script src="https://podio.com/webforms/15016309/1006763.js"></script>
<script type="text/javascript">// < ![CDATA[
// < ![CDATA[ _podioWebForm.render("1006763")
// ]]></script>
<noscript>
<a href="https://podio.com/webforms/15016309/1006763" target="_blank">Please fill out the form</a>
</noscript>
<div class="podio-webform-container">A webform by <a class="podio-webform-inner" href="https://company.podio.com/project-management-software">Podio</a></div>
<!-- END Podio web form -->
[/av_codeblock]

[av_textblock size='' font_color='' color='']
[:en]
[/av_textblock]

[av_codeblock wrapper_element='' wrapper_element_attributes='' custom_class='']
<!-- BEGIN Podio web form -->

// < ![CDATA[ // < ![CDATA[ //

<!-- END Podio web form -->
[/av_codeblock]

[av_textblock size='' font_color='' color='']
[:]
[/av_textblock]

任何人都可以帮助我?

2 个答案:

答案 0 :(得分:2)

您已将表单呈现功能注释掉并以< ![CDATA[

为前缀

你也用[av_codeblock wrapper_element='' wrapper_element_attributes='' custom_class='']包裹它,我不确定它是什么;但它可能会导致渲染问题。

&#13;
&#13;
<!-- BEGIN Podio web form -->
<script src="https://podio.com/webforms/12345/6789.js"></script>
<script type="text/javascript">
  _podioWebForm.render("6789")
</script>
<noscript>
  <a href="https://podio.com/webforms/11234/6789" target="_blank">Please fill out the form</a>
</noscript>
<div class="podio-webform-container">
  Get your <a href="https://podio.com" class="podio-webform-inner" rel="nofollow">free webform</a> from Podio
</div>
<!-- END Podio web form -->
&#13;
&#13;
&#13;

答案 1 :(得分:1)

从查看代码片段开始,webform嵌入代码的格式与我们期望Podio生成的格式不同。例如,如果我在演示应用程序上导出webform,则代码如下所示:

<!-- BEGIN Podio web form -->
<script src="https://podio.com/webforms/12345678/1234567.js"></script>
<script type="text/javascript">
  _podioWebForm.render("1234567")
</script>
<noscript>
  <a href="https://podio.com/webforms/12345678/1234567" target="_blank">Please fill out the form</a>
</noscript>
  <div class="podio-webform-container">
  Get your <a href="https://podio.com" class="podio-webform-inner" rel="nofollow">free webform</a> from Podio
  </div>
<!-- END Podio web form -->

作为起点,请在Podio中导航至您的应用,从左上角选择扳手图标,然后选择Webform。在提供的字段中输入您网站的域名,然后将提供的嵌入代码直接复制并粘贴到您的Wordpress HTML中。 Here if a helpful video that walks through this process.