A
A
Arkadii0262017-05-22 14:59:45
CMS
Arkadii026, 2017-05-22 14:59:45

How to insert shortcode into contact form 7 plugin wp page?

How to insert a button on the page, when clicked, it would open the submission form from Contact Form 7, I insert the shortcode [contact-form-7 id="72" title="Contact form 1"] on the page like this Request a callback<?php echo do_shortcode('[contact-form-7 id="72" title="Contact Form 1"]'); ?> does not work, as soon as I did not try to insert it, it does not work. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arkadii026, 2017-05-22
@Arkadii026

That is, according to the idea, the correct solution is this code
"> Request a callback
This is how it will work or is it correct like this?
Request a call back <?php echo do_shortcode('[contact-form-7 id="72" title="Contact form 1"]'); ?>
Sorry for the stupid questions, this was the first time I came across a shortcode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question