AScallan
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Do not send if user is not logged inThe mail is not sending as I have demo_mode: on.
When a user fills out a form, the form goes into the cfdb.
However, I do not want any forms to be submitted unless the user is logged in. Can you please tell me how to do this so that the user will be re-directed to the login page once the submit button is hit. If they are logged in then the form will send.Does anyone know how to only send the form if the user is logged in??
Forum: Plugins
In reply to: [Contact Form DB] Not capturing Employee namesHi Michael,
If a user logs out in a separate window and then goes back to the page where the form is on a different window, when they fill in the form without being logged in, it obviously doesn’t capture the name of the user. What I would like to be able to do is program the submit button so that it will check if a user is logged in first. If user is logged in then it will send, if not they will be re-directed to the log in page. Any ideas how I can make this happen using the CF7 submit button?
Forum: Plugins
In reply to: [Frontier Post] Use of do_shortcode with Frontier PostHi Pedigree,
I tried this and it worked for me:
<?php
$id=47;
$post = get_post($id);
$content = apply_filters(‘the_content’, $post->post_content);
echo $content;
?>Just include your own page/post id where 47 is above. This id is where the shortcode is located.