PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 3.4.4
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v3.4.4
3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 All 197 releases
convertkit / views / backend / setup-wizard / convertkit-restrict-content-setup / content-start.php

content-start.php in Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages 3.4.4, at views/backend/setup-wizard/convertkit-restrict-content-setup/content-start.php

89 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs the content for the Restrict Content Setup Wizard > Setup step.
4 *
5 * @package ConvertKit
6 * @author ConvertKit
7 */
8
9 ?>
10
11 <h1><?php esc_html_e( 'Member Content', 'convertkit' ); ?></h1>
12 <p>
13 <?php
14 printf(
15 /* translators: %1$s: Link to ConvertKit Products, %2$s: ConvertKit Tag */
16 esc_html__( 'This will generate content that visitors can access once they purchase a %1$s or subscribe to a %2$s.', 'convertkit' ),
17 sprintf(
18 '<a href="%1$s" target="_blank">%2$s</a>',
19 esc_attr( 'https://app.kit.com/products' ),
20 esc_html__( 'Kit product', 'convertkit' )
21 ),
22 esc_html__( 'Kit tag', 'convertkit' )
23 );
24 ?>
25 </p>
26
27 <?php
28 // If no Products and Tags exist on the ConvertKit account, show the user how to add a Product to ConvertKit,
29 // with an option to refresh this page so that they can then select the Product to restrict content with.
30 if ( ! $this->products->exist() && ! $this->tags->exist() ) {
31 ?>
32 <p>
33 <?php
34 esc_html_e( 'To get started, you first need to create a Product or Tag in Kit. Click the button below to get started.', 'convertkit' );
35 ?>
36 </p>
37
38 <div class="convertkit-setup-wizard-grid">
39 <div>
40 <a href="<?php echo esc_url( convertkit_get_new_product_url() ); ?>" target="_blank" class="button button-primary button-hero">
41 <?php esc_html_e( 'Create product', 'convertkit' ); ?>
42 </a>
43 <span class="description">
44 <?php esc_html_e( 'Require visitors to purchase a Kit product to access your content.', 'convertkit' ); ?>
45 </span>
46 </div>
47
48 <div>
49 <a href="<?php echo esc_url( convertkit_get_new_tag_url() ); ?>" target="_blank" class="button button-primary button-hero">
50 <?php esc_html_e( 'Create tag', 'convertkit' ); ?>
51 </a>
52 <span class="description">
53 <?php esc_html_e( 'Require visitors to enter their email address, subscribing them to a Kit tag to access your content.', 'convertkit' ); ?>
54 </span>
55 </div>
56 </div>
57
58 <center>
59 <a href="<?php echo esc_url( $this->current_url ); ?>" class="button button-primary button-hero">
60 <?php esc_html_e( 'I\'ve created a Product or Tag in Kit', 'convertkit' ); ?>
61 </a>
62 </center>
63 <?php
64 } else {
65 ?>
66 <h2><?php esc_html_e( 'What type of content are you offering?', 'convertkit' ); ?></h2>
67
68 <div class="convertkit-setup-wizard-grid">
69 <div>
70 <a href="<?php echo esc_url( $this->download_url ); ?>" class="button button-primary button-hero">
71 <?php esc_html_e( 'Download', 'convertkit' ); ?>
72 </a>
73 <span class="description">
74 <?php esc_html_e( 'Require visitors to purchase a Kit product, or subscribe to a Kit tag or form, granting access to a single Page\'s content, which includes downloadable assets.', 'convertkit' ); ?>
75 </span>
76 </div>
77
78 <div>
79 <a href="<?php echo esc_url( $this->course_url ); ?>" class="button button-primary button-hero">
80 <?php esc_html_e( 'Course', 'convertkit' ); ?>
81 </a>
82 <span class="description">
83 <?php esc_html_e( 'Require visitors to purchase a Kit product, or subscribe to a Kit tag or form, granting access to a sequential series of Pages, such as a course, lessons or tutorials.', 'convertkit' ); ?>
84 </span>
85 </div>
86 </div>
87 <?php
88 }
89