PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 3.3.1
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v3.3.1
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 / backend / term / fields-edit.php

fields-edit.php in Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages 3.3.1, at views/backend/term/fields-edit.php

73 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Edit Term Fields template
4 *
5 * @package ConvertKit
6 * @author ConvertKit
7 */
8
9 ?>
10 <tr class="form-field">
11 <th scope="row">
12 <label for="wp-convertkit-form"><?php esc_html_e( 'Kit Form', 'convertkit' ); ?></label>
13 </th>
14 <td>
15 <div class="convertkit-select2-container convertkit-select2-container-grid">
16 <?php
17 $convertkit_forms->output_select_field_all(
18 'wp-convertkit[form]',
19 'wp-convertkit-form',
20 array(
21 'convertkit-select2',
22 ),
23 esc_attr( $convertkit_term->get_form() ),
24 array(
25 '-1' => esc_html__( 'Default', 'convertkit' ),
26 '0' => esc_html__( 'None', 'convertkit' ),
27 )
28 );
29 ?>
30
31 <button class="wp-convertkit-refresh-resources" class="button button-secondary" title="<?php esc_attr_e( 'Refresh Forms from Kit account', 'convertkit' ); ?>" data-resource="forms" data-field="#wp-convertkit-form">
32 <span class="dashicons dashicons-update"></span>
33 </button>
34 <p class="description">
35 <code><?php esc_html_e( 'Default', 'convertkit' ); ?></code>
36 <?php esc_html_e( ': Display a form based on the Post\'s settings.', 'convertkit' ); ?>
37 <br />
38 <code><?php esc_html_e( 'None', 'convertkit' ); ?></code>
39 <?php esc_html_e( ': do not display a form.', 'convertkit' ); ?>
40 <br />
41 <?php
42 printf(
43 /* translators: Taxonomy Name */
44 esc_html__( 'Any other option will display that form after the main content for Posts assigned to this %s.', 'convertkit' ),
45 'category'
46 );
47 ?>
48 </p>
49 </div>
50 </td>
51 </tr>
52 <tr class="form-field">
53 <th scope="row">
54 <label for="wp-convertkit-form-position"><?php esc_html_e( 'Display Kit Form on Archive?', 'convertkit' ); ?></label>
55 </th>
56 <td>
57 <select name="wp-convertkit[form_position]" id="wp-convertkit-form-position" size="1">
58 <option value=""><?php esc_attr_e( 'No', 'convertkit' ); ?></option>
59 <option value="before"<?php selected( 'before', $convertkit_term->get_form_position() ); ?>><?php esc_attr_e( 'Before Posts', 'convertkit' ); ?></option>
60 <option value="after"<?php selected( 'after', $convertkit_term->get_form_position() ); ?>><?php esc_attr_e( 'After Posts', 'convertkit' ); ?></option>
61 </select>
62 <p class="description">
63 <?php
64 esc_html_e( 'Whether to display the Form on this Category\'s archive page, above or below the main posts list.', 'convertkit' );
65 ?>
66 </p>
67
68 <?php
69 wp_nonce_field( 'wp-convertkit-save-meta', 'wp-convertkit-save-meta-nonce' );
70 ?>
71 </td>
72 </tr>
73