• Hello,

    i want to make, 2 subscriptions plans, first for companys to adding propertys, and the second subscription plan is for free and vip users. So people can register an account and searching and contact the property owners only by mail button, BUT vip users can write the property owner via contact form, they are integrated in the property site. But only vip users can see the contact form. Is that possible?

    brgds

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    You can use a membership plugin to manage who can see or do what.

    It’s possible to create custom roles and capabilities, either with a helper plugin or with custom code. You can then do something along the lines of
    <?php if ( current_user_can('use_contact_form')) show_contact_form(); ?>
    Code like this can go on a customized template.

    Thread Starter havor99

    (@havor99)

    Hi I want to use this theme https://themeforest.net/item/mylisting-directory-listing-wordpress-theme/20593226

    There are contact information and I want to hide it for vip users but I dont know how, I tested already plugins but it isnt possible

    Moderator bcworkz

    (@bcworkz)

    The last paragraph of my previous reply would be a custom coded solution where you alter the template code of where ever the contact form is to appear. Replace the show_contact_form() call with whatever is appropriate for the contact form plugin you are using.

    If by chance you use Contact Form 7 you can so something like
    do_shortcode('[contact-form-7 id="1234" title="Contact form 1"]');

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Restrict Fields for Free and VIP Users’ is closed to new replies.