2012-10-18, 03:33:13
Carlos Wrote:Your theme now supports the Custom Title plugin, but requires the I18N plugin.
You could easily support, but not require I18N if you changed your header.inc.php to do something like:
Code:<?php
if (function_exists(get_i18n_navigation) {
get_i18n_navigation($slug, $minlevel=0, $maxlevel=10, $show=I18N_SHOW_MENU, $component=null);
} else {
get_navigation(return_page_slug());
}
?>
(Haven't checked if there are other I18N calls in the theme.)
Thanks for taking the time to test things, I noted that the theme does require I18N. I'll go ahead and use your feedback though and add to my next release.
Quote: <?php if(function_exists(get_i18n_navigation)){ get_i18n_navigation($slug, $minlevel=0, $maxlevel=10, $show=I18N_SHOW_MENU, $component=null);
} else { get_navigation(get_page_slug(FALSE)); } ?>