Plugin Directory

Changeset 3103664


Ignore:
Timestamp:
06/17/2024 03:39:34 PM (21 months ago)
Author:
ampmode
Message:

v.1.3

Location:
genesis-featured-image-header/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • genesis-featured-image-header/trunk/genesis-featured-image-header.php

    r2613867 r3103664  
    11<?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
    1013*/
    1114/* Prevent direct access to the plugin */
     
    6972                global $wp_query;
    7073                $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
    7276                $image = wp_get_attachment_url( $thumbnail_id );
    7377                if ( $image ) {
  • genesis-featured-image-header/trunk/readme.txt

    r2613867 r3103664  
    11=== Genesis Featured Image Header ===
    2 Contributors: scott.deluzio, ampmode
     2Contributors: scott.deluzio
    33Tags: genesis, featured image, header, custom post type
    44Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CSWJFA3B587U6
    55Requires at least: 3.5
    6 Tested up to: 5.8.1
    7 Stable tag: 1.2.12
     6Tested up to: 5.5.0
     7Stable tag: 1.2.11
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8787
    8888== 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
    9292
    9393= 1.2.11 =
     
    138138
    139139== Upgrade Notice ==
    140 = 1.2.12 =
     140= 1.2.11 =
    141141* Updated tested up to version.
    142 * Added Contributors.
Note: See TracChangeset for help on using the changeset viewer.