Hi @imahir518,
Thanks for your inquiry.
Dear friend, we are using TinyMCE editor for the Email body, you should test whether that plugin works with the editor or not.
Hi @zhannak
thank you for your inputs.
the snippet plugin shortcode works on their TinyMCE form and I can insert it to the TinyMCE email option page. But I can’t use it with the Form Maker Email Option TinyMCE page.
I’m using XYZ PHP plugin.
Hi @imahir518,
I am extremely sorry to get back to you this late.
If I understood correctly, you want to use “XYZ Snipped PHP code” shortcode in “Custom Text in Email For Administrator” and see the result in receiving email.
Now we don’t have that function, but maybe we’ll add it in future updates.
But we can provide a solution for this.
So, please connect your website files with FTP and open th file wp-content/plugins/form-maker/frontend/models/form_maker.php, search script_mail and replace the first finded row to
$new_script = wpautop( do_shortcode( html_entity_decode( stripslashes( $row->script_mail ) ) ) );
and the second one to
$new_script = do_shortcode( html_entity_decode( stripslashes( $row->script_mail ) ) );
Please see the video recording here.
Please keep me updated on the results.
Zhanna Khachatryan,
Thank you so much. It works.
Awesome @imahir518!
Thanks for getting back to me.
Stay safe and healthy π
What I’m facing now is this:
I’m trying to call a form created by Form Maker from the XYZPHP snippet code and the form does not display on the webpage.
Here is what i have in XYZPHP Snippet code:
<?php
echo”[Form id=’10’]”; //[Form id=’10’] is the form ID created by Form Maker snippet code
?>
the output on webpage is: [Form id=’10’], no fields or anything else is displayed when call the form.
Is there any way I can call and display the [Form id=’10’] form on webpage when called from XYZPHP Snippet code?
Please let me know and many thanks.
-
This reply was modified 5 years, 5 months ago by
imahir518.
-
This reply was modified 5 years, 5 months ago by
imahir518.
Hi @imahir518,
I am very sorry to get back to you late, the post was marked as resolved and I have not checked it, sorry.
In the snippet, you should use the php function to show the form or use this syntax: echo do_shortcode("[Form id='10']");
Please let me know if you’ll have any further inquiries.