Skip to content

Commit 44b5c35

Browse files
authored
Update readme.MD
1 parent 9da7193 commit 44b5c35

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

readme.MD

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ This plugin adds Polylang support for WordPress Customizer.
99
* Language switcher in Customizer.
1010
* Localized theme_mods and options for both default and custom made Customizer values.
1111

12+
## Prerequisite
13+
14+
1. Polylang must be installed and activated.
15+
2. Languages must be set in **Admin > Languages**.
16+
3. _If you have a static front page_:
17+
1. _Create a front page per each language._
18+
2. _Select the front page in **Admin > Settings > Reading** per language._
19+
5. Expect customizer to use setting type = `theme_mod` (default) as in:
20+
21+
`$wp_customize->add_setting( 'setting_id', [ 'type' => 'theme_mod', ] );`
22+
1223
## Installation
1324

1425
This plugin can be installed directly into your plugins folder "as-is"<br/>

0 commit comments

Comments
 (0)