Plugin Directory

Changeset 2241062


Ignore:
Timestamp:
02/08/2020 08:50:38 PM (6 years ago)
Author:
timvaniersel
Message:

Add AMP support

Location:
websitescanner-custom-schema/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • websitescanner-custom-schema/trunk/README.txt

    r2214925 r2241062  
    5050== Changelog ==
    5151
     52= 1.3 =
     53* Add AMP support
     54
    5255= 1.2.1 =
    5356* Cleanup unused functions
     
    6669== Upgrade Notice ==
    6770
     71= 1.3 =
     72Upgrade to add AMP support
     73
    6874= 1.0 =
    6975Initial release
  • websitescanner-custom-schema/trunk/includes/class-websitescanner-custom-schema.php

    r2214917 r2241062  
    164164        // actions
    165165        $this->loader->add_action( 'wp_head', $plugin_public, 'get_page_json_ld' );
     166        $this->loader->add_action( 'amp_post_template_head', $plugin_public, 'get_page_json_ld' );
     167
    166168    }
    167169
  • websitescanner-custom-schema/trunk/websitescanner-custom-schema.php

    r2214925 r2241062  
    1717 * Plugin URI:        https://plugin.nl/en/websitescanner-custom-schema-plugin/
    1818 * Description:       Adds a field to the editor for custom JSON-ld schema markup.
    19  * Version:           1.2.1
     19 * Version:           1.3
    2020 * Author:            Plugin.nl
    2121 * Author URI:        https://plugin.nl/en/
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'WEBSITESCANNER_CUSTOM_SCHEMA_VERSION', '1.2.1' );
     38define( 'WEBSITESCANNER_CUSTOM_SCHEMA_VERSION', '1.3' );
    3939/**
    4040 * The core plugin class that is used to define internationalization,
Note: See TracChangeset for help on using the changeset viewer.