Form shown to register users

  • Anonymous


    Thanks for the great theme first of all.

    I want to create a form that will include an order for some products. The point is that the form should appear only to registered users. I ask this at your forum because you will know the plugins that are most suitable to your theme in order to do that. I would appreciate if you guide me how to start.

    Sorry for the bad English.



    I use Fast Secure Contact Form by Mike Challis… but I don’t know if there is an option to only display the form to logged in users.

    Contact Form 7 appears to be another popular choice.



    I’d create a custom template with this code and use that template for contact form page.

    * Template Name: Contact Form Template
    * A custom page template to show contact form only for logged in users
    get_header(); ?>

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

    get_template_part( 'loop', 'page' );

    <?php endif; ?>

    <?php get_footer(); ?>



    Haha… Prasanna… thinking outside the box again 😉

    Yep, use Prasanna’s suggestion.

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.