WP Manifestindependent plugin directory
manifest / i18n / hihat-language-toggle

Hi-hat Language Toggle

A plugin to display an English/French language toggle via WPML.

by Mike Turner · github.com/turnermike/hihat-language-toggle · website

★ 0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/turnermike/hihat-language-toggle/archive/refs/heads/master.zip

This Wordpress plugin is used in conjunction with WPML. It is a very basic plugin that will display an English or French link depending on the current language.

How it Works

Use the shortcode in your posts/pages, or do_shortcode('[hihat_language_toggle]') in your theme templates.

Shortcode

[hihat_language_toggle short_text="false"]

If the "short_text" parameter is set to "true", the plugin will return "FR" rather than "French" and "EN" rather than "English".


Developed by Hi-hat Consulting