Changeset 1529414
- Timestamp:
- 11/07/2016 08:44:41 AM (9 years ago)
- Location:
- hide-featured-image/trunk
- Files:
-
- 2 edited
-
index.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hide-featured-image/trunk/index.php
r1397833 r1529414 8 8 Description: To show/hide featured images on individual posts. 9 9 10 Version: 1. 110 Version: 1.2 11 11 12 12 Author: shahpranaf … … 39 39 40 40 foreach ($sh_post_types as $post_type) { 41 add_meta_box( 'hide_featured', __( ' Show or Hide Featured Image', 'HideImage' ), 'sh_featured_box', $post_type, 'side', 'default' );41 add_meta_box( 'hide_featured', __( 'Hide Featured Image?', 'HideImage' ), 'sh_featured_box', $post_type, 'side', 'default' ); 42 42 } 43 43 … … 156 156 <?php $hide_image = get_option( 'sh_hide_all_image' ); ?> 157 157 <table class="form-table"> 158 <tr valign="top"><th scope="row"><?php _e( 'Hide from all Posts(not Custom Post Type)?', 'HideImage' ); ?></th>158 <tr valign="top"><th scope="row"><?php _e( 'Hide Image from all Posts(not Custom Post Type)?', 'HideImage' ); ?></th> 159 159 <td> 160 160 <?php $selected = ( isset( $hide_image['post_image'] ) ) ? $hide_image['post_image'] : 0; ?> … … 163 163 </td> 164 164 </tr> 165 <tr valign="top"><th scope="row"><?php _e( 'Hide from all Pages?', 'HideImage' ); ?></th>165 <tr valign="top"><th scope="row"><?php _e( 'Hide Image from all Pages?', 'HideImage' ); ?></th> 166 166 <td> 167 167 <?php $selected = ( isset( $hide_image['page_image'] ) ) ? $hide_image['page_image'] : 0; ?> -
hide-featured-image/trunk/readme.txt
r1397833 r1529414 4 4 Stable tag: trunk 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 56 Tested up to: 4.6.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 14 There are instances when one wants to show featured image on single post and hide it on another post. 15 15 This plugin will allow you to show or hide featured image from single post page. It supports custom post types also. 16 17 For any query or details please visit [Plugin Home](http://shahpranav.com/2015/05/hide-featured-image-on-single-post/) 16 18 17 19 … … 42 44 == Changelog == 43 45 44 = 1.0 = 46 = 1.2 = 47 * Update description and confusing text. 48 * Minor bugs and security update. 49 50 = 1.1 = 45 51 * Added page support 46 52 * Added option to hide featured image on all posts/pages
Note: See TracChangeset
for help on using the changeset viewer.