0
votes
1answer
412 views

contact form 7 :create shortcode usable in email message [closed]

i have this (test ) function that adds a redirection bouton function bouton($atts, $content = null) { extract(shortcode_atts(array( 'lien' => '#', 'couleur' ...
0
votes
1answer
234 views

using 1 form shortcode (si or cf7) for all multisite sites [closed]

I have a network with more than 50 sites. I want to create one contact form (which means one shortcode) using contact form 7 or fast secure contact form. Then, I want to use that shortcode on all the ...
1
vote
1answer
179 views

How to display posts by current user in a drop down

I am trying to write a shortcode that works in conjunction with Contact Form 7 to display the current user that is logged in posts. I have been able to get it to work with regular posts using this ...
4
votes
2answers
3k views

Why might a plugin's 'do_shortcode' not work in an AJAX request?

tl;dr: Contact Form 7's shortcode doesn't work in an AJAX request when called with do_shortcode functions.php add_action('wp_ajax_ps_get_survey_form', 'ps_get_survey_form'); ...
6
votes
1answer
7k views

How to use other shortcodes inside Contact form 7- forms? [closed]

I noticed that any shortcode that is not part of the contact form 7 builtin shortcodes dont work. For example: I am trying to use an accordion shortcode between form elements in contact form 7. But ...
1
vote
1answer
629 views

Trigger shortcode after submit button pressed [closed]

I need to execute a shortcode after the user will press the submit button. I am using Contact form 7 and have inserted the form by a shortcode in the Post edit section. It's basically a form ...
0
votes
2answers
923 views

contact form 7 database short codes

I am using contact form 7. I have successfully added to my page, Now I want to export the database onto a separate page with short code. I have the following code, but it results in the following ...
1
vote
2answers
616 views

Add the last viewed post title to a contactform with shortcode [closed]

I'm using the contactform 7 plugin and i want to add the title of the last viewed page (The page visited before the contact) to the dynamic field of the plugin with a shortcode. Is there a way to do ...