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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745421394a4626979.html
评论列表(0条)