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

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

115 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Items
4 *
5 * @package Wow_Plugin
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
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 .theme-name {
67 text-align: left !important;
68 }
69 .install {
70 float: right;
71 }
72 </style>
73 <h3>Several plugins below has free and pro versions you can install it and hopefully useful. Enjoy it.</h3>
74
75 <div class="theme-browser">
76 <div class="themes">
77 <?php
78 $image = 'https://wow-estore.com/a-plugins/img/';
79 foreach ( $items as $key => $value ) { ?>
80
81 <div class="theme">
82 <div class="height_screen">
83 <a target="_blank" href="<?php echo esc_url( $value[3] ); ?>" target="_blank"><img
84 src="<?php echo esc_url( $image . $value[2] ); ?>"/>
85 <span><?php echo esc_attr( $value[1] ); ?></span>
86 </a>
87 </div>
88 <div class="theme-author"></div>
89 <div class="theme-id-container">
90 <h2 class="theme-name">
91 <span><?php echo esc_attr( $value[0] ); ?></span>
92 <?php if ( ! empty( $value[5] ) ) : ?>
93 <span class="install"><?php echo esc_attr( $value[5] ); ?>+ <?php _e( 'Active Installs' ); ?></span>
94 <?php endif; ?>
95 </h2>
96 <div class="theme-actions">
97 <?php if ( ! empty( $value[3] ) ) : ?>
98 <a class="button activate" href="<?php echo esc_url( $value[3] ); ?>">Try FREE</a>
99 <?php endif; ?>
100 <?php if ( ! empty( $value[4] ) ) : ?>
101 <a class="button button-primary" href="<?php echo esc_url( $value[4] ); ?>" target="_blank">Get PRO</a>
102 <?php endif; ?>
103 </div>
104 </div>
105 </div>
106 <?php } ?>
107 </div>
108 </div>
109
110 <p class="wow-thank-you">
111 <span class="thank-line">= = = = = = =</span><br/>
112 Thank you for choosing 'Wow Plugin'<br/>
113 Dmyto Lobov<br/>
114 <a href="https://wow-estore.com" target="_blank">Wow-Estore.com</a>
115 </p>