PluginProbe
Float menu – awesome floating side menu / 4.0
Float menu – awesome floating side menu v4.0
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 / wow-plugins.php

wow-plugins.php in Float menu – awesome floating side menu 4.0, at includes/about/wow-plugins.php

117 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * WordPress plugin from Wow-Company
4 *
5 * @package Wow_Plugin
6 * @subpackage Wow-Company/Plugins
7 * @author Wow-Company <helper@wow-company.com>
8 * @copyright 2019 Wow-Company
9 * @license GNU P
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) {
13 exit;
14 }
15
16 $items = get_transient( 'wow_items_code' );
17 $items = false;
18
19 if ( $items == false ) {
20 $url = 'https://wow-estore.com/a-plugins/';
21 $request_args = array(
22 'method' => 'POST',
23 'timeout' => 20,
24 'redirection' => 5,
25 'httpversion' => '1.0',
26 'blocking' => true,
27 'headers' => array(
28 'content-type' => 'application/json'
29 ),
30 'body' => '',
31 );
32 $request = wp_remote_post( $url, $request_args );
33 $items = unserialize( $request['body'] );
34 set_transient( 'wow_items_code', $items, 604800 );
35 }
36 ?>
37 <style>
38 .height_screen {
39 height: 270px;
40 background: #fff;
41 }
42
43 .height_screen img {
44 max-width: 100%;
45 }
46
47 .height_screen span {
48 padding: 10px;
49 font-size: 16px;
50 font-weight: 500;
51 display: block;
52 }
53
54 .height_screen a {
55 color: #000;
56 text-decoration: none;
57 }
58
59 .themes {
60 overflow: hidden;
61 }
62
63 .theme-actions {
64 background: rgba(244, 244, 244, 1) !important;
65 }
66
67 .theme-name {
68 text-align: left !important;
69 }
70
71 .install {
72 float: right;
73 }
74 </style><h3>Several plugins below has free and pro versions you can install it and hopefully useful. Enjoy it.</h3>
75
76 <div class="theme-browser">
77 <div class="themes">
78 <?php
79 $image = 'https://wow-estore.com/a-plugins/img/';
80 foreach ( $items as $key => $value ) { ?>
81
82 <div class="theme">
83 <div class="height_screen">
84 <a target="_blank" href="<?php echo esc_url( $value[3] ); ?>" target="_blank"><img
85 src="<?php echo esc_url( $image . $value[2] ); ?>"/>
86 <span><?php echo esc_attr( $value[1] ); ?></span>
87 </a>
88 </div>
89 <div class="theme-author"></div>
90 <div class="theme-id-container">
91 <h2 class="theme-name">
92 <span><?php echo esc_attr( $value[0] ); ?></span>
93 <?php if ( ! empty( $value[5] ) ) : ?>
94 <span class="install"><?php echo esc_attr( $value[5] ); ?>+ <?php _e( 'Active Installs' ); ?></span>
95 <?php endif; ?>
96 </h2>
97 <div class="theme-actions">
98 <?php if ( ! empty( $value[3] ) ) : ?>
99 <a class="button activate" href="<?php echo esc_url( $value[3] ); ?>">Try FREE</a>
100 <?php endif; ?>
101 <?php if ( ! empty( $value[4] ) ) : ?>
102 <a class="button button-primary" href="<?php echo esc_url( $value[4] ); ?>" target="_blank">Get
103 PRO</a>
104 <?php endif; ?>
105 </div>
106 </div>
107 </div>
108 <?php } ?>
109 </div>
110 </div>
111
112 <p class="wow-thank-you">
113 <span class="thank-line">= = = = = = =</span><br/>
114 Thank you for choosing 'Wow Plugin'<br/>
115 Dmyto Lobov<br/>
116 <a href="https://wow-estore.com" target="_blank">Wow-Estore.com</a>
117 </p>