diff --git a/includes/class-tni-core-custom-fields.php b/includes/class-tni-core-custom-fields.php index a90d7fd..27f92ce 100644 --- a/includes/class-tni-core-custom-fields.php +++ b/includes/class-tni-core-custom-fields.php @@ -238,6 +238,13 @@ public function register_field_groups() { 'value' => 'post', ), ), + array ( + array ( + 'param' => 'post_type', + 'operator' => '==', + 'value' => 'blogs', + ), + ), ), 'menu_order' => 0, 'position' => 'side', diff --git a/readme.txt b/readme.txt index 11bad68..cd66fb8 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: misfist Tags: custom Requires at least: 4.7 Tested up to: 4.7.4 -Version: 1.2.2 +Version: 1.2.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -22,6 +22,9 @@ This section describes how to install the plugin and get it working. == Changelog == += 1.2.3 May 10, 2017 = +* #23 - Added hide featured image checkbox field to blogs. + = 1.2.2 May 10, 2017 = * #23 - Added hide featured image checkbox field to posts. diff --git a/tni-core-functionality.php b/tni-core-functionality.php index 3c8f8ae..690801a 100644 --- a/tni-core-functionality.php +++ b/tni-core-functionality.php @@ -10,7 +10,7 @@ * Text Domain: tni-core * Domain Path: /languages * - * Version: 1.2.2 + * Version: 1.2.3 * * @package Tni_Core_Functionality */ @@ -52,7 +52,7 @@ * @return object Tni_Core */ function Tni_Core() { - $instance = Tni_Core::instance( __FILE__, '1.2.2' ); + $instance = Tni_Core::instance( __FILE__, '1.2.3' ); return $instance; }