Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] How to do partial protection with Visual Composer

Simple Membership Plugin › Forums › Simple Membership Plugin › How to do partial protection with Visual Composer

  • This topic has 5 replies, 3 voices, and was last updated 7 years, 11 months ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 24, 2018 at 9:35 pm #14991
    SLPOnline
    Participant

    Is it possible to use partial protection with Visual Composer? We downloaded/installed the plugin. Our site, currently in development, shows the message that the content is only for members, but then shows the content and the [/swpm_protected] tag. I can provide a private link (the content needs to be protected). Just tell me how to send you a link privately, please.

    Do we need to protect the entire page if we’re protecting only some content?

    This is a great plugin; I hope it’ll work for this site.

    July 26, 2018 at 1:59 am #15013
    mbrsolution
    Moderator

    Hi, are you able to carry out a test without using Visual Composer? I am trying to work out if it is Visual Composer or something else causing this issue.

    Thank you

    July 27, 2018 at 10:32 pm #15038
    SLPOnline
    Participant

    I don’t think the issue is VC itself; it’s shortcodes that the theme developer uses. We can hide text (even using VC) but if the ONLY item is a shortcode, then the plugin doesn’t recognize it (or vice versa). I can work around it but VC is pretty popular and I hope you can figure out a way to make dueling shortcodes work! (This is a GREAT tool and I really appreciate your work on it.)

    July 28, 2018 at 5:55 am #15045
    mbrsolution
    Moderator

    Hi,

    I don’t think the issue is VC itself; it’s shortcodes that the theme developer uses.

    Can you provide an example of the type of shortcode the theme developer is using?

    Have you tested one of WordPress default themes like Twenty Seventeen? I am curious to know if the theme is causing this issue.

    Thank you

    July 28, 2018 at 2:28 pm #15058
    SLPOnline
    Participant

    This code is a VC row with ONLY a shortcode and no text:

    [vc_row][vc_column]YOUR SHORTCODE[dt_blog_masonry mode="grid" custom_content_bg_color="#1f365c" post_content_paddings="20px 20px 20px 20px" image_scale_animation_on_hover="n" image_hover_bg_color="n" all_posts_the_same_width="y" post_title_font_size="16px" post_title_line_height="21px" custom_title_color="#ffffff" post_title_bottom_margin="10px" post_date="n" post_category="n" post_author="n" post_comments="n" meta_info_font_size="12px" meta_info_line_height="14px" excerpt_words_limit="20" content_font_size="13px" content_line_height="19px" custom_content_color="#ffffff" category="33"]END YOUR SHORTCODE[/vc_column][/vc_row]

    We put your shortcode right after the first [vc_column] where their shortcode is starts. See “END YOUR SHORTCODE” for where we put the closing tag. We did this in both visual and text editor modes.

    August 6, 2018 at 7:49 am #15129
    admin
    Keymaster

    This looks like a matter of that visual editor not running the normal WordPress shortcodes.

    I just tested our shortcode using the WordPress’s new visual composer (Gutenberg) and the partial protection shortcode works fine there.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy