{"id":116787,"date":"2020-02-01T12:03:36","date_gmt":"2020-02-01T12:03:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/polylang-support-for-customizer\/"},"modified":"2023-01-04T16:37:17","modified_gmt":"2023-01-04T16:37:17","slug":"add-polylang-support-for-customizer","status":"publish","type":"plugin","link":"https:\/\/yor.wordpress.org\/plugins\/add-polylang-support-for-customizer\/","author":16027337,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.5","stable_tag":"trunk","tested":"6.1.10","requires":"4.7","requires_php":"5.6","requires_plugins":"","header_name":"Add Polylang support for Customizer","header_author":"richardev","header_description":"This plugin adds support for Customizer.","assets_banners_color":"66abcc","last_updated":"2023-01-04 16:37:17","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/paypal.me\/ricardsmucelans","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/add-polylang-support-for-customizer","header_author_uri":"https:\/\/discord.gg\/ZptSdXMPrM","rating":4.5,"author_block_rating":0,"active_installs":2000,"downloads":21837,"num_ratings":11,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"richardevcom","date":"2020-05-14 21:37:38"},"1.0.2":{"tag":"1.0.2","author":"richardevcom","date":"2020-05-14 21:37:38"},"1.0.3":{"tag":"1.0.3","author":"richardevcom","date":"2020-05-14 21:37:38"},"1.1.0":{"tag":"1.1.0","author":"richardevcom","date":"2020-05-14 21:37:38"},"1.1.1":{"tag":"1.1.1","author":"richardevcom","date":"2020-05-14 21:37:38"},"1.1.2":{"tag":"1.1.2","author":"richardevcom","date":"2020-05-14 21:37:38"},"1.2.0":{"tag":"1.2.0","author":"richardevcom","date":"2020-08-17 13:47:18"},"1.3.0":{"tag":"1.3.0","author":"richardevcom","date":"2020-08-19 12:18:30"},"1.3.1":{"tag":"1.3.1","author":"richardevcom","date":"2020-08-19 12:40:57"},"1.3.2":{"tag":"1.3.2","author":"richardevcom","date":"2020-08-19 14:31:12"},"1.3.3":{"tag":"1.3.3","author":"richardevcom","date":"2020-09-06 16:57:09"},"1.3.4":{"tag":"1.3.4","author":"richardevcom","date":"2020-09-09 20:14:16"},"1.3.5":{"tag":"1.3.5","author":"richardevcom","date":"2020-09-13 01:08:05"},"1.3.6":{"tag":"1.3.6","author":"richardevcom","date":"2020-09-13 01:08:05"},"1.3.7":{"tag":"1.3.7","author":"richardevcom","date":"2021-02-02 15:19:45"},"1.3.8":{"tag":"1.3.8","author":"richardevcom","date":"2021-05-14 19:48:09"},"1.4.0":{"tag":"1.4.0","author":"richardevcom","date":"2021-05-19 13:01:39"},"1.4.1":{"tag":"1.4.1","author":"richardevcom","date":"2021-05-22 01:03:16"},"1.4.2":{"tag":"1.4.2","author":"richardevcom","date":"2021-09-13 12:14:26"},"1.4.3":{"tag":"1.4.3","author":"richardevcom","date":"2021-09-13 12:15:09"},"1.4.4":{"tag":"1.4.4","author":"richardevcom","date":"2021-09-30 01:24:52"},"1.4.5":{"tag":"1.4.5","author":"richardevcom","date":"2023-01-04 16:40:30"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":1,"4":0,"5":9},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2305208,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2305208,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":2305208,"resolution":"772x250","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2305208,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2305208,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Polylang language dropdown in Customizer"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2768,10601,1104,95],"plugin_category":[48],"plugin_contributors":[78884,181428],"plugin_business_model":[],"class_list":["post-116787","plugin","type-plugin","status-publish","hentry","plugin_tags-customizer","plugin_tags-polylang","plugin_tags-support","plugin_tags-translate","plugin_category-language-tools","plugin_contributors-pers","plugin_contributors-richardevcom","plugin_committers-richardevcom","plugin_support_reps-richardevcom"],"banners":{"banner":"https:\/\/ps.w.org\/add-polylang-support-for-customizer\/assets\/banner-772x250.png?rev=2305208","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/add-polylang-support-for-customizer\/assets\/icon-128x128.png?rev=2305208","icon_2x":"https:\/\/ps.w.org\/add-polylang-support-for-customizer\/assets\/icon-256x256.png?rev=2305208","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/add-polylang-support-for-customizer\/assets\/screenshot-1.png?rev=2305208","caption":"Polylang language dropdown in Customizer"}],"raw_content":"<!--section=description-->\nAdd Polylang support for Customizer\n\n<p>This plugin adds Polylang support for WordPress Customizer.<\/p>\n\n<h3>Support<\/h3>\n\n<p>We provide direct support via our <a href=\"https:\/\/discord.gg\/ZptSdXMPrM\">Frontbee Discord server<\/a><\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Language switcher in Customizer.<\/li>\n<li>Localized theme_mods and options for both default and custom made Customizer values.<\/li>\n<li>Enable\/disable forcing \"The language is set from content\" setting in Language-&gt;Settings-&gt;URL modifications<\/li>\n<\/ul>\n\n<h3>Prerequisite<\/h3>\n\n<ol>\n<li>Polylang must be installed and activated.<\/li>\n<li>Languages must be set in <strong>Admin &gt; Languages<\/strong>.<\/li>\n<li><em>If you have a static front page<\/em>:\n\n<ol>\n<li><em>Create a front page per each language.<\/em><\/li>\n<li><em>Select the front page in <strong>Admin &gt; Settings &gt; Reading<\/strong> per language.<\/em><\/li>\n<\/ol><\/li>\n<li><p>Expect customizer to use setting type = <code>theme_mod<\/code> (default) as in:<\/p>\n\n<p>$wp_customize-&gt;add_setting( 'setting_id', [ 'type' =&gt; 'theme_mod', ] );<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPL v2 or later.<\/p><\/li>\n<\/ol>\n\n<blockquote>\n  <p>This program is free software; you can redistribute it and\/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.<\/p>\n  \n  <p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<\/p>\n  \n  <p>You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA<\/p>\n<\/blockquote>\n\n<p>A copy of the license is included in the root of the plugin\u2019s directory. The file is named <code>LICENSE<\/code>.<\/p>\n\n<h3>Important Notes<\/h3>\n\n<h3>Licensing<\/h3>\n\n<p>This plugin is licensed under the GPL v2 or later; however, if you opt to use third-party code that is not compatible with v2, then you may need to switch to using code that is GPL v3 compatible.<\/p>\n\nCredits\n\n<p>Original solution made by <a href=\"https:\/\/github.com\/soderlind\">@soderlind<\/a> is available <a href=\"https:\/\/github.com\/soderlind\/customizer-polylang\">here<\/a>. Share some love! This is WordPress plugin version of his solution.<\/p>\n\n<!--section=installation-->\n<p>This plugin can be installed directly into your plugins folder \\\"as-is\\\"<\/p>\n\n<p>or if you go to <strong>Admin panel &gt; Plugins &gt; Add new &gt; Upload Plugin<\/strong> and select the archive containing this plugin.<\/p>\n\n<p>It\\'s safe to activate the plugin at this point. Because the plugin just injects some functionality - there will be no plugin menus or settings to play with.This plugin can be installed directly into your plugins folder \\\"as-is\\\"\nor if you go to Admin panel &gt; Plugins &gt; Add new &gt; Upload Plugin and select the archive containing this plugin.<\/p>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed issues with option rewriting and polylang translatable strings.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fixed issues with pll_current_language() missing due to Polylang API being not included.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Added settings page &amp; Enable\/disable forcing \"The language is set from content\" setting in Language-&gt;Settings-&gt;URL modifications<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Added quick settings link<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fixed missing includes<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Fixed 404 page &amp; removed prefered language dismissal. Thanks @penhtech<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>If Polylang is not active, don't run the app and throw an error notice<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Changed way Polylang API is called<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>fixed API.php location error for multisites.<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Changed how API.php is included.<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Added Polylang PRO dir check<\/li>\n<\/ul>\n\n<h4>1.3.5<\/h4>\n\n<ul>\n<li>Added Polylang PRO dir check<\/li>\n<\/ul>\n\n<h4>1.3.6<\/h4>\n\n<ul>\n<li>Added Polylang PRO dir check<\/li>\n<\/ul>\n\n<h4>1.3.7<\/h4>\n\n<ul>\n<li>Fixed no language selection issue on customizer.<\/li>\n<\/ul>\n\n<h4>1.3.8<\/h4>\n\n<ul>\n<li>Fixed no language selection issue on customizer.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Fixed premature Polylang API initialization error while activating\/deactivating Polylang.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Fixed non existing function (early) call for some 3rd party plugins.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Added support up to WordPress 5.8<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Workaround for update version mismatch<\/li>\n<\/ul>\n\n<h4>1.4.5<\/h4>\n\n<ul>\n<li>Added support URL<\/li>\n<\/ul>\n\n<h4>1.4.5<\/h4>\n\n<ul>\n<li>Compatibility test<\/li>\n<\/ul>","raw_excerpt":"This plugin adds Polylang support for WordPress Customizer.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/116787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=116787"}],"author":[{"embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/richardevcom"}],"wp:attachment":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=116787"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=116787"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=116787"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=116787"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=116787"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=116787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}