Title: Conditional Logic Not Saving
Last modified: August 31, 2016

---

# Conditional Logic Not Saving

 *  Resolved [Scott](https://wordpress.org/support/users/oxscott/)
 * (@oxscott)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/)
 * Hello,
 * I am trying to use the plugin, but the conditional logic selection is not saving
   when I update the sidebar, and no changes are being reflected on the front end.
 * I am looking to make custom sidebars for my forums and topics in bbpress.
 * My site is [bronxpinstripes.com](http://bronxpinstripes.com).
 * Thanks for the help.
 * [https://wordpress.org/plugins/content-aware-sidebars/](https://wordpress.org/plugins/content-aware-sidebars/)

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

 *  [debrasimpson](https://wordpress.org/support/users/debrasimpson/)
 * (@debrasimpson)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986598)
 * I’m having the same problem.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986614)
 * Thank you for reporting this.
 * The conditional UI is “detached” from the rest of the sidebar editor UI, meaning
   that you need to click “Save Changes” on each condition group to save the logic.
   
   It also means that you do not need to click “Update” if you just made some changes
   to the conditions.
 * I have some code that will automatically save the conditions, but it still needs
   some polishing.
 * Let me know if this solved your problem.
 *  Thread Starter [Scott](https://wordpress.org/support/users/oxscott/)
 * (@oxscott)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986743)
 * I don’t have a ‘Save Changes’ option when creating a sidebar. The only button
   I am able to click when the first conditional logic option is the update/publish
   button.
 * It will allow me to select a ‘Display sidebar with:’ condition, but then never
   saves and asks for further options. Nothing happens.
 *  [debrasimpson](https://wordpress.org/support/users/debrasimpson/)
 * (@debrasimpson)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986745)
 * I’m having the same problem too. The screenshot you have at wordpress.org ([https://ps.w.org/content-aware-sidebars/assets/screenshot-1.png?rev=1257861](https://ps.w.org/content-aware-sidebars/assets/screenshot-1.png?rev=1257861))
   is not what I see in my dashboard.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986747)
 * When you have clicked on “– Select Content Type –” the first time, the UI should
   look like this: [https://imgur.com/3gi60ei](https://imgur.com/3gi60ei)
    When 
   you are done with the conditions for a group, you should press the “Save Changes”
   button as seen to the right in the picture.
 * Let me know if you do not see that button. That would mean that you hae another
   plugin that causes a compatibility issue.
 *  [debrasimpson](https://wordpress.org/support/users/debrasimpson/)
 * (@debrasimpson)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986758)
 * You are right. On my site I created the first sidebar before installing a testimonial
   plugin. Deactivating the testimonial plugin remedied the sidebar plugin. I’m 
   good now. Thank you.
 * By the way, I love your sidebar plugin. I’ve been using it for over a year.
 *  Thread Starter [Scott](https://wordpress.org/support/users/oxscott/)
 * (@oxscott)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986760)
 * I deactivated all other plugins, and still having issue. I had my developer also
   look into it and he is telling me that there is an error with the plugin.
 * The specific error I’m seeing is:
 * “a.fn.select2.locales is undefined”
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986761)
 * [@debrasimpson](https://wordpress.org/support/users/debrasimpson/)
 * Good to know that you got it solved, and I am glad that you can use the plugin!
   Can you tell me the name of the testimonial plugin?
 * [@scott](https://wordpress.org/support/users/scott/)
 * Thanks for digging into it. The error you are describing has been in another 
   recent thread, you can look at my last post here: [https://wordpress.org/support/topic/update-31-32](https://wordpress.org/support/topic/update-31-32)
 * In short, your theme most likely loads an outdated script (select2) that this
   plugin relies on.
    Because the outdated version is “enqueued” first, WordPress
   finds it unnecessary (with good reason) to load the most recent one that comes
   with this plugin. Am I correct that this is the theme you are using: [http://themeforest.net/item/flex-mag-responsive-wordpress-news-theme/12772303](http://themeforest.net/item/flex-mag-responsive-wordpress-news-theme/12772303)
 * I will see if I can put in a counter measure to resolve this problem, but I also
   suggest you contact the theme developer and refer them to this thread.
 *  Thread Starter [Scott](https://wordpress.org/support/users/oxscott/)
 * (@oxscott)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986762)
 * [@joachim](https://wordpress.org/support/users/joachim/) – thank you for the 
   assistance. I will send this thread to them as well. Appreciate the help!
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986774)
 * I have tried implementing some precautions as it seems that more plugins are 
   loading the select2 script when not needed.
    Content Aware Sidebars only loads
   scripts on relevant administration pages.
 * You can get the changes here: [https://github.com/intoxstudio/wp-content-aware-engine](https://github.com/intoxstudio/wp-content-aware-engine)
   
   Click “Download ZIP” and paste it into /wp-content/plugins/content-aware-sidebars/
   lib Remember to remove the “-master” suffix from the folder.
 * Let me know if this solves your problem.

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

The topic ‘Conditional Logic Not Saving’ is closed to new replies.

 * ![](https://ps.w.org/content-aware-sidebars/assets/icon-256x256.png?rev=1815877)
 * [Content Aware Sidebars - Fastest Widget Area Plugin](https://wordpress.org/plugins/content-aware-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-aware-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-aware-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/content-aware-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-aware-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-aware-sidebars/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-not-saving/#post-6986774)
 * Status: resolved