This is an demonstration of how to create different contact forms based on the user’s login status. This is a nice way to offer a specific contact form for users that are logged in and a different for for users (visitors) who are not logged. That also makes it easy to use different subject line prefixes so as to prioritize email responses. This is the same method that I use on this site.
This process makes use of the WP-Members login status shortcodes. While this particular example uses the Contact Form 7 plugin, it could be used in a variety of different ways. That’s up to you. This is just an example of how it can be used.
Use of the login status shortcode allows for other shortcodes to be used within the status shortcode.
Here is what I use on this site:
[wpmem_logged_out]This contact form is for general information. It is not for support questions and any plugin questions coming through this form are generally ignored. If you are a registered user of this site, you should login to use the Priority Contact Form, or better yet, post in the Support Forum.
If you are not yet a registered user of this site and would like to receive priority support, register here.
[contact-form-7 id="555" title="General Contact" /]
[wpmem_logged_in]Priority Contact Form for Registered Users:
[contact-form-7 id="123" title="Priority Support" /][/wpmem_logged_in]
NOTE: for the id and the title on the Contact Form 7 shortcodes, you should put the values that correspond to your contact forms. Shortcodes in the example are bracketed using HTML so they will display since both WP-Members and Contact Form 7 are used on this site. If you copy/paste this example, you will need to replace the HTML code with actual shortcode brackets around all of the shortcodes.
To make this more usable on the admin side, I specify different subject line prefixes in the email so that I can easily filter and differentiate between the emails that are coming from each form. That makes it easier to prioritize. I use a subject prefix of “PRIORITY SUPPORT:” for the logged in (site members) contact form and “Site Visitor:” for the visitor’s form. That way I can quickly filter and prioritize responses to emails. You should do what works best for you.