PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / trunk
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages vtrunk
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 2.3.1 2.3.2 2.3.3 All 194 releases
convertkit / views / frontend / restrict-content / login.php

login.php in Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages trunk, at views/frontend/restrict-content/login.php

27 lines 876 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs the restricted content product email field
4 * for the subscriber to enter their email address if
5 * they've already subscribed to the ConvertKit resource.
6 *
7 * @package ConvertKit
8 * @author ConvertKit
9 */
10
11 // If scripts are disabled in the Plugin's settings, output the email login form now.
12 if ( $this->settings->scripts_disabled() ) {
13 ?>
14 <p>
15 <?php echo esc_html( $this->restrict_content_settings->get_by_key( 'email_text' ) ); ?>
16 </p>
17 <?php
18 require 'login-email.php';
19 } else {
20 // Just output the paragraph with a link to login, which will trigger the modal to display.
21 ?>
22 <p>
23 <?php echo esc_html( $this->restrict_content_settings->get_by_key( 'email_text' ) ); ?>
24 <a href="#" class="convertkit-restrict-content-modal-open"><?php echo esc_attr( $this->restrict_content_settings->get_by_key( 'email_button_label' ) ); ?></a>
25 </p>
26 <?php
27 }