Changeset 3103664
- Timestamp:
- 06/17/2024 03:39:34 PM (21 months ago)
- Location:
- genesis-featured-image-header/trunk
- Files:
-
- 2 edited
-
genesis-featured-image-header.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
genesis-featured-image-header/trunk/genesis-featured-image-header.php
r2613867 r3103664 1 1 <?php 2 /* 3 Plugin Name: Genesis Featured Image Header 4 Plugin URI: https://amplifyplugins.com/ 5 Description: Easily add a featured image to the header of every page on your site including Custom Post Type archive pages. 6 Version: 1.2.11 7 Author: AMP-MODE 8 Author URI: https://amplifyplugins.com 9 Text Domain: genesis-featured-image-header 2 /** 3 * Plugin Name: Genesis Featured Image Header 4 * Plugin URI: https://amplifyplugins.com/ 5 * Description: Easily add a featured image to the header of every page on your site including Custom Post Type archive pages. 6 * Requires at least: 6.3 7 * Requires PHP: 7.4 8 * Version: 1.3 9 * Author: Scott DeLuzio 10 * Author URI: https://scottdeluzio.com 11 * Text Domain: genesis-featured-image-header 12 * WC tested up to: 8.8.2 10 13 */ 11 14 /* Prevent direct access to the plugin */ … … 69 72 global $wp_query; 70 73 $cat = $wp_query->get_queried_object(); 71 $thumbnail_id = get_woocommerce_term_meta( $cat->term_id, 'thumbnail_id', true ); 74 $thumbnail_id = get_term_meta( $cat->term_id, 'thumbnail_id', true ); 75 72 76 $image = wp_get_attachment_url( $thumbnail_id ); 73 77 if ( $image ) { -
genesis-featured-image-header/trunk/readme.txt
r2613867 r3103664 1 1 === Genesis Featured Image Header === 2 Contributors: scott.deluzio , ampmode2 Contributors: scott.deluzio 3 3 Tags: genesis, featured image, header, custom post type 4 4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CSWJFA3B587U6 5 5 Requires at least: 3.5 6 Tested up to: 5. 8.17 Stable tag: 1.2.1 26 Tested up to: 5.5.0 7 Stable tag: 1.2.11 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 87 87 88 88 == Changelog == 89 = 1. 2.12=90 * Updated tested up to version.91 * Added Contributors.89 = 1.3 = 90 * Updated tested up to WordPress 6.5.2 91 * Removed deprecated method get_woocommerce_term_meta from genesis-featured-image-header.php 92 92 93 93 = 1.2.11 = … … 138 138 139 139 == Upgrade Notice == 140 = 1.2.1 2=140 = 1.2.11 = 141 141 * Updated tested up to version. 142 * Added Contributors.
Note: See TracChangeset
for help on using the changeset viewer.