Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1424437
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionI am using WordPress FormCraft plugin on my site. I created a form and got the form short embedded code
[fc id='4'][/fc]
I want to show this form when the user opens the page.
Can anyone tell how can approach this?
I also try in Page Editor I got an option to add form it generated below code for me.
[fc id='4' type='popup' button_color='#4488ee' font_color='white'][/fc]
Closed. This question is off-topic. It is not currently accepting answers.
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionI am using WordPress FormCraft plugin on my site. I created a form and got the form short embedded code
[fc id='4'][/fc]
I want to show this form when the user opens the page.
Can anyone tell how can approach this?
I also try in Page Editor I got an option to add form it generated below code for me.
[fc id='4' type='popup' button_color='#4488ee' font_color='white'][/fc]
Share
Improve this question
asked May 31, 2019 at 22:08
Mohammad FareedMohammad Fareed
1151 silver badge7 bronze badges
2 Answers
Reset to default 1From the documentation, you have to use the shortcode:
[fc id='12' type='popup'][/fc]
Next, something has to trigger the form, you can create a button for that and then click it from jQury, edit the link which would trigger this form, and put the href or hyperlink to:
<a class="triggerForm" href="http://yoursite/form-view/12">Link Trigger</a>
jQuery trigger.
$(document).ready(function () {
$('a.triggerForm').click();
});
Found a simple solution without changing any code. I have used another plugin Popup maker that will create a pop-up, there I can configure on page load / with time delay.
本文标签: Show FormCraft form on page open
版权声明:本文标题:Show FormCraft form on page open 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745421394a2657915.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论