It is necessary to transfer the feedback form to the bootstrap modal window.

<dl> <dt>Ваше имя</dt> <dd>[text* your-name]</dd> <dt>Ваш телефон</dt> <dd>[text* your-phone]</dd> <dt>Тема обращения</dt> <dd>[textarea* your-subject]</dd> <dt>Введите текст с изображение в поле ниже. Это вынужденная мера для борьбы со спамом, спасибо.</dt> <dd>[captchac captcha-170 size:l]<br>[captchar captcha-170]</dd> <dt>Все поля обязательны к заполнению</dt> <dd><input class="wpcf7-form-control wpcf7-submit" type="submit" value="Отправить"></dd> </dl> 

How to do it?

  • You do not know how to create and work with a modal window in Bootstrap ? - E1mir
  • No, I do not know how to get this form in the form of a normal html - Jonny Manowar

1 answer 1

As it turned out, you just need to take the code from the admin and output it through the function do_shortcode

 <?=do_shortcode( '[contact-form-7 id="195" title="Заказ звонка"]')?>