• I’m trying to hide certain content on my website using our Membership Plugin (WishlistMember) of which we can do by using the tags:

    1. [wlm_ismember] Content here [/wlm_ismember] – Allows us to show content only to members of the site
    2. [wlm_nonmember] Content here [/wlm_nonmember] – Allows us to show content only to unregistered users on the site
    3. [wlm_private “Gold” | “Silver” | “Bronze” ] Content here [/wlm_private] – Allows us to only show the content to those specific membership levels
    4. [!wlm_private “Gold” | “Silver” | “Bronze” ] Content here [/!wlm_private] – Allows us to only show content to everyone except those specific membership levels

    We’re using the theme “Avada” and when I try to hide elements in Fusion Builder like a countdown as you can see below:

    View post on imgur.com

    It doesn’t work as intended… the page renders like you can see below:

    https://i.stack.imgur.com/mE4Dl.png

    You can see there is no start shortcode ([wlm_ismember]) visible but yet there is an end shortcode visible ([/wlm_ismember]) so it looks like either WordPress or Fusion Builder is detecting that an open shortcode exists but no closing shortcode exists in that element / text field so it’s “fixing it” by adding the closed tag immediately

    When in reality we want it to ignore that this specific shortcode isn’t being closed or for it to detect the shortcode two elements further down.

    How can I instruct WordPress / Fusion Builder to stop automatically adding the closing tag for the listed shortcodes? It’s rather annoying and stops me from doing what I want it to do…

    Thanks

    • This topic was modified 4 years, 8 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Preventing WordPress / Avada from automatically adding end/closing shortcodes’ is closed to new replies.