Title: Shortcode processing when editing
Last modified: September 28, 2016

---

# Shortcode processing when editing

 *  Resolved [markkmy](https://wordpress.org/support/users/markkmy/)
 * (@markkmy)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/shortcode-processing-when-editing/)
 * 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](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/shortcode-processing-when-editing/#post-8272865)
 * 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](https://wordpress.org/support/users/markkmy/)
 * (@markkmy)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/shortcode-processing-when-editing/#post-8361733)
 * 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](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/shortcode-processing-when-editing/#post-8389407)
 * 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.

 * ![](https://ps.w.org/restrict-user-access/assets/icon-256x256.png?rev=1815922)
 * [Restrict User Access - Ultimate Membership & Content Protection](https://wordpress.org/plugins/restrict-user-access/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-user-access/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-user-access/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-user-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-user-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-user-access/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/shortcode-processing-when-editing/#post-8389407)
 * Status: resolved