Plugin Directory

Changeset 2791432


Ignore:
Timestamp:
09/28/2022 04:38:49 PM (4 years ago)
Author:
saroyaboy
Message:

Add AMP Support

Location:
color-your-bar
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • color-your-bar/trunk/color-your-bar.php

    r2667335 r2791432  
    66 * Author: Darshan Saroya
    77 * Author URI: http://darshansaroya.com
    8  * Version: 1.8
     8 * Version: 1.9
    99 * Text Domain: color-your-bar
    1010 * Domain Path: languages
     
    2424 * @package Color Your Bar
    2525 * @author Darshan Saroya
    26  * @version 1.8
     26 * @version 1.9
    2727 */
    2828
     
    5757
    5858add_action( 'wp_head', 'cyb_add_head_tag');
     59
     60if ( has_action( 'amp_post_template_head' )) {
     61    add_action( 'amp_post_template_head', 'cyb_add_head_tag' );
     62}
    5963
    6064function cyb_add_head_tag(){
  • color-your-bar/trunk/readme.txt

    r2667335 r2791432  
    44Donate link: http://www.paypal.me/darshansaroya
    55Requires at least: 3.5
    6 Tested up to: 5.9
     6Tested up to: 6.0.2
    77License: GPL2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545== Changelog ==
    4646
     47= 1.9 =
     48Add support AMP
     49
    4750= 1.8 =
    4851Add support for WordPress 5.9
Note: See TracChangeset for help on using the changeset viewer.