Skip to content

This is a Wordprss Functions.php snippet designed to set a WPML "default language" and redirect Groundhogg Managed pages based on that language.

Notifications You must be signed in to change notification settings

sociocracyforall/WPML-Language-Cookies-Redirect-for-Groundhogg-Managed-Pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

WPML-Language-Cookies-Redirect-for-Groundhogg-Managed-Pages

This is a Wordprss Functions.php snippet designed to set a WPML "default language" and redirect Groundhogg Managed pages based on that language.

add the code in functions.php to your funcitons.php (do not overwrite your functions.php)

Tested on Wordpress 5.6.1 with WPML 4.4.8 and Groundhogg 2.3.4.1

WPML cookie code modified from https://tombroucke.be/blog/wpml-remember-users-language-choice/

About

This is a Wordprss Functions.php snippet designed to set a WPML "default language" and redirect Groundhogg Managed pages based on that language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages