2012-08-14, 09:41:29
Using a custom field (requires I18N Custom Fields plugin) is a better way to go about it as you get a WYSIWYG editor and the sidebar content is easier to find and edit in the backend. You can then fall back onto a default sidebar component if you wish.
Code:
<?php
if (return_custom_field('sidebar');) {
get_custom_field('sidebar');
}
else {
get_i18n_component('sidebar');
}
?>