Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1391976
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 have a Contact Form 7 form inside a WP website. I want to insert this form at the end of every page and article of the website, near the copyright notice.
I just know the short code of the form (it works well inside a specific post):
[contact-form-7 id="42" title="Formular de contact"]
Having the short code I think that the question is not off-topic. I have basic knowledge of PHP and JavaScript.
I have searched Google a little and I still do not know how to do this.
Thank you.
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 have a Contact Form 7 form inside a WP website. I want to insert this form at the end of every page and article of the website, near the copyright notice.
I just know the short code of the form (it works well inside a specific post):
[contact-form-7 id="42" title="Formular de contact"]
Having the short code I think that the question is not off-topic. I have basic knowledge of PHP and JavaScript.
I have searched Google a little and I still do not know how to do this.
Thank you.
Share Improve this question asked Feb 12, 2020 at 9:44 silviubogansilviubogan 15910 bronze badges1 Answer
Reset to default 1You can add contact form shortcode in footer.php via use do_shortcode
<?php echo do_shortcode('[contact-form-7 id="42" title="Formular de contact"]') ?>
本文标签: How to put a contact form inside the footer of all the articles and pages of a website
版权声明:本文标题:How to put a contact form inside the footer of all the articles and pages of a website? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744756079a2623471.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论