Skip to content

frc/wp-multilingual-options-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multilingual Options Page

Create multilingual ACF Options Pages.

The plugin creates a separate options subpage for each language. Works with multisite also when sites have different languages active.

Usage:

$multilingual_options_page = FrcMultilingualOptionsPage::get_instance();
$multilingual_options_page->add_page($title, $parent_slug);

E.g.

$multilingual_options_page->add_page('Footer', 'site-settings');

If active languages are Finnish and English, the plugin will create two options subpages: Footer FI and Footer EN under site-settings parent. When creating parent, slug is defined with menu_slug.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages