PluginProbe
Float menu – awesome floating side menu / 3.3.1
Float menu – awesome floating side menu v3.3.1
7.2.5 trunk 2.1 2.2 3.0.1 3.1 3.2.2 3.3.1 3.5 3.5.1 3.5.2 3.5.3. 3.5.4 4.0 4.1 4.1.1 4.2 4.3 4.3.1 4.3.2 5.0 5.0.1 5.0.2 5.0.3 5.1 All 57 releases
float-menu / includes / about / main.php

main.php in Float menu – awesome floating side menu 3.3.1, at includes/about/main.php

127 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Main Page
4 *
5 * @package Lead_Generation
6 * @subpackage
7 * @copyright Copyright (c) 2018, Dmytro Lobov
8 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 * @since 1.0
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) {
13 exit;
14 }
15 $logo = plugin_dir_url( __FILE__ ) . 'image/icon.png.';
16 ?>
17 <style>
18 .about-wrap .wow-badge {
19 position: absolute;
20 top: 0;
21 right: 0;
22 }
23
24 .wow-badge {
25 background: url(<?php echo esc_url( $logo );?>) center 15px no-repeat #1f9ef8;
26 background-size: 100px 100px;
27 color: #ffffff;
28 font-size: 14px;
29 text-align: center;
30 font-weight: 600;
31 margin: 5px 0 0;
32 padding-top: 120px;
33 height: 40px;
34 display: inline-block;
35 width: 140px;
36 text-rendering: optimizeLegibility;
37 box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
38 }
39
40 .wow-subscribe {
41 padding: 5px 7px;
42 border-radius: 5px;
43 border: 1px solid #ccc;
44 text-decoration: none;
45 font-size: 14px;
46 line-height: 14px;
47 color: #999;
48 }
49
50 .wow-subscribe::before {
51 font-family: dashicons;
52 font-size: 12px;
53 line-height: 14px;
54 }
55
56 .button-pro {
57 vertical-align: top;
58 display: inline-block;
59 text-decoration: none;
60 font-size: 13px;
61 line-height: 26px;
62 height: 28px;
63 margin: 0;
64 padding: 0 10px 1px;
65 cursor: pointer;
66 border-width: 0;
67 border-style: solid;
68 -webkit-appearance: none;
69 -webkit-border-radius: 3px;
70 border-radius: 3px;
71 white-space: nowrap;
72 -webkit-box-sizing: border-box;
73 -moz-box-sizing: border-box;
74 box-sizing: border-box;
75 color: #fff !important;
76 background: #37c781;
77 }
78
79 .button-pro:hover {
80 background: #303030;
81 }
82
83 .button-pro:active {
84 background: #303030;
85 }
86 .wow-thank-you {
87 color: #777777;
88 font-style: italic;
89 }
90 </style>
91
92
93 <div class="wrap about-wrap full-width-layout">
94
95 <h1><?php esc_attr_e( 'Welcome', $this->plugin['text'] ); ?> </h1>
96
97 <p class="about-text">
98 <?php esc_attr_e( 'Congratulations! You are about to use one of the plugins from Wow-Company.', $this->plugin['text'] ); ?> </p>
99 <p>
100 <a href="https://www.facebook.com/wowaffect/" class="wow-subscribe" target="_blank">Stay in touch <span
101 class="dashicons dashicons-facebook-alt"></span></a>
102 </p>
103 <span class="wow-badge">Wow-Company</span>
104
105 <?php
106 $current = ( isset( $_GET['tab'] ) ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wow-plugins';
107 $tabs = array(
108 'wow-plugins' => __( 'Plugins', $this->plugin['text'] ),
109 // 'support' => __( 'Support', $this->plugin['text'] ),
110 );
111
112 echo '<h2 class="nav-tab-wrapper wp-clearfix">';
113 foreach ( $tabs as $tab => $name ) {
114 $class = ( $tab === $current ) ? ' nav-tab-active' : '';
115 echo '<a class="nav-tab' . esc_attr( $class ) . '" href="?page=wow-company&tab=' . esc_attr( $tab ) . '">' .
116 esc_attr( $name ) . '</a>';
117 }
118 echo '</h2>';
119
120 echo '<div class="stem-content">';
121 include( $current . '.php' );
122 echo '</div>';
123 ?>
124 </div>
125
126
127