WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Looking for contact form plugin with logged in user support

[Resolved] Looking for contact form plugin with logged in user support

  • I’m looking for a contact form plugin that can check if the person submitting the form is a logged-in user, and submit the username (and possibly other login info) with the email that it sends to me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • By the way, I finally figured out a way to do this. My contact form is on a Page, so I created a custom page template in my theme.

    Before The Loop, I put in:

    <?php if (is_user_logged_in()) : ?>

    And then after The Loop, there’s:

    <?php else: ?>
    <!-- Message telling them to log in -->
    <?php endif; ?>

    Then I just used that custom template for that Page.

    i’m also using a form that only displays when logged in. so i’d like to be able to receive the contact’s username as well. is there such a plugin?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Looking for contact form plugin with logged in user support’ is closed to new replies.
Skip to toolbar