Skip to content

Commit

Permalink
Merge pull request #376 from ConvertKit/convertkit-2.0.0
Browse files Browse the repository at this point in the history
ConvertKit 2.0.0
  • Loading branch information
n7studios authored Oct 25, 2022
2 parents 52f4d62 + b0833d5 commit 2afba14
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "project",
"license": "GPLv3",
"require": {
"convertkit/convertkit-wordpress-libraries": "1.3.0.x-dev"
"convertkit/convertkit-wordpress-libraries": "1.2.1"
},
"require-dev": {
"lucatume/wp-browser": "^3.0",
Expand Down
12 changes: 0 additions & 12 deletions includes/blocks/class-convertkit-block-product.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public function __construct() {

// Enqueue scripts and styles for this Gutenberg Block in the editor view.
add_action( 'convertkit_gutenberg_enqueue_scripts', array( $this, 'enqueue_scripts_editor' ) );
add_action( 'convertkit_gutenberg_enqueue_styles', array( $this, 'enqueue_styles_editor' ) );

// Enqueue scripts and styles for this Gutenberg Block in the editor and frontend views.
add_action( 'convertkit_gutenberg_enqueue_scripts_editor_and_frontend', array( $this, 'enqueue_scripts' ) );
Expand All @@ -48,17 +47,6 @@ public function enqueue_scripts_editor() {

}

/**
* Enqueues styles for this Gutenberg Block in the editor view.
*
* @since 1.9.8.5
*/
public function enqueue_styles_editor() {

wp_enqueue_style( 'convertkit-gutenberg-block-product', CONVERTKIT_PLUGIN_URL . '/resources/backend/css/gutenberg-block-product.css', array( 'wp-edit-blocks' ), CONVERTKIT_PLUGIN_VERSION );

}

/**
* Enqueues scripts for this Gutenberg Block in the editor and frontend views.
*
Expand Down
9 changes: 6 additions & 3 deletions includes/class-convertkit-post-type-product.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@

/**
* Class to register the Product Custom Post Type, and store
* Products in the Custom Post Type, permitting Gutenberg's
* LinkControl to display ConvertKit Products as results
* when searching for items to link text to.
* Products in the Custom Post Type, permitting both Gutenberg's
* LinkControl and Classic Editor link functionality to display
* ConvertKit Products as results when searching for items to link text to.
*
* Also adds data-commerce attributes to any links pointing to a ConvertKit
* Product URL.
*
* @since 2.0.0
*/
Expand Down
15 changes: 13 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: email marketing, email newsletter, newsletter, convertkit
Requires at least: 5.0
Tested up to: 6.0.2
Requires PHP: 5.6.20
Stable tag: 1.9.8.5
Stable tag: 2.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -33,7 +33,7 @@ Sign up forms can be configured to:
Embedding ConvertKit forms on your WordPress web site with the ConvertKit Plugin is quick and simple:

- Choose a default form to be displayed below each individual Post Type (Pages, Posts and other public Post Types, such as WooCommerce Products)
- Choose a specific form to be dispalyed below a specific Page, Post or custom post type
- Choose a specific form to be displayed below a specific Page, Post or custom post type
- Turn off form embedding at both site wide and/or individual Page/Post level

For greater control, ConvertKit forms can be displayed in specific sections of your WordPress site's content, sidebars and footers by:
Expand All @@ -56,6 +56,10 @@ Embed existing email newsletters on your WordPress web site, ensuring visitors n
- Using the ConvertKit Broadcasts block in Gutenberg
- Using the `[convertkit_broadcasts]` shortcode in the Classic Editor

= Sell Products =

Embed buttons (or link text) to sell your ConvertKit Products in seconds - whether that's digital goods, paid newsletters, music, coaching and more.

= Plugin Integrations =

With the ConvertKit for WordPress Plugin, you also get:
Expand Down Expand Up @@ -113,6 +117,13 @@ Full Plugin documentation can be found [here](https://help.convertkit.com/en/art

== Changelog ==

### 2.0.0 2022-10-24
* Added: ConvertKit Products Block, to output a button linking to a ConvertKit Product or Tip Jar
* Added: ConvertKit Products Shortcode, to output a button linking to a ConvertKit Product or Tip Jar
* Added: Gutenberg: Option to link text or button to a ConvertKit Product or Tip Jar
* Added: Classic Editor: Option to link text or button to a ConvertKit Product or Tip Jar
* Added: Settings: Improved UI

### 1.9.8.5 2022-10-03
* Added: Broadcasts: Shortcode: Options to specify background, text and link colors
* Added: Broadcasts: Elementor: Options to specify background, text and link colors
Expand Down
4 changes: 2 additions & 2 deletions wp-convertkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Plugin Name: ConvertKit
* Plugin URI: https://convertkit.com/
* Description: Quickly and easily integrate ConvertKit forms into your site.
* Version: 1.9.8.5
* Version: 2.0.0
* Author: ConvertKit
* Author URI: https://convertkit.com/
* Text Domain: convertkit
Expand All @@ -25,7 +25,7 @@
define( 'CONVERTKIT_PLUGIN_FILE', plugin_basename( __FILE__ ) );
define( 'CONVERTKIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'CONVERTKIT_PLUGIN_PATH', __DIR__ );
define( 'CONVERTKIT_PLUGIN_VERSION', '1.9.8.5' );
define( 'CONVERTKIT_PLUGIN_VERSION', '2.0.0' );

// Load shared classes, if they have not been included by another ConvertKit Plugin.
if ( ! class_exists( 'ConvertKit_API' ) ) {
Expand Down

0 comments on commit 2afba14

Please sign in to comment.