Skip to content

editocom/etchwp-polylang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

etchwp-polylang

Unofficial Polylang integration for EtchWP Builder. Provides a language switcher shortcode and exposes Polylang language data (post, term, and global) as Etch dynamic data for use in conditions, queries, and dynamic attributes.

Until Polylang and EtchWP offer native compatibility, this snippet allows developers to:

  • Use a Polylang language switcher via shortcode
  • Access the current language as Etch Dynamic Data
  • Apply language-based conditions, queries, classes, and attributes
  • Support single posts, pages, archives, search pages, and global layouts

✨ Features

1. Polylang Language Switcher Shortcode

Use Polylang’s pll_the_languages() safely inside Gutenberg or Etch layouts.

[pll_languages]

About

Unofficial Polylang integration for EtchWP Builder. Provides a language switcher shortcode and exposes Polylang language data (post, term, and global) as Etch dynamic data for use in conditions, queries, and dynamic attributes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%