Title: [Plugin: Mobile Smart] Saved theme not selected
Last modified: August 20, 2016

---

# [Plugin: Mobile Smart] Saved theme not selected

 *  [kristarella](https://wordpress.org/support/users/kristarella/)
 * (@kristarella)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-mobile-smart-saved-theme-not-selected/)
 * Hey,
 * So the plugin is working, and it’s using the right theme. But the settings page
   never shows the right theme selected. In the settings page source code it shows
   that every theme option has a blank “selected” field and the last one on the 
   list is always showing in the dropdown even if I have just saved another one.
 * If it helps at all, I have successfully used this to show the right dropdown 
   item:
    This somewhere in the function: `$options = get_option('option_name');`
   Then this goes inside a foreach loop for whatever I’m cycling through:
 *     ```
       if ($options["name"] == 'current_item')
       		$selected = ' selected="selected"';
       	else
       		$selected = '';
       	echo '<option value="current_item"'.$selected.'>current item</option>'."\n";
       ```
   
 * [http://wordpress.org/extend/plugins/mobile-smart/](http://wordpress.org/extend/plugins/mobile-smart/)

The topic ‘[Plugin: Mobile Smart] Saved theme not selected’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mobile-smart_000000.svg)
 * [Mobile Smart](https://wordpress.org/plugins/mobile-smart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-smart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-smart/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-smart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-smart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-smart/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kristarella](https://wordpress.org/support/users/kristarella/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-mobile-smart-saved-theme-not-selected/)
 * Status: not resolved