Skip to content

Commit

Permalink
Merge pull request #25 from thenewinquiry/1.2.3
Browse files Browse the repository at this point in the history
#23 - Added hide featured image checkbox field to blogs.
@frnsys
  • Loading branch information
misfist authored May 11, 2017
2 parents fc94abb + f68cb2f commit 1f2f830
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
7 changes: 7 additions & 0 deletions includes/class-tni-core-custom-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,13 @@ public function register_field_groups() {
'value' => 'post',
),
),
array (
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'blogs',
),
),
),
'menu_order' => 0,
'position' => 'side',
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions tni-core-functionality.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Text Domain: tni-core
* Domain Path: /languages
*
* Version: 1.2.2
* Version: 1.2.3
*
* @package Tni_Core_Functionality
*/
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 1f2f830

Please sign in to comment.