• Resolved markkmy

    (@markkmy)


    I am thoroughly loving this plugin, but I am having an issue while editing pages that include shortcodes: when I switch from the default editor to my Theme Fusion page editor for my Avada theme, some of my code disappears. It truly disappears, it is not there if I switch back to the default editor, and if I preview or update the page, some restricted content is gone.

    For instance, this:

    [fusion_text]...
    [restrict role="0"]This feature is only available to logged-in members of this Property. [modal_login][/restrict][/fusion_text]
    [restrict level="corvallis-members"][fusion_text][contact-form-7 id="11802" title="Contract Suggestions"][/fusion_text][/restrict]

    becomes this, with the entire second fusion text box and contact form gone:

    [fusion_text]...
    [restrict role="0"]This feature is only available to logged-in members of this Property. [modal_login][/restrict][/fusion_text]

    I’m obviously a WP admin, but I’ve also included myself in the restricted-to level; I do not have any sort of negated universal-access level set up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for reporting this and for the kind words.

    When you say the “default editor” are you then referring to the default text editor in WordPress, or does your theme come with its own page/text editor?

    What happens if you try to add the shortcodes like this:

    
    [fusion_text][restrict level="corvallis-members"][contact-form-7 id="11802" title="Contract Suggestions"][/restrict][/fusion_text]
    
    Thread Starter markkmy

    (@markkmy)

    Yes I am referring to the default text editor, and the restrict shortcode executes when I switch to the editor included with my theme (ThemeFusion Fusion Builder), if the RUA shortcode is outside the theme shortcode, but not if it is inside of it.

    The issue in this case is that I need to ensure that the theme’s fusion_text element doesn’t render any margins/padding etc. when it is restricted; I want the whole thing gone, so I want to wrap it around the other shortcode.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for clarifying.

    It is very strange that the shortcode is being processed in the default WordPress editor. If you haven’t done so already, can you contact the developers of the Fusion Builder and refer them to this thread?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode processing when editing’ is closed to new replies.