Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I can't find any info on how to operate qtranslate and add the select box to change language to the right of my header navigation.

Any ideas?

share|improve this question
    
If you read the plugin's FAQ, you'll find your answer... –  brasofilo May 25 '12 at 22:59
    
if want to add your comment as an answer, I will approve it. Thank you –  w0rldart May 26 '12 at 9:34
    
I don't think RTFM is a good answer :o) - maybe you can post the code itself and mark it as the correct answer... –  brasofilo May 26 '12 at 9:46
add comment

1 Answer

up vote 0 down vote accepted

In my header.php I added the following

<div style="float: right; margin: 7px 15px 0 0;">
    <?=qtrans_generateLanguageSelectCode('dropdown');?>
</div>

<?=..?> is the same as <?php echo ... ?> or <?php function(); ?>, but I prefer the shortcode

just next to: <?php ct_primary_nav_menu(); ?>

share|improve this answer
add comment

protected by Community Nov 26 '13 at 13:06

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.