If theme variant is so and so, do so and so
I was trying not to change the index.template.php too much so that it will work for all variants. So I need to put some condition in its code.
I was wondering, how can we translate this into a proper EA code: if theme variant is so and so, do so and so. I try these two code but they are not working:
if ($settings['theme_variants'] == 'besocial')
and
if ($settings['theme_variants'] == 1)