PluginProbe ʕ •ᴥ•ʔ
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More / 1.9.2.1
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More v1.9.2.1
1.10.1.1 1.10.1 1.10.0.5 trunk 1.1.4 1.1.4.2 1.1.5 1.1.5.1 1.1.6 1.1.6.1 1.1.7 1.1.7.1 1.1.7.2 1.1.8 1.1.8.1 1.1.8.2 1.1.8.3 1.1.8.4 1.10.0.1 1.10.0.2 1.10.0.3 1.10.0.4 1.2.0 1.2.0.1 1.2.1 1.2.2 1.2.2.1 1.2.2.2 1.2.3 1.2.3.1 1.2.3.2 1.2.4 1.2.4.1 1.2.5 1.2.5.1 1.2.6 1.2.7 1.2.8 1.2.8.1 1.2.9 1.3.0 1.3.1 1.3.1.1 1.3.1.2 1.3.2 1.3.3 1.3.5 1.3.6 1.3.6.1 1.3.6.2 1.3.7.2 1.3.7.3 1.3.7.4 1.3.8 1.3.9.1 1.4.0.1 1.4.1.1 1.4.2 1.4.2.1 1.4.2.2 1.4.3 1.4.4 1.4.4.1 1.4.5 1.4.5.1 1.4.5.2 1.4.5.3 1.4.6 1.4.7.1 1.4.7.2 1.4.8.1 1.4.9 1.5.0.1 1.5.0.3 1.5.0.4 1.5.1 1.5.1.1 1.5.1.3 1.5.2.1 1.5.2.2 1.5.2.3 1.5.3 1.5.3.1 1.5.4.1 1.5.4.2 1.5.5 1.5.5.1 1.5.6 1.5.6.2 1.5.7 1.5.8.2 1.5.9.1 1.5.9.4 1.5.9.5 1.6.0.1 1.6.0.2 1.6.1 1.6.2.2 1.6.2.3 1.6.3.1 1.6.4 1.6.4.1 1.6.5 1.6.6 1.6.7 1.6.7.1 1.6.7.2 1.6.7.3 1.6.8 1.6.8.1 1.6.9 1.7.0 1.7.1.1 1.7.1.2 1.7.2 1.7.2.1 1.7.3 1.7.4 1.7.4.1 1.7.4.2 1.7.5.1 1.7.5.2 1.7.5.3 1.7.5.5 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.7.9.1 1.8.0.1 1.8.0.2 1.8.1.1 1.8.1.2 1.8.1.3 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.3.1 1.8.4 1.8.4.1 1.8.5.2 1.8.5.3 1.8.5.4 1.8.6.2 1.8.6.3 1.8.6.4 1.8.7.2 1.8.8.2 1.8.8.3 1.8.9.1 1.8.9.2 1.8.9.4 1.8.9.5 1.8.9.6 1.9.0.1 1.9.0.2 1.9.0.3 1.9.0.4 1.9.1.1 1.9.1.2 1.9.1.3 1.9.1.4 1.9.1.5 1.9.1.6 1.9.2.1 1.9.2.2 1.9.2.3 1.9.3.1 1.9.3.2 1.9.4.1 1.9.4.2 1.9.5 1.9.5.1 1.9.5.2 1.9.6 1.9.6.1 1.9.6.2 1.9.7.1 1.9.7.2 1.9.7.3 1.9.8.1 1.9.8.2 1.9.8.4 1.9.8.7 1.9.9.2 1.9.9.3 1.9.9.4
wpforms-lite / templates / education / admin / page.php
wpforms-lite / templates / education / admin Last commit date
edit-post 1 year ago payments 1 year ago settings 1 year ago page.php 1 year ago
page.php
106 lines
1 <?php
2 /**
3 * General education template.
4 *
5 * @since 1.8.6
6 *
7 * @var string $action Is plugin installed?
8 * @var string $path Plugin file.
9 * @var string $url URL download plugin download.
10 * @var bool $plugin_allow Allow using plugin.
11 * @var string $heading_title Heading title.
12 * @var string $badge Badge.
13 * @var string $heading_description Heading description.
14 * @var string $features_description Features description.
15 * @var array $features List of features.
16 * @var array $images List of images.
17 * @var string $utm_medium UTM medium.
18 * @var string $utm_content UTM content.
19 * @var string $upgrade_link Upgrade link.
20 */
21 if ( ! defined( 'ABSPATH' ) ) {
22 exit;
23 }
24 ?>
25
26 <div class="wpforms-education-page">
27 <div class="wpforms-education-page-heading">
28 <?php if ( isset( $heading_title ) ) : ?>
29 <h4>
30 <?php echo esc_html( $heading_title ); ?>
31 <?php if ( isset( $badge ) ) : ?>
32 <span class="wpforms-badge wpforms-badge-sm wpforms-badge-inline wpforms-badge-titanium wpforms-badge-rounded"><?php echo esc_html( $badge ); ?></span>
33 <?php endif; ?>
34 </h4>
35 <?php endif; ?>
36 <?php
37 if ( isset( $heading_description ) ) {
38 echo wp_kses_post( $heading_description );
39 }
40 ?>
41 </div>
42
43 <div class="wpforms-education-page-media">
44 <div class="wpforms-education-page-images">
45 <?php
46 if ( isset( $images ) ) :
47 foreach ( $images as $image ) :
48 ?>
49 <figure>
50 <div class="wpforms-education-page-images-image">
51 <img src="<?php echo esc_url( $image['url'] ); ?>" alt="<?php echo esc_attr( $image['title'] ); ?>" />
52 <a href="<?php echo esc_url( $image['url2x'] ); ?>" class="hover" data-lity data-lity-desc="<?php echo esc_attr( $image['title'] ); ?>"></a>
53 </div>
54 <figcaption><?php echo esc_html( $image['title'] ); ?></figcaption>
55 </figure>
56 <?php
57 endforeach;
58 endif;
59 ?>
60 </div>
61 </div>
62
63 <div class="wpforms-education-page-caps">
64 <?php if ( isset( $features_description ) ) : ?>
65 <p><?php echo esc_html( $features_description ); ?></p>
66 <?php endif; ?>
67 <ul>
68 <?php
69 if ( isset( $features ) ) :
70 foreach ( $features as $feature ) :
71 ?>
72 <li>
73 <i class="fa fa-solid fa-check"></i>
74 <?php echo esc_html( $feature ); ?>
75 </li>
76 <?php
77 endforeach;
78 endif;
79 ?>
80 </ul>
81 </div>
82
83 <div class="wpforms-education-page-button">
84 <?php
85 if ( isset( $action ) ) {
86 wpforms_edu_get_button(
87 $action,
88 $plugin_allow,
89 $path,
90 $url,
91 [
92 'medium' => $utm_medium,
93 'content' => $utm_content,
94 ]
95 );
96 } else {
97 printf(
98 '<a href="%s" target="_blank" rel="noopener noreferrer" class="wpforms-upgrade-modal wpforms-btn wpforms-btn-lg wpforms-btn-orange">%s</a>',
99 esc_url( wpforms_admin_upgrade_link( $utm_medium, $utm_content ) ),
100 esc_html__( 'Upgrade to WPForms Pro', 'wpforms-lite' )
101 );
102 }
103 ?>
104 </div>
105 </div>
106