-
-
Hi! I’m trying to integrate the WPML plugin but I don’t know where to include this:
<span style=”color: #444444; font-family: Consolas, Monaco, monospace; background-color: rgba(0, 0, 0, 0.0666667);”><?php do_action(‘wpml_add_language_selector’); ?></span>
I’m trying to have a simple floating language selector at the top right of my site.
Thanks for the help,
Bosco
-
Ups, this:
<?php do_action(‘wpml_add_language_selector’); ?>
-
Hello,
You do not need to edit theme files to display the wpml language switcher in Top bar. Just go to WPML > Languages > Language switcher options, and check the ‘Top Header Right’ option.
If you must edit the direct file, then go to header.php.Best regards!
-
Viewing 2 reply threads
You must be logged in to reply to this topic.