PluginProbe
WP Coder – Insert & Manage Code Snippets / 2.3.1
WP Coder – Insert & Manage Code Snippets v2.3.1
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / admin / partials / extension.php

extension.php in WP Coder – Insert & Manage Code Snippets 2.3.1, at admin/partials/extension.php

157 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit;
2 /**
3 * Extansion version
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
13 <style>
14 .feature-section.one-col p {
15 font-size: 16px;
16 }
17 .lg-thank-you {
18 color: #777;
19 }
20 .itembox {
21
22 }
23 .faq-title{
24 cursor: pointer;
25 }
26 .faq-title:before{
27 content: "\f132";
28 font-family: Dashicons;
29 vertical-align: bottom;
30 margin-right: 8px;
31 color: #e95645
32
33 }
34 .toggleshow:before{
35 content: "\f132";
36 font-family: Dashicons;
37 color: #e95645
38 }
39 .togglehide:before{
40 content: "\f460";
41 font-family: Dashicons;
42 }
43 .item-title {
44 margin: 1.25em 0 .6em;
45 font-size: 1em;
46 line-height: 1;
47 color: #1e73be;
48 }
49 .items .inside {
50 margin: 10px 10px 10px 20px;
51 }
52 .feature-section ul {
53 margin-left: 10px;
54 }
55 .feature-section ul li:before {
56 content: "\f147";
57 font-family: Dashicons;
58 margin-right: 5px;
59 color: #e95645
60 }
61 .lg-btn {
62 width: 50%;
63 display: inline-block;
64 height: 42px;
65 background: #e95645;
66 border-radius: 3px;
67 line-height: 42px;
68 text-align: center;
69 color: #fff !important;
70 text-decoration: none;
71 font-size: 18px;
72 font-weight: 500;
73 cursor: pointer;
74 border:none;
75 }
76 .lg-btn:hover {
77 background: #d45041;
78 }
79
80 </style>
81
82 <script>
83 jQuery(document).ready(function($) {
84 $('.item-title').children('.faq-title').click(function(){
85 var par = $(this).closest('.items');
86 $(par).children(".inside").toggle(500);
87 if($(this).hasClass('togglehide')){
88 $(this).removeClass('togglehide');
89 $(this).addClass( "toggleshow" );
90 $(this).attr('title', 'Show');
91 }
92 else {
93 $(this).removeClass('toggleshow');
94 $(this).addClass( "togglehide" );
95 $(this).attr('title', 'Hide');
96 }
97 });
98 })
99 </script>
100 <div class="about-wrap">
101 <div class="feature-section one-col">
102 <div class="col">
103
104 <p>GET MORE FEATURES WITH THE PLUGIN EXTENSION.</p>
105
106 <p><center><a href="<?php echo $this->pro_url; ?>" target="_blank" class="lg-btn">Get Pro Version</a></center></p>
107
108 <p>ADDITIONAL OPTIONS IN PRO VERSION:</p>
109
110 <div class="items itembox">
111 <div class="item-title">
112 <span class="faq-title">User Target</span>
113 </div>
114 <div class="inside" style="display: none;">
115 <p>You can customize display the item on the page depending on the role of the user who is on the site. You can configure targeting for such user groups:</p>
116 <ul>
117 <li>All users;</li>
118 <li>Unauthorized users;</li>
119 <li>Authorized users;</li>
120 <li>The role of the authorized user on the site;</li>
121 <ul>
122 </div>
123 </div>
124
125 <div class="items itembox">
126 <div class="item-title">
127 <span class="faq-title">Multi language</span>
128 </div>
129 <div class="inside" style="display: none;">
130 <p>The condition for display the item depending on the language of the site.</p>
131 <p>It is good to use if you have a website in several languages and you need to show different elements for a different language.</p>
132 </div>
133 </div>
134
135 <div class="items itembox">
136 <div class="item-title">
137 <span class="faq-title">Target to content</span>
138 </div>
139 <div class="inside" style="display: none;">
140 <p>Choose a condition to target your item to specific content or various other segments. You can display the item on:</p>
141 <ul>
142 <li>All posts and pages;</li>
143 <li>Only posts;</li>
144 <li>Only pages;</li>
145 <li>Posts with certain IDs;</li>
146 <li>Pages with certain IDs;</li>
147 <li>Posts in Categorys with IDs;</li>
148 <li>All posts, except;</li>
149 <li>All pages, except;</li>
150 <li>Taxonomy;</li>
151 <ul>
152 </div>
153 </div>
154 </div>
155
156 </div>
157 </div>