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

Hi-hat Language Toggle

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

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/turnermike/hihat-language-toggle/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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