2013-06-25, 21:32:34
(2013-06-25, 19:16:01)Carlos Wrote: Could it be you are using it like echo get_i18n_component(...) instead of get_i18n_component(...)? (without echo)
get_i18n_component (in contrast to get_component) returns true/1, if the component exists. This allows you to use code like the following:
Code:
get_i18n_component('sidebar-'.return_page_slug()) || get_i18n_component('sidebar-default')