Hi
I am trying to use the extension qtranlate with thematic.
How can I add the language selector
<?php echo qtrans_generateLanguageSelectCode('both'); ?>
at the end of my access (on the same line on the right), given that my access is priority 0?
Thanks
Here is what I tried for now:
//Display Thematic menu above header
// remove current menu
function remove_access() {
remove_action('thematic_header', 'thematic_access', 9);
}
add_action('init', 'remove_access');
// add menu to its new position
add_action('thematic_header', 'thematic_access', 0);
//add language flags to access
function childtheme_access() {
echo qtrans_generateLanguageSelectCode('image');
}
add_filter('thematic_access', 'childtheme_access');