From 13a2e015316c2dd8a61aeb87e8d69d24de407156 Mon Sep 17 00:00:00 2001 From: Alex Corbi Date: Thu, 22 Dec 2016 21:00:39 +0100 Subject: [PATCH 1/2] ensuring localized content is properly hidden/shown --- post-types/profile-pages.php | 45 ++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/post-types/profile-pages.php b/post-types/profile-pages.php index 4a8af6c..865b80e 100644 --- a/post-types/profile-pages.php +++ b/post-types/profile-pages.php @@ -265,11 +265,11 @@ public function profiles_page_settings_box($post = false) $link_to_detail_column_localization = get_post_meta($post->ID, '_link_to_detail_column_localization', true); ?>
- +   get_the_language_by_site() != "English"): ?> - +
@@ -359,6 +359,25 @@ public function profiles_page_settings_box($post = false) + + ID, '_full_width_middle_content_localization', true); ?>
- +   get_the_language_by_site() != "English"): ?> - + @@ -412,6 +431,24 @@ public function full_width_middle_content_box($post = false) } ?>
+ Date: Thu, 22 Dec 2016 21:00:51 +0100 Subject: [PATCH 2/2] increased version number --- wp-odm_profile_pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-odm_profile_pages.php b/wp-odm_profile_pages.php index a89831e..f7554d8 100644 --- a/wp-odm_profile_pages.php +++ b/wp-odm_profile_pages.php @@ -3,7 +3,7 @@ * Plugin Name: ODM Profile Pages * Plugin URI: http://github.com/OpenDevelopmentMekong/odm_profile_pages * Description: Internal wordpress plugin for exposing custom content type for profile pages - * Version: 2.1.1 + * Version: 2.1.2 * Author: Alex Corbi (mail@lifeformapps.com) * Author URI: http://www.lifeformapps.com * License: GPLv3.