| @@ -12,28 +12,8 @@ | ||
| 12 | 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | 13 | exit; |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | -$items = get_transient( 'wow_items_code' ); | |
| 17 | -$items = false; | |
| 18 | - | |
| 19 | -if ( $items == false ) { | |
| 20 | - $url = 'https://wow-estore.com/a-plugins/items/'; | |
| 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 | 16 | ?> |
| 37 | 17 | <style> |
| 38 | 18 | .height_screen { |
| 39 | 19 | height: 320px; |
| @@ -68,35 +48,86 @@ | ||
| 68 | 48 | float: right; |
| 69 | 49 | } |
| 70 | 50 | </style> |
| 71 | 51 | |
| 72 | -<h3>Have any idea about CSS and JS item? Write us now on email support@wow-company.com or via Support page.</h3> | |
| 52 | +<h3>Have any idea about CSS and JS item? Write us now on email yoda@wow-company.com or via Support page.</h3> | |
| 73 | 53 | |
| 74 | 54 | <div class="theme-browser"> |
| 75 | - <div class="themes"> | |
| 76 | - <?php | |
| 77 | - $image = 'https://wow-estore.com/a-plugins/items/img/'; | |
| 78 | - foreach ( $items as $key => $value ) { ?> | |
| 55 | + <div class="themes"> | |
| 79 | 56 | |
| 80 | - <div class="theme"> | |
| 81 | - <div class="height_screen"> | |
| 82 | - <a target="_blank" href="<?php echo esc_url( $value[3] ); ?>" target="_blank"><img | |
| 83 | - src="<?php echo esc_url( $image . $value[2] ); ?>"/> | |
| 84 | - <span><?php echo esc_attr( $value[1] ); ?></span> | |
| 85 | - </a> | |
| 86 | - </div> | |
| 87 | - <div class="theme-author"></div> | |
| 88 | - <div class="theme-id-container"> | |
| 89 | - <h2 class="theme-name"> | |
| 90 | - <span><?php echo esc_attr( $value[0] ); ?></span> | |
| 91 | - </h2> | |
| 92 | - <div class="theme-actions"> | |
| 93 | - <?php if ( ! empty( $value[3] ) ) : ?> | |
| 94 | - <a class="button activate" href="<?php echo esc_url( $value[3] ); ?>">Get Now</a> | |
| 95 | - <?php endif; ?> | |
| 57 | + <div class="theme"> | |
| 58 | + <div class="height_screen"> | |
| 59 | + <a target="_blank" href="https://wow-estore.com/item/jquery-counters/"> | |
| 60 | + <img src="<?php echo esc_url($this->plugin_url);?>assets/img/jq-counter.png"> | |
| 61 | + <span>Increasing the Conversion of Purchases via any Counters, Countdowns and Timers</span> | |
| 62 | + </a> | |
| 63 | + </div> | |
| 64 | + <div class="theme-author"></div> | |
| 65 | + <div class="theme-id-container"> | |
| 66 | + <h2 class="theme-name"> | |
| 67 | + <span>jQuery Counters</span> | |
| 68 | + </h2> | |
| 69 | + <div class="theme-actions"> | |
| 70 | + <a class="button activate" href="https://wow-estore.com/item/jquery-counters/">Get Now</a> | |
| 96 | 71 | |
| 97 | - </div> | |
| 98 | - </div> | |
| 99 | - </div> | |
| 100 | - <?php } ?> | |
| 101 | - </div> | |
| 72 | + </div> | |
| 73 | + </div> | |
| 74 | + </div> | |
| 75 | + | |
| 76 | + <div class="theme"> | |
| 77 | + <div class="height_screen"> | |
| 78 | + <a target="_blank" href="https://wow-estore.com/item/jquery-popup-notifications/"> | |
| 79 | + <img src="<?php echo esc_url($this->plugin_url);?>assets/img/jq-notification.jpg"> | |
| 80 | + <span>Create and show fake notifications to motivate users to take action on your site.</span> | |
| 81 | + </a> | |
| 82 | + </div> | |
| 83 | + <div class="theme-author"></div> | |
| 84 | + <div class="theme-id-container"> | |
| 85 | + <h2 class="theme-name"> | |
| 86 | + <span>jQuery Popup Notifications</span> | |
| 87 | + </h2> | |
| 88 | + <div class="theme-actions"> | |
| 89 | + <a class="button activate" href="https://wow-estore.com/item/jquery-popup-notifications/">Get Now</a> | |
| 90 | + | |
| 91 | + </div> | |
| 92 | + </div> | |
| 93 | + </div> | |
| 94 | + | |
| 95 | + <div class="theme"> | |
| 96 | + <div class="height_screen"> | |
| 97 | + <a target="_blank" href="https://wow-estore.com/item/side-menu-pure-css/"> | |
| 98 | + <img src="<?php echo esc_url($this->plugin_url);?>assets/img/side-menu-css.jpg"> | |
| 99 | + <span>Easily create Side Menu of varying complexity</span> | |
| 100 | + </a> | |
| 101 | + </div> | |
| 102 | + <div class="theme-author"></div> | |
| 103 | + <div class="theme-id-container"> | |
| 104 | + <h2 class="theme-name"> | |
| 105 | + <span>CSS Side menu</span> | |
| 106 | + </h2> | |
| 107 | + <div class="theme-actions"> | |
| 108 | + <a class="button activate" href="https://wow-estore.com/item/side-menu-pure-css/">Get Now</a> | |
| 109 | + | |
| 110 | + </div> | |
| 111 | + </div> | |
| 112 | + </div> | |
| 113 | + | |
| 114 | + <div class="theme"> | |
| 115 | + <div class="height_screen"> | |
| 116 | + <a target="_blank" href="https://wow-estore.com/item/floating-action-buttons/"> | |
| 117 | + <img src="<?php echo esc_url($this->plugin_url);?>assets/img/floating-button-css.jpg"> | |
| 118 | + <span>Easily create a floating button with any functions</span> | |
| 119 | + </a> | |
| 120 | + </div> | |
| 121 | + <div class="theme-author"></div> | |
| 122 | + <div class="theme-id-container"> | |
| 123 | + <h2 class="theme-name"> | |
| 124 | + <span>CSS Floating Action Buttons</span> | |
| 125 | + </h2> | |
| 126 | + <div class="theme-actions"> | |
| 127 | + <a class="button activate" href="https://wow-estore.com/item/floating-action-buttons/">Get Now</a> | |
| 128 | + | |
| 129 | + </div> | |
| 130 | + </div> | |
| 131 | + </div> | |
| 132 | + </div> | |
| 102 | 133 | </div> |