Version Description
- Debugging impression count
- Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
Download this release
Release Info
Developer | adbox |
Plugin | WordPress Landing Pages |
Version | 2.2.0 |
Comparing to | |
See all releases |
Code changes from version 2.1.9 to 2.2.0
- classes/class.acf-integration.php +1 -2
- classes/class.inbound-statistics.php +0 -375
- classes/class.post-type.landing-page.php +10 -25
- classes/class.statistics.php +207 -0
- landing-pages.php +4 -4
- readme.txt +5 -1
- shared/classes/class.form.php +249 -249
- shared/classes/class.inbound-api.api-keys-table.php +1 -1
- shared/classes/class.lead-storage.php +1 -1
- shared/classes/class.post-type.wp-lead.php +5 -5
- shared/classes/class.template-utils.php +2 -2
- shared/shortcodes/inbound-shortcodes.php +5 -5
- shared/shortcodes/popup.php +2 -2
- shared/shortcodes/shortcodes/alert.php +9 -9
- shared/shortcodes/shortcodes/button.php +20 -20
- shared/shortcodes/shortcodes/call-to-action.php +4 -4
- shared/shortcodes/shortcodes/callout.php +25 -25
- shared/shortcodes/shortcodes/column.php +7 -7
- shared/shortcodes/shortcodes/content-box.php +19 -19
- shared/shortcodes/shortcodes/divider.php +27 -27
- shared/shortcodes/shortcodes/gmap.php +20 -20
- shared/shortcodes/shortcodes/icon.php +15 -15
- shared/shortcodes/shortcodes/intro.php +19 -19
- shared/shortcodes/shortcodes/landing-page-list.php +20 -20
- shared/shortcodes/shortcodes/landing_pages.php +34 -34
- shared/shortcodes/shortcodes/leadp.php +5 -5
- shared/shortcodes/shortcodes/list-icon.php +3 -3
- shared/shortcodes/shortcodes/lists.php +13 -13
- shared/shortcodes/shortcodes/pricing.php +38 -38
- shared/shortcodes/shortcodes/profile.php +30 -30
- shared/shortcodes/shortcodes/quick-forms.php +4 -4
- shared/shortcodes/shortcodes/social-share.php +21 -21
- shared/shortcodes/shortcodes/social.php +16 -16
- shared/shortcodes/shortcodes/tabs.php +13 -13
- shared/shortcodes/shortcodes/teaser.php +53 -53
- shared/shortcodes/shortcodes/testimonial.php +28 -28
- shared/shortcodes/shortcodes/video.php +2 -2
classes/class.acf-integration.php
CHANGED
@@ -182,11 +182,10 @@ if (!class_exists('Landing_Pages_ACF')) {
|
|
182 |
|
183 |
}
|
184 |
|
185 |
-
if ( !is_admin() && is_string($value) ) {
|
186 |
$value = do_shortcode($value);
|
187 |
}
|
188 |
|
189 |
-
|
190 |
/* handle non acf5 template return formatting */
|
191 |
if (defined('ACF_PRO')) {
|
192 |
$value = self::acf_check_if_acf4( $value , $field );
|
182 |
|
183 |
}
|
184 |
|
185 |
+
if ( !is_admin() && is_string($value) && !defined('INBOUND_DEBUG_GF_AJAX') ) {
|
186 |
$value = do_shortcode($value);
|
187 |
}
|
188 |
|
|
|
189 |
/* handle non acf5 template return formatting */
|
190 |
if (defined('ACF_PRO')) {
|
191 |
$value = self::acf_check_if_acf4( $value , $field );
|
classes/class.inbound-statistics.php
DELETED
@@ -1,375 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* This class adds a impressions/conversions counter box to all post types that are not a landing page
|
5 |
-
*/
|
6 |
-
|
7 |
-
if (!class_exists('Inbound_Content_Statistics')) {
|
8 |
-
|
9 |
-
/**
|
10 |
-
* Adds impression and conversion tracking statistics to all pieces of content
|
11 |
-
*/
|
12 |
-
class Inbound_Content_Statistics {
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Initiate class
|
16 |
-
*/
|
17 |
-
public function __construct() {
|
18 |
-
self::load_hooks();
|
19 |
-
}
|
20 |
-
|
21 |
-
/**
|
22 |
-
* load hooks and filters
|
23 |
-
*/
|
24 |
-
public static function load_hooks() {
|
25 |
-
|
26 |
-
/* add statistics metabox to non landing-page post types */
|
27 |
-
add_action('add_meta_boxes', array(__CLASS__, 'add_statistics_metabox'), 10);
|
28 |
-
|
29 |
-
/* Adds Ajax for Clear Stats button */
|
30 |
-
add_action('wp_ajax_inbound_content_clear_stats', array(__CLASS__, 'ajax_clear_stats'));
|
31 |
-
|
32 |
-
|
33 |
-
/* records page impression */
|
34 |
-
add_action( 'lp_record_impression' , array( __CLASS__ , 'record_impression' ) , 10, 3);
|
35 |
-
|
36 |
-
/* record landing page conversion */
|
37 |
-
add_filter( 'inboundnow_store_lead_pre_filter_data' , array( __CLASS__ , 'record_conversion' ) ,10,1);
|
38 |
-
|
39 |
-
/* load impressions/conversions collumns on non lp post types */
|
40 |
-
if (is_admin() ) {
|
41 |
-
/* Register Columns */
|
42 |
-
add_filter( 'manage_post_posts_columns' , array( __CLASS__ , 'register_columns') , 20 );
|
43 |
-
add_filter( 'manage_page_posts_columns' , array( __CLASS__ , 'register_columns') , 20 );
|
44 |
-
|
45 |
-
/* Prepare Column Data */
|
46 |
-
add_action( "manage_posts_custom_column", array( __CLASS__ , 'prepare_column_data' ) , 10, 2 );
|
47 |
-
|
48 |
-
/* enqueue admin scripts */
|
49 |
-
add_action('admin_enqueue_scripts' , array( __CLASS__ , 'enqueue_scripts'));
|
50 |
-
}
|
51 |
-
|
52 |
-
}
|
53 |
-
|
54 |
-
/**
|
55 |
-
* Enqueue admin scripts
|
56 |
-
*/
|
57 |
-
public static function enqueue_scripts() {
|
58 |
-
|
59 |
-
if (!isset($_GET['post'])){
|
60 |
-
return;
|
61 |
-
}
|
62 |
-
|
63 |
-
wp_enqueue_style('lp-content-stats', LANDINGPAGES_URLPATH . 'assets/css/admin/content-stats.css');
|
64 |
-
|
65 |
-
}
|
66 |
-
|
67 |
-
|
68 |
-
/**
|
69 |
-
* Add mtatistic metabox to non blacklisted post types
|
70 |
-
*/
|
71 |
-
public static function add_statistics_metabox( $post_type ) {
|
72 |
-
global $pagenow;
|
73 |
-
|
74 |
-
$exclude[] = 'attachment';
|
75 |
-
$exclude[] = 'revisions';
|
76 |
-
$exclude[] = 'nav_menu_item';
|
77 |
-
$exclude[] = 'wp-lead';
|
78 |
-
$exclude[] = 'automation';
|
79 |
-
$exclude[] = 'rule';
|
80 |
-
$exclude[] = 'list';
|
81 |
-
$exclude[] = 'wp-call-to-action';
|
82 |
-
$exclude[] = 'tracking-event';
|
83 |
-
$exclude[] = 'inbound-forms';
|
84 |
-
$exclude[] = 'email-template';
|
85 |
-
$exclude[] = 'inbound-email';
|
86 |
-
$exclude[] = 'inbound-log';
|
87 |
-
$exclude[] = 'landing-page';
|
88 |
-
$exclude[] = 'acf-field-group';
|
89 |
-
$exclude[] = 'download';
|
90 |
-
|
91 |
-
if ( $pagenow === 'post.php' && !in_array($post_type,$exclude) ) {
|
92 |
-
add_meta_box( 'inbound-content-statistics', __( 'Inbound Statistics' , 'inbound-pro' ) , array( __CLASS__ , 'display_statistics' ) , $post_type, 'side', 'high');
|
93 |
-
}
|
94 |
-
|
95 |
-
}
|
96 |
-
|
97 |
-
/**
|
98 |
-
* Display Inbound Content Statistics
|
99 |
-
*/
|
100 |
-
public static function display_statistics() {
|
101 |
-
|
102 |
-
global $post;
|
103 |
-
|
104 |
-
?>
|
105 |
-
<div>
|
106 |
-
<script >
|
107 |
-
jQuery(document).ready(function($) {
|
108 |
-
jQuery( 'body' ).on( 'click', '.lp-delete-var-stats', function() {
|
109 |
-
var post_id = jQuery(this).attr("rel");
|
110 |
-
|
111 |
-
if (confirm( '<?php _e( "Are you sure you want to delete stats for this post?" , "landing-pages" ); ?> ')) {
|
112 |
-
jQuery.ajax({
|
113 |
-
type: 'POST',
|
114 |
-
url: ajaxurl,
|
115 |
-
context: this,
|
116 |
-
data: {
|
117 |
-
action: 'inbound_content_clear_stats',
|
118 |
-
post_id: post_id
|
119 |
-
},
|
120 |
-
success: function(data){
|
121 |
-
jQuery(".bab-stat-span-impressions").text("0");
|
122 |
-
jQuery(".bab-stat-span-conversions").text("0");
|
123 |
-
jQuery(".bab-stat-span-conversion_rate").text("0");
|
124 |
-
},
|
125 |
-
|
126 |
-
error: function(MLHttpRequest, textStatus, errorThrown){
|
127 |
-
alert("Ajax not enabled");
|
128 |
-
}
|
129 |
-
});
|
130 |
-
|
131 |
-
return false;
|
132 |
-
}
|
133 |
-
});
|
134 |
-
});
|
135 |
-
</script>
|
136 |
-
<div class="inside" style='margin-left:-8px;'>
|
137 |
-
<div id="bab-stat-box">
|
138 |
-
|
139 |
-
<?php
|
140 |
-
$impressions = apply_filters('inbound_impressions' , get_post_meta($post->ID,'_inbound_impressions_count', true) );
|
141 |
-
$conversions = apply_filters('inbound_conversions' , get_post_meta($post->ID,'_inbound_conversions_count', true) );
|
142 |
-
|
143 |
-
|
144 |
-
$impressions = (is_numeric($impressions)) ? $impressions : 0;
|
145 |
-
$conversions = (is_numeric($conversions)) ? $conversions : 0;
|
146 |
-
|
147 |
-
if ($impressions > 0) {
|
148 |
-
$conversion_rate = $conversions / $impressions;
|
149 |
-
$sign = (($conversions === 0)) ? "" : "%";
|
150 |
-
$conversion_rate = round($conversion_rate, 2) * 100 . $sign;
|
151 |
-
} else {
|
152 |
-
$conversion_rate = 0;
|
153 |
-
}
|
154 |
-
?>
|
155 |
-
<div id="" class="bab-variation-row" >
|
156 |
-
<div class="bab-stat-row">
|
157 |
-
<div class='bab-stat-stats' colspan='2'>
|
158 |
-
<div class='bab-stat-container-impressions bab-number-box'>
|
159 |
-
<span class='bab-stat-span-impressions'><?php echo $impressions; ?></span>
|
160 |
-
<span class="bab-stat-id"><?php _e( 'Views' , 'inbound-pro' ); ?></span>
|
161 |
-
</div>
|
162 |
-
<div class='bab-stat-container-conversions bab-number-box'>
|
163 |
-
<span class='bab-stat-span-conversions'><?php echo $conversions; ?></span>
|
164 |
-
<span class="bab-stat-id"><?php _e( 'Conversions' , 'inbound-pro' ); ?></span></span>
|
165 |
-
</div>
|
166 |
-
<div class='bab-stat-container-conversion_rate bab-number-box'>
|
167 |
-
<span class='bab-stat-span-conversion_rate'><?php echo $conversion_rate; ?></span>
|
168 |
-
<span class="bab-stat-id bab-rate"><?php _e( 'Conversion Rate' , 'inbound-pro' ); ?></span>
|
169 |
-
</div>
|
170 |
-
</div>
|
171 |
-
</div>
|
172 |
-
<div class='bab-stat-control-container'>
|
173 |
-
<span class="lp-delete-var-stats" rel='<?php echo $post->ID;?>' title="<?php _e( 'Delete this variations stats' , 'inbound-pro' ); ?>"><?php _e( 'Clear Stats' , 'inbound-pro' ); ?></span>
|
174 |
-
</div>
|
175 |
-
</div>
|
176 |
-
</div>
|
177 |
-
|
178 |
-
</div>
|
179 |
-
</div>
|
180 |
-
|
181 |
-
<?php
|
182 |
-
}
|
183 |
-
|
184 |
-
/**
|
185 |
-
* Ajax listener to clear stats related to content
|
186 |
-
*/
|
187 |
-
public static function ajax_clear_stats() {
|
188 |
-
global $wpdb;
|
189 |
-
|
190 |
-
$newrules = "0";
|
191 |
-
$post_id = inval($_POST['post_id']);
|
192 |
-
$vid = $_POST['variation'];
|
193 |
-
|
194 |
-
update_post_meta( $post_id, '_inbound_impressions_count', '0' );
|
195 |
-
update_post_meta( $post_id, '_inbound_conversions_count', '0' );
|
196 |
-
|
197 |
-
header('HTTP/1.1 200 OK');
|
198 |
-
}
|
199 |
-
|
200 |
-
/**
|
201 |
-
* Records landing page & non landing page impression
|
202 |
-
* @param $post_id
|
203 |
-
* @param string $post_type
|
204 |
-
* @param int $variation_id
|
205 |
-
*/
|
206 |
-
public static function record_impression($post_id, $post_type = 'landing-page', $variation_id = 0) {
|
207 |
-
|
208 |
-
/* If Landing Page Post Type */
|
209 |
-
if ( $post_type == 'landing-page' ) {
|
210 |
-
$impressions = Landing_Pages_Variations::get_impressions( $post_id, $variation_id );
|
211 |
-
$impressions++;
|
212 |
-
Landing_Pages_Variations::set_impressions_count( $post_id, $variation_id, $impressions );
|
213 |
-
}
|
214 |
-
/* If Non Landing Page Post Type */
|
215 |
-
else {
|
216 |
-
$impressions = Inbound_Content_Statistics::get_impressions_count( $post_id );
|
217 |
-
$impressions++;
|
218 |
-
Inbound_Content_Statistics::set_impressions_count( $post_id, $impressions );
|
219 |
-
}
|
220 |
-
}
|
221 |
-
|
222 |
-
/**
|
223 |
-
* Listens for new lead creation events and if the lead converted on a landing page then capture the conversion
|
224 |
-
* @param $data
|
225 |
-
*/
|
226 |
-
public static function record_conversion($data) {
|
227 |
-
|
228 |
-
if (!isset( $data['page_id'] ) ) {
|
229 |
-
return $data;
|
230 |
-
}
|
231 |
-
|
232 |
-
$post = get_post( $data['page_id'] );
|
233 |
-
if ($post) {
|
234 |
-
$data['post_type'] = $post->post_type;
|
235 |
-
}
|
236 |
-
|
237 |
-
/* this filter is used by Inbound Pro to check if visitor's ip is on a not track list */
|
238 |
-
$do_not_track = apply_filters('inbound_analytics_stop_track' , false );
|
239 |
-
|
240 |
-
if ( $do_not_track ) {
|
241 |
-
return $data;
|
242 |
-
}
|
243 |
-
|
244 |
-
/* increment conversions for landing pages */
|
245 |
-
if( isset($data['post_type']) && $data['post_type'] === 'landing-page' ) {
|
246 |
-
$conversions = Landing_Pages_Variations::get_conversions( $data['page_id'] , $data['variation'] );
|
247 |
-
$conversions++;
|
248 |
-
Landing_Pages_Variations::set_conversions_count( $data['page_id'] , $data['variation'] , $conversions );
|
249 |
-
|
250 |
-
}
|
251 |
-
/* increment conversions for non landing pages */
|
252 |
-
else {
|
253 |
-
$conversions = Inbound_Content_Statistics::get_conversions_count( $data['page_id'] );
|
254 |
-
$conversions++;
|
255 |
-
Inbound_Content_Statistics::set_conversions_count( $data['page_id'] , $conversions );
|
256 |
-
}
|
257 |
-
|
258 |
-
return $data;
|
259 |
-
}
|
260 |
-
|
261 |
-
/**
|
262 |
-
* Register Columns
|
263 |
-
*/
|
264 |
-
public static function register_columns( $cols ) {
|
265 |
-
|
266 |
-
$cols['inbound_impressions'] = __( 'Impressions' , 'inbound-email' );
|
267 |
-
$cols['inbound_conversions'] = __( 'Conversions' , 'inbound-email' );
|
268 |
-
$cols['inbound_conversion_rate'] = __( 'Conversion Rate' , 'inbound-email' );
|
269 |
-
|
270 |
-
return $cols;
|
271 |
-
}
|
272 |
-
|
273 |
-
/**
|
274 |
-
* Prepare Column Data
|
275 |
-
*/
|
276 |
-
public static function prepare_column_data( $column , $post_id ) {
|
277 |
-
global $post;
|
278 |
-
|
279 |
-
switch ($column) {
|
280 |
-
case "inbound_impressions":
|
281 |
-
echo self::get_impressions_count( $post->ID );
|
282 |
-
break;
|
283 |
-
case "inbound_conversions":
|
284 |
-
echo self::get_conversions_count( $post->ID );
|
285 |
-
break;
|
286 |
-
case "inbound_conversion_rate":
|
287 |
-
echo self::get_conversion_rate( $post->ID);
|
288 |
-
break;
|
289 |
-
}
|
290 |
-
}
|
291 |
-
|
292 |
-
|
293 |
-
/**
|
294 |
-
* Returns impression count for non landing pages. See Landing_Pages_Variations class for retrieving landing page statistics
|
295 |
-
*
|
296 |
-
* @param INT $post_id id of call to action
|
297 |
-
*
|
298 |
-
* @return INT impression count
|
299 |
-
*/
|
300 |
-
public static function get_impressions_count( $post_id ) {
|
301 |
-
|
302 |
-
$impressions = get_post_meta( $post_id , '_inbound_impressions_count' , true);
|
303 |
-
|
304 |
-
if (!is_numeric($impressions)) {
|
305 |
-
$impressions = 0;
|
306 |
-
}
|
307 |
-
|
308 |
-
return $impressions;
|
309 |
-
}
|
310 |
-
|
311 |
-
/**
|
312 |
-
* Returns conversion count for non landing page. See Landing_Pages_Variations class for retrieving landing page statistics
|
313 |
-
*
|
314 |
-
* @param INT $post_id id
|
315 |
-
*
|
316 |
-
* @return INT impression count
|
317 |
-
*/
|
318 |
-
public static function get_conversions_count( $post_id ) {
|
319 |
-
|
320 |
-
|
321 |
-
$conversions = get_post_meta( $post_id , '_inbound_conversions_count' , true);
|
322 |
-
|
323 |
-
if (!is_numeric($conversions)) {
|
324 |
-
$conversions = 0;
|
325 |
-
}
|
326 |
-
|
327 |
-
return $conversions;
|
328 |
-
}
|
329 |
-
|
330 |
-
/**
|
331 |
-
* Returns conversion count for non landing page. See Landing_Pages_Variations class for retrieving landing page statistics
|
332 |
-
*
|
333 |
-
* @param INT $post_id id
|
334 |
-
*
|
335 |
-
* @return INT
|
336 |
-
*/
|
337 |
-
public static function get_conversion_rate( $post_id ) {
|
338 |
-
|
339 |
-
$impressions = Inbound_Content_Statistics::get_impressions_count( $post_id );
|
340 |
-
$conversions = Inbound_Content_Statistics::get_conversions_count( $post_id );
|
341 |
-
|
342 |
-
if ($impressions > 0) {
|
343 |
-
$conversion_rate = $conversions / $impressions;
|
344 |
-
$conversion_rate_number = $conversion_rate * 100;
|
345 |
-
$conversion_rate_number = round($conversion_rate_number, 2);
|
346 |
-
$conversion_rate = $conversion_rate_number;
|
347 |
-
} else {
|
348 |
-
$conversion_rate = 0;
|
349 |
-
}
|
350 |
-
|
351 |
-
return $conversion_rate;
|
352 |
-
}
|
353 |
-
|
354 |
-
|
355 |
-
/**
|
356 |
-
* Set impression count
|
357 |
-
*/
|
358 |
-
public static function set_impressions_count( $post_id , $count ) {
|
359 |
-
update_post_meta( $post_id, '_inbound_impressions_count', $count );
|
360 |
-
}
|
361 |
-
|
362 |
-
/**
|
363 |
-
* Set conversion count
|
364 |
-
*/
|
365 |
-
public static function set_conversions_count( $post_id , $count ) {
|
366 |
-
update_post_meta( $post_id, '_inbound_conversions_count', $count );
|
367 |
-
}
|
368 |
-
|
369 |
-
}
|
370 |
-
|
371 |
-
add_action('init' , 'inbound_load_legacy_statistics' , 10 );
|
372 |
-
function inbound_load_legacy_statistics() {
|
373 |
-
new Inbound_Content_Statistics;
|
374 |
-
}
|
375 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/class.post-type.landing-page.php
CHANGED
@@ -398,45 +398,30 @@ if ( !class_exists('Landing_Pages_Post_Type') ) {
|
|
398 |
echo "<ul class='lp-varation-stat-ul'>";
|
399 |
$cr_array = array();
|
400 |
$i = 0;
|
401 |
-
|
402 |
-
$conversions = 0;
|
403 |
foreach ($variations as $key => $vid) {
|
404 |
$letter = Landing_Pages_Variations::vid_to_letter($post->ID, $key); /* convert to letter */
|
405 |
-
$
|
406 |
-
$
|
|
|
407 |
/* get variation status */
|
408 |
-
$
|
409 |
|
410 |
/* Get variation notes */
|
411 |
$each_notes = Landing_Pages_Variations::get_variation_notes( $post->ID, $vid );
|
412 |
|
413 |
-
|
414 |
-
|
415 |
-
$impressions += get_post_meta($post->ID, 'lp-ab-variation-impressions-' . $vid, true);
|
416 |
-
$conversions += get_post_meta($post->ID, 'lp-ab-variation-conversions-' . $vid, true);
|
417 |
-
if ($each_impression != 0) {
|
418 |
-
$conversion_rate = $final_conversion / $each_impression;
|
419 |
} else {
|
420 |
$conversion_rate = 0;
|
421 |
}
|
422 |
$conversion_rate = round($conversion_rate, 2) * 100;
|
|
|
423 |
$cr_array[] = $conversion_rate;
|
424 |
-
|
425 |
-
$final_status = __("(Paused)", 'inbound-pro');
|
426 |
-
} else {
|
427 |
-
$final_status = "";
|
428 |
-
}
|
429 |
-
/*if ($cr_array[$i] > $largest) {
|
430 |
-
$largest = $cr_array[$i];
|
431 |
-
}
|
432 |
-
(($largest === $conversion_rate)) ? $winner_class = 'lp-current-winner' : $winner_class = ""; */
|
433 |
-
(($final_conversion === "1")) ? $c_text = __('conversion', 'inbound-pro') : $c_text = __("conversions", 'inbound-pro');
|
434 |
-
(($each_impression === "1")) ? $i_text = __('visit', 'inbound-pro') : $i_text = __("visits", 'inbound-pro');
|
435 |
-
(($each_notes === "")) ? $each_notes = __('No notes', 'inbound-pro') : $each_notes = $each_notes;
|
436 |
$data_letter = "data-letter=\"" . $letter . "\"";
|
437 |
$edit_link = admin_url('post.php?post=' . $post->ID . '&lp-variation-id=' . $vid . '&action=edit');
|
438 |
-
$
|
439 |
-
echo "<li rel='" . $final_status . "' data-postid='" . $post->ID . "' data-letter='" . $letter . "' data-lp='' class='lp-stat-row-" . $vid . " " . $post->ID . '-' . $conversion_rate . " status-" . $v_status . "'><a " . $popup . " " . $data_letter . " class='lp-letter' title='click to edit this variation' href='" . $edit_link . "'>" . $letter . "</a><span class='lp-numbers'><span class='lp-visitors'><span class='visit-text'>" . $i_text . "</span><span class='lp-impress-num'>" . $each_impression . "</span></span> <span class='lp-conversions'> <span class='lp-conversion-txt'>" . $c_text . "</span> <span class='lp-con-num'>" . $final_conversion . "</span> </span> </span><a " . $popup . " " . $data_letter . " class='cr-number cr-empty-" . $conversion_rate . "' href='" . $edit_link . "'>" . $conversion_rate . "%</a></li>";
|
440 |
$i++;
|
441 |
}
|
442 |
echo "</ul>";
|
398 |
echo "<ul class='lp-varation-stat-ul'>";
|
399 |
$cr_array = array();
|
400 |
$i = 0;
|
401 |
+
|
|
|
402 |
foreach ($variations as $key => $vid) {
|
403 |
$letter = Landing_Pages_Variations::vid_to_letter($post->ID, $key); /* convert to letter */
|
404 |
+
$impressions = Landing_Pages_Variations::get_impressions($post->ID, $vid);
|
405 |
+
$conversions = Landing_Pages_Variations::get_conversions($post->ID, $vid);
|
406 |
+
|
407 |
/* get variation status */
|
408 |
+
$status = Landing_Pages_Variations::get_variation_status( $post->ID, $vid ); /* Current status */
|
409 |
|
410 |
/* Get variation notes */
|
411 |
$each_notes = Landing_Pages_Variations::get_variation_notes( $post->ID, $vid );
|
412 |
|
413 |
+
if ($impressions) {
|
414 |
+
$conversion_rate = $conversions / $impressions;
|
|
|
|
|
|
|
|
|
415 |
} else {
|
416 |
$conversion_rate = 0;
|
417 |
}
|
418 |
$conversion_rate = round($conversion_rate, 2) * 100;
|
419 |
+
|
420 |
$cr_array[] = $conversion_rate;
|
421 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
$data_letter = "data-letter=\"" . $letter . "\"";
|
423 |
$edit_link = admin_url('post.php?post=' . $post->ID . '&lp-variation-id=' . $vid . '&action=edit');
|
424 |
+
echo "<li rel='" . $status . "' data-postid='" . $post->ID . "' data-letter='" . $letter . "' data-lp='' class='lp-stat-row-" . $vid . " " . $post->ID . '-' . $conversion_rate . " status-" . $status . "'><a class='lp-letter' title='click to edit this variation' href='" . $edit_link . "'>" . $letter . "</a><span class='lp-numbers'><span class='lp-visitors'><span class='visit-text'>" . __( 'Impressions' , 'inbound-pro' ) . "</span><span class='lp-impress-num'>" . $impressions . "</span></span> <span class='lp-conversions'> <span class='lp-conversion-txt'>" . __( 'Conversions' , 'inbound-pro' ) . "</span> <span class='lp-con-num'>" . $conversions . "</span> </span> </span><a ". $data_letter . " class='cr-number cr-empty-" . $conversion_rate . "' href='" . $edit_link . "'>" . $conversion_rate . "%</a></li>";
|
|
|
425 |
$i++;
|
426 |
}
|
427 |
echo "</ul>";
|
classes/class.statistics.php
ADDED
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* This class adds a impressions/conversions counter box to all post types that are not a landing page
|
5 |
+
*/
|
6 |
+
|
7 |
+
if (!class_exists('Landing_Pages_Stats')) {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Adds impression and conversion tracking statistics to all pieces of content
|
11 |
+
*/
|
12 |
+
class Landing_Pages_Stats {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Initiate class
|
16 |
+
*/
|
17 |
+
public function __construct() {
|
18 |
+
self::load_hooks();
|
19 |
+
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* load hooks and filters
|
23 |
+
*/
|
24 |
+
public static function load_hooks() {
|
25 |
+
|
26 |
+
/* records page impression */
|
27 |
+
add_action( 'lp_record_impression' , array( __CLASS__ , 'record_impression' ) , 10, 3);
|
28 |
+
|
29 |
+
/* record landing page conversion */
|
30 |
+
add_filter( 'inboundnow_store_lead_pre_filter_data' , array( __CLASS__ , 'record_conversion' ) ,10,1);
|
31 |
+
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Records landing page & non landing page impression
|
36 |
+
* @param $post_id
|
37 |
+
* @param string $post_type
|
38 |
+
* @param int $variation_id
|
39 |
+
*/
|
40 |
+
public static function record_impression($post_id, $post_type , $variation_id = 0) {
|
41 |
+
|
42 |
+
/* If Landing Page Post Type */
|
43 |
+
if ( $post_type == 'landing-page' ) {
|
44 |
+
$impressions = Landing_Pages_Variations::get_impressions( $post_id, $variation_id );
|
45 |
+
$impressions++;
|
46 |
+
Landing_Pages_Variations::set_impressions_count( $post_id, $variation_id, $impressions );
|
47 |
+
}
|
48 |
+
/* If Non Landing Page Post Type */
|
49 |
+
else {
|
50 |
+
$impressions = Landing_Pages_Stats::get_impressions_count( $post_id );
|
51 |
+
$impressions++;
|
52 |
+
Landing_Pages_Stats::set_impressions_count( $post_id, $impressions );
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Listens for new lead creation events and if the lead converted on a landing page then capture the conversion
|
58 |
+
* @param $data
|
59 |
+
*/
|
60 |
+
public static function record_conversion($data) {
|
61 |
+
|
62 |
+
if (!isset( $data['page_id'] ) ) {
|
63 |
+
return $data;
|
64 |
+
}
|
65 |
+
|
66 |
+
$post = get_post( $data['page_id'] );
|
67 |
+
if ($post) {
|
68 |
+
$data['post_type'] = $post->post_type;
|
69 |
+
}
|
70 |
+
|
71 |
+
/* this filter is used by Inbound Pro to check if visitor's ip is on a not track list */
|
72 |
+
$do_not_track = apply_filters('inbound_analytics_stop_track' , false );
|
73 |
+
|
74 |
+
if ( $do_not_track ) {
|
75 |
+
return $data;
|
76 |
+
}
|
77 |
+
|
78 |
+
/* increment conversions for landing pages */
|
79 |
+
if( isset($data['post_type']) && $data['post_type'] === 'landing-page' ) {
|
80 |
+
$conversions = Landing_Pages_Variations::get_conversions( $data['page_id'] , $data['variation'] );
|
81 |
+
$conversions++;
|
82 |
+
Landing_Pages_Variations::set_conversions_count( $data['page_id'] , $data['variation'] , $conversions );
|
83 |
+
|
84 |
+
}
|
85 |
+
/* increment conversions for non landing pages */
|
86 |
+
else {
|
87 |
+
$conversions = Landing_Pages_Stats::get_conversions_count( $data['page_id'] );
|
88 |
+
$conversions++;
|
89 |
+
Landing_Pages_Stats::set_conversions_count( $data['page_id'] , $conversions );
|
90 |
+
}
|
91 |
+
|
92 |
+
return $data;
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Register Columns
|
97 |
+
*/
|
98 |
+
public static function register_columns( $cols ) {
|
99 |
+
|
100 |
+
$cols['inbound_impressions'] = __( 'Impressions' , 'inbound-email' );
|
101 |
+
$cols['inbound_conversions'] = __( 'Conversions' , 'inbound-email' );
|
102 |
+
$cols['inbound_conversion_rate'] = __( 'Conversion Rate' , 'inbound-email' );
|
103 |
+
|
104 |
+
return $cols;
|
105 |
+
}
|
106 |
+
|
107 |
+
/**
|
108 |
+
* Prepare Column Data
|
109 |
+
*/
|
110 |
+
public static function prepare_column_data( $column , $post_id ) {
|
111 |
+
global $post;
|
112 |
+
|
113 |
+
switch ($column) {
|
114 |
+
case "inbound_impressions":
|
115 |
+
echo self::get_impressions_count( $post->ID );
|
116 |
+
break;
|
117 |
+
case "inbound_conversions":
|
118 |
+
echo self::get_conversions_count( $post->ID );
|
119 |
+
break;
|
120 |
+
case "inbound_conversion_rate":
|
121 |
+
echo self::get_conversion_rate( $post->ID);
|
122 |
+
break;
|
123 |
+
}
|
124 |
+
}
|
125 |
+
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Returns impression count for non landing pages. See Landing_Pages_Variations class for retrieving landing page statistics
|
129 |
+
*
|
130 |
+
* @param INT $post_id id of call to action
|
131 |
+
*
|
132 |
+
* @return INT impression count
|
133 |
+
*/
|
134 |
+
public static function get_impressions_count( $post_id ) {
|
135 |
+
|
136 |
+
$impressions = get_post_meta( $post_id , '_inbound_impressions_count' , true);
|
137 |
+
|
138 |
+
if (!is_numeric($impressions)) {
|
139 |
+
$impressions = 0;
|
140 |
+
}
|
141 |
+
|
142 |
+
return $impressions;
|
143 |
+
}
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Returns conversion count for non landing page. See Landing_Pages_Variations class for retrieving landing page statistics
|
147 |
+
*
|
148 |
+
* @param INT $post_id id
|
149 |
+
*
|
150 |
+
* @return INT impression count
|
151 |
+
*/
|
152 |
+
public static function get_conversions_count( $post_id ) {
|
153 |
+
|
154 |
+
|
155 |
+
$conversions = get_post_meta( $post_id , '_inbound_conversions_count' , true);
|
156 |
+
|
157 |
+
if (!is_numeric($conversions)) {
|
158 |
+
$conversions = 0;
|
159 |
+
}
|
160 |
+
|
161 |
+
return $conversions;
|
162 |
+
}
|
163 |
+
|
164 |
+
/**
|
165 |
+
* Returns conversion count for non landing page. See Landing_Pages_Variations class for retrieving landing page statistics
|
166 |
+
*
|
167 |
+
* @param INT $post_id id
|
168 |
+
*
|
169 |
+
* @return INT
|
170 |
+
*/
|
171 |
+
public static function get_conversion_rate( $post_id ) {
|
172 |
+
|
173 |
+
$impressions = Landing_Pages_Stats::get_impressions_count( $post_id );
|
174 |
+
$conversions = Landing_Pages_Stats::get_conversions_count( $post_id );
|
175 |
+
|
176 |
+
if ($impressions > 0) {
|
177 |
+
$conversion_rate = $conversions / $impressions;
|
178 |
+
$conversion_rate_number = $conversion_rate * 100;
|
179 |
+
$conversion_rate_number = round($conversion_rate_number, 2);
|
180 |
+
$conversion_rate = $conversion_rate_number;
|
181 |
+
} else {
|
182 |
+
$conversion_rate = 0;
|
183 |
+
}
|
184 |
+
|
185 |
+
return $conversion_rate;
|
186 |
+
}
|
187 |
+
|
188 |
+
|
189 |
+
/**
|
190 |
+
* Set impression count
|
191 |
+
*/
|
192 |
+
public static function set_impressions_count( $post_id , $count ) {
|
193 |
+
update_post_meta( $post_id, '_inbound_impressions_count', $count );
|
194 |
+
}
|
195 |
+
|
196 |
+
/**
|
197 |
+
* Set conversion count
|
198 |
+
*/
|
199 |
+
public static function set_conversions_count( $post_id , $count ) {
|
200 |
+
update_post_meta( $post_id, '_inbound_conversions_count', $count );
|
201 |
+
}
|
202 |
+
|
203 |
+
}
|
204 |
+
|
205 |
+
|
206 |
+
new Landing_Pages_Stats;
|
207 |
+
}
|
landing-pages.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Landing Pages
|
4 |
Plugin URI: http://www.inboundnow.com/landing-pages/
|
5 |
Description: Landing page template framework with variant testing and lead capturing through cooperation with Inbound Now's Leads plugin. This is the stand alone version served through WordPress.org.
|
6 |
-
Version: 2.
|
7 |
Author: Inbound Now
|
8 |
Author URI: http://www.inboundnow.com/
|
9 |
|
@@ -37,7 +37,7 @@ if (!class_exists('Inbound_Landing_Pages_Plugin')) {
|
|
37 |
*/
|
38 |
private static function load_constants() {
|
39 |
|
40 |
-
define('LANDINGPAGES_CURRENT_VERSION', '2.
|
41 |
define('LANDINGPAGES_URLPATH', plugins_url( '/' , __FILE__ ) );
|
42 |
define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
|
43 |
define('LANDINGPAGES_PLUGIN_SLUG', plugin_basename( dirname(__FILE__) ) );
|
@@ -67,7 +67,7 @@ if (!class_exists('Inbound_Landing_Pages_Plugin')) {
|
|
67 |
include_once( LANDINGPAGES_PATH . 'classes/class.template-management.php');
|
68 |
include_once( LANDINGPAGES_PATH . 'classes/class.wp-list-table.templates.php');
|
69 |
include_once( LANDINGPAGES_PATH . 'classes/class.admin-menus.php');
|
70 |
-
include_once( LANDINGPAGES_PATH . 'classes/class.
|
71 |
include_once( LANDINGPAGES_PATH . 'classes/class.admin-notices.php');
|
72 |
include_once( LANDINGPAGES_PATH . 'classes/class.cloning.php');
|
73 |
include_once( LANDINGPAGES_PATH . 'classes/class.settings.php');
|
@@ -91,7 +91,7 @@ if (!class_exists('Inbound_Landing_Pages_Plugin')) {
|
|
91 |
include_once( LANDINGPAGES_PATH . 'classes/class.variations.php');
|
92 |
include_once( LANDINGPAGES_PATH . 'classes/class.acf-integration.php');
|
93 |
include_once( LANDINGPAGES_PATH . 'classes/class.postmeta.php');
|
94 |
-
include_once( LANDINGPAGES_PATH . 'classes/class.
|
95 |
include_once( LANDINGPAGES_PATH . 'classes/class.click-tracking.php');
|
96 |
include_once( LANDINGPAGES_PATH . 'classes/class.post-type.landing-page.php');
|
97 |
include_once( LANDINGPAGES_PATH . 'modules/module.utils.php');
|
3 |
Plugin Name: Landing Pages
|
4 |
Plugin URI: http://www.inboundnow.com/landing-pages/
|
5 |
Description: Landing page template framework with variant testing and lead capturing through cooperation with Inbound Now's Leads plugin. This is the stand alone version served through WordPress.org.
|
6 |
+
Version: 2.2.0
|
7 |
Author: Inbound Now
|
8 |
Author URI: http://www.inboundnow.com/
|
9 |
|
37 |
*/
|
38 |
private static function load_constants() {
|
39 |
|
40 |
+
define('LANDINGPAGES_CURRENT_VERSION', '2.2.0' );
|
41 |
define('LANDINGPAGES_URLPATH', plugins_url( '/' , __FILE__ ) );
|
42 |
define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
|
43 |
define('LANDINGPAGES_PLUGIN_SLUG', plugin_basename( dirname(__FILE__) ) );
|
67 |
include_once( LANDINGPAGES_PATH . 'classes/class.template-management.php');
|
68 |
include_once( LANDINGPAGES_PATH . 'classes/class.wp-list-table.templates.php');
|
69 |
include_once( LANDINGPAGES_PATH . 'classes/class.admin-menus.php');
|
70 |
+
include_once( LANDINGPAGES_PATH . 'classes/class.statistics.php');
|
71 |
include_once( LANDINGPAGES_PATH . 'classes/class.admin-notices.php');
|
72 |
include_once( LANDINGPAGES_PATH . 'classes/class.cloning.php');
|
73 |
include_once( LANDINGPAGES_PATH . 'classes/class.settings.php');
|
91 |
include_once( LANDINGPAGES_PATH . 'classes/class.variations.php');
|
92 |
include_once( LANDINGPAGES_PATH . 'classes/class.acf-integration.php');
|
93 |
include_once( LANDINGPAGES_PATH . 'classes/class.postmeta.php');
|
94 |
+
include_once( LANDINGPAGES_PATH . 'classes/class.statistics.php');
|
95 |
include_once( LANDINGPAGES_PATH . 'classes/class.click-tracking.php');
|
96 |
include_once( LANDINGPAGES_PATH . 'classes/class.post-type.landing-page.php');
|
97 |
include_once( LANDINGPAGES_PATH . 'modules/module.utils.php');
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
7 |
Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
|
8 |
Requires at least: 3.8
|
9 |
Tested up to: 4.5.2
|
10 |
-
Stable Tag: 2.
|
11 |
|
12 |
Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
|
13 |
|
@@ -70,6 +70,10 @@ The plugin is also fully extendable and has a number of actions, filters, and ho
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
|
|
73 |
= 2.1.9 =
|
74 |
* UI improvements
|
75 |
* Quality Control improvements / debug
|
7 |
Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
|
8 |
Requires at least: 3.8
|
9 |
Tested up to: 4.5.2
|
10 |
+
Stable Tag: 2.2.0
|
11 |
|
12 |
Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
|
13 |
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 2.2.0 =
|
74 |
+
* Debugging impression count
|
75 |
+
* Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
|
76 |
+
|
77 |
= 2.1.9 =
|
78 |
* UI improvements
|
79 |
* Quality Control improvements / debug
|
shared/classes/class.form.php
CHANGED
@@ -1170,255 +1170,255 @@ if (!class_exists('Inbound_Forms')) {
|
|
1170 |
*/
|
1171 |
public static function get_countries_array() {
|
1172 |
return array(
|
1173 |
-
__('AF', '
|
1174 |
-
__('AX', '
|
1175 |
-
__('AL', '
|
1176 |
-
__('DZ', '
|
1177 |
-
__('AS', '
|
1178 |
-
__('AD', '
|
1179 |
-
__('AO', '
|
1180 |
-
__('AI', '
|
1181 |
-
__('AQ', '
|
1182 |
-
__('AG', '
|
1183 |
-
__('AR', '
|
1184 |
-
__('AM', '
|
1185 |
-
__('AW', '
|
1186 |
-
__('AU', '
|
1187 |
-
__('AT', '
|
1188 |
-
__('AZ', '
|
1189 |
-
__('BS', '
|
1190 |
-
__('BH', '
|
1191 |
-
__('BD', '
|
1192 |
-
__('BB', '
|
1193 |
-
__('BY', '
|
1194 |
-
__('BE', '
|
1195 |
-
__('BZ', '
|
1196 |
-
__('BJ', '
|
1197 |
-
__('BM', '
|
1198 |
-
__('BT', '
|
1199 |
-
__('BO', '
|
1200 |
-
__('BA', '
|
1201 |
-
__('BW', '
|
1202 |
-
__('BV', '
|
1203 |
-
__('BR', '
|
1204 |
-
__('IO', '
|
1205 |
-
__('BN', '
|
1206 |
-
__('BG', '
|
1207 |
-
__('BF', '
|
1208 |
-
__('BI', '
|
1209 |
-
__('KH', '
|
1210 |
-
__('CM', '
|
1211 |
-
__('CA', '
|
1212 |
-
__('CV', '
|
1213 |
-
__('BQ', '
|
1214 |
-
__('KY', '
|
1215 |
-
__('CF', '
|
1216 |
-
__('TD', '
|
1217 |
-
__('CL', '
|
1218 |
-
__('CN', '
|
1219 |
-
__('CX', '
|
1220 |
-
__('CC', '
|
1221 |
-
__('CO', '
|
1222 |
-
__('KM', '
|
1223 |
-
__('CG', '
|
1224 |
-
__('CD', '
|
1225 |
-
__('CK', '
|
1226 |
-
__('CR', '
|
1227 |
-
__('CI', '
|
1228 |
-
__('HR', '
|
1229 |
-
__('CU', '
|
1230 |
-
__('CW', '
|
1231 |
-
__('CY', '
|
1232 |
-
__('CZ', '
|
1233 |
-
__('DK', '
|
1234 |
-
__('DJ', '
|
1235 |
-
__('DM', '
|
1236 |
-
__('DO', '
|
1237 |
-
__('EC', '
|
1238 |
-
__('EG', '
|
1239 |
-
__('SV', '
|
1240 |
-
__('GQ', '
|
1241 |
-
__('ER', '
|
1242 |
-
__('EE', '
|
1243 |
-
__('ET', '
|
1244 |
-
__('FK', '
|
1245 |
-
__('FO', '
|
1246 |
-
__('FJ', '
|
1247 |
-
__('FI', '
|
1248 |
-
__('FR', '
|
1249 |
-
__('GF', '
|
1250 |
-
__('PF', '
|
1251 |
-
__('TF', '
|
1252 |
-
__('GA', '
|
1253 |
-
__('GM', '
|
1254 |
-
__('GE', '
|
1255 |
-
__('DE', '
|
1256 |
-
__('GH', '
|
1257 |
-
__('GI', '
|
1258 |
-
__('GR', '
|
1259 |
-
__('GL', '
|
1260 |
-
__('GD', '
|
1261 |
-
__('GP', '
|
1262 |
-
__('GU', '
|
1263 |
-
__('GT', '
|
1264 |
-
__('GG', '
|
1265 |
-
__('GN', '
|
1266 |
-
__('GW', '
|
1267 |
-
__('GY', '
|
1268 |
-
__('HT', '
|
1269 |
-
__('HM', '
|
1270 |
-
__('HN', '
|
1271 |
-
__('HK', '
|
1272 |
-
__('HU', '
|
1273 |
-
__('IS', '
|
1274 |
-
__('IN', '
|
1275 |
-
__('ID', '
|
1276 |
-
__('IR', '
|
1277 |
-
__('IQ', '
|
1278 |
-
__('IE', '
|
1279 |
-
__('IM', '
|
1280 |
-
__('IL', '
|
1281 |
-
__('IT', '
|
1282 |
-
__('JM', '
|
1283 |
-
__('JP', '
|
1284 |
-
__('JE', '
|
1285 |
-
__('JO', '
|
1286 |
-
__('KZ', '
|
1287 |
-
__('KE', '
|
1288 |
-
__('KI', '
|
1289 |
-
__('KW', '
|
1290 |
-
__('KG', '
|
1291 |
-
__('LA', '
|
1292 |
-
__('LV', '
|
1293 |
-
__('LB', '
|
1294 |
-
__('LS', '
|
1295 |
-
__('LR', '
|
1296 |
-
__('LY', '
|
1297 |
-
__('LI', '
|
1298 |
-
__('LT', '
|
1299 |
-
__('LU', '
|
1300 |
-
__('MO', '
|
1301 |
-
__('MK', '
|
1302 |
-
__('MG', '
|
1303 |
-
__('MW', '
|
1304 |
-
__('MY', '
|
1305 |
-
__('MV', '
|
1306 |
-
__('ML', '
|
1307 |
-
__('MT', '
|
1308 |
-
__('MH', '
|
1309 |
-
__('MQ', '
|
1310 |
-
__('MR', '
|
1311 |
-
__('MU', '
|
1312 |
-
__('YT', '
|
1313 |
-
__('MX', '
|
1314 |
-
__('FM', '
|
1315 |
-
__('MD', '
|
1316 |
-
__('MC', '
|
1317 |
-
__('MN', '
|
1318 |
-
__('ME', '
|
1319 |
-
__('MS', '
|
1320 |
-
__('MA', '
|
1321 |
-
__('MZ', '
|
1322 |
-
__('MM', '
|
1323 |
-
__('NA', '
|
1324 |
-
__('NR', '
|
1325 |
-
__('NP', '
|
1326 |
-
__('NC', '
|
1327 |
-
__('NZ', '
|
1328 |
-
__('NI', '
|
1329 |
-
__('NE', '
|
1330 |
-
__('NG', '
|
1331 |
-
__('NU', '
|
1332 |
-
__('NF', '
|
1333 |
-
__('KP', '
|
1334 |
-
__('MP', '
|
1335 |
-
__('NO', '
|
1336 |
-
__('OM', '
|
1337 |
-
__('PK', '
|
1338 |
-
__('PW', '
|
1339 |
-
__('PS', '
|
1340 |
-
__('PA', '
|
1341 |
-
__('PG', '
|
1342 |
-
__('PY', '
|
1343 |
-
__('PE', '
|
1344 |
-
__('PH', '
|
1345 |
-
__('PN', '
|
1346 |
-
__('PL', '
|
1347 |
-
__('PT', '
|
1348 |
-
__('PR', '
|
1349 |
-
__('QA', '
|
1350 |
-
__('RE', '
|
1351 |
-
__('RO', '
|
1352 |
-
__('RU', '
|
1353 |
-
__('RW', '
|
1354 |
-
__('BL', '
|
1355 |
-
__('SH', '
|
1356 |
-
__('KN', '
|
1357 |
-
__('LC', '
|
1358 |
-
__('VC', '
|
1359 |
-
__('MF', '
|
1360 |
-
__('SX', '
|
1361 |
-
__('WS', '
|
1362 |
-
__('SM', '
|
1363 |
-
__('ST', '
|
1364 |
-
__('SA', '
|
1365 |
-
__('SN', '
|
1366 |
-
__('RS', '
|
1367 |
-
__('SC', '
|
1368 |
-
__('SL', '
|
1369 |
-
__('SG', '
|
1370 |
-
__('SK', '
|
1371 |
-
__('SI', '
|
1372 |
-
__('SB', '
|
1373 |
-
__('SO', '
|
1374 |
-
__('ZA', '
|
1375 |
-
__('GS', '
|
1376 |
-
__('KR', '
|
1377 |
-
__('SS', '
|
1378 |
-
__('ES', '
|
1379 |
-
__('LK', '
|
1380 |
-
__('PM', '
|
1381 |
-
__('SD', '
|
1382 |
-
__('SR', '
|
1383 |
-
__('SJ', '
|
1384 |
-
__('SZ', '
|
1385 |
-
__('SE', '
|
1386 |
-
__('CH', '
|
1387 |
-
__('SY', '
|
1388 |
-
__('TW', '
|
1389 |
-
__('TJ', '
|
1390 |
-
__('TZ', '
|
1391 |
-
__('TH', '
|
1392 |
-
__('NL', '
|
1393 |
-
__('TL', '
|
1394 |
-
__('TG', '
|
1395 |
-
__('TK', '
|
1396 |
-
__('TO', '
|
1397 |
-
__('TT', '
|
1398 |
-
__('TN', '
|
1399 |
-
__('TR', '
|
1400 |
-
__('TM', '
|
1401 |
-
__('TC', '
|
1402 |
-
__('TV', '
|
1403 |
-
__('UG', '
|
1404 |
-
__('UA', '
|
1405 |
-
__('AE', '
|
1406 |
-
__('GB', '
|
1407 |
-
__('US', '
|
1408 |
-
__('UM', '
|
1409 |
-
__('UY', '
|
1410 |
-
__('UZ', '
|
1411 |
-
__('VU', '
|
1412 |
-
__('VA', '
|
1413 |
-
__('VE', '
|
1414 |
-
__('VN', '
|
1415 |
-
__('VG', '
|
1416 |
-
__('VI', '
|
1417 |
-
__('WF', '
|
1418 |
-
__('EH', '
|
1419 |
-
__('YE', '
|
1420 |
-
__('ZM', '
|
1421 |
-
__('ZW', '
|
1422 |
);
|
1423 |
}
|
1424 |
|
1170 |
*/
|
1171 |
public static function get_countries_array() {
|
1172 |
return array(
|
1173 |
+
__('AF', 'inbound-pro' ) => __('Afghanistan', INBOUNDNOW_TEXT_DOMAIN),
|
1174 |
+
__('AX', 'inbound-pro' ) => __('Aland Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1175 |
+
__('AL', 'inbound-pro' ) => __('Albania', INBOUNDNOW_TEXT_DOMAIN),
|
1176 |
+
__('DZ', 'inbound-pro' ) => __('Algeria', INBOUNDNOW_TEXT_DOMAIN),
|
1177 |
+
__('AS', 'inbound-pro' ) => __('American Samoa', INBOUNDNOW_TEXT_DOMAIN),
|
1178 |
+
__('AD', 'inbound-pro' ) => __('Andorra', INBOUNDNOW_TEXT_DOMAIN),
|
1179 |
+
__('AO', 'inbound-pro' ) => __('Angola', INBOUNDNOW_TEXT_DOMAIN),
|
1180 |
+
__('AI', 'inbound-pro' ) => __('Anguilla', INBOUNDNOW_TEXT_DOMAIN),
|
1181 |
+
__('AQ', 'inbound-pro' ) => __('Antarctica', INBOUNDNOW_TEXT_DOMAIN),
|
1182 |
+
__('AG', 'inbound-pro' ) => __('Antigua and Barbuda', INBOUNDNOW_TEXT_DOMAIN),
|
1183 |
+
__('AR', 'inbound-pro' ) => __('Argentina', INBOUNDNOW_TEXT_DOMAIN),
|
1184 |
+
__('AM', 'inbound-pro' ) => __('Armenia', INBOUNDNOW_TEXT_DOMAIN),
|
1185 |
+
__('AW', 'inbound-pro' ) => __('Aruba', INBOUNDNOW_TEXT_DOMAIN),
|
1186 |
+
__('AU', 'inbound-pro' ) => __('Australia', INBOUNDNOW_TEXT_DOMAIN),
|
1187 |
+
__('AT', 'inbound-pro' ) => __('Austria', INBOUNDNOW_TEXT_DOMAIN),
|
1188 |
+
__('AZ', 'inbound-pro' ) => __('Azerbaijan', INBOUNDNOW_TEXT_DOMAIN),
|
1189 |
+
__('BS', 'inbound-pro' ) => __('Bahamas', INBOUNDNOW_TEXT_DOMAIN),
|
1190 |
+
__('BH', 'inbound-pro' ) => __('Bahrain', INBOUNDNOW_TEXT_DOMAIN),
|
1191 |
+
__('BD', 'inbound-pro' ) => __('Bangladesh', INBOUNDNOW_TEXT_DOMAIN),
|
1192 |
+
__('BB', 'inbound-pro' ) => __('Barbados', INBOUNDNOW_TEXT_DOMAIN),
|
1193 |
+
__('BY', 'inbound-pro' ) => __('Belarus', INBOUNDNOW_TEXT_DOMAIN),
|
1194 |
+
__('BE', 'inbound-pro' ) => __('Belgium', INBOUNDNOW_TEXT_DOMAIN),
|
1195 |
+
__('BZ', 'inbound-pro' ) => __('Belize', INBOUNDNOW_TEXT_DOMAIN),
|
1196 |
+
__('BJ', 'inbound-pro' ) => __('Benin', INBOUNDNOW_TEXT_DOMAIN),
|
1197 |
+
__('BM', 'inbound-pro' ) => __('Bermuda', INBOUNDNOW_TEXT_DOMAIN),
|
1198 |
+
__('BT', 'inbound-pro' ) => __('Bhutan', INBOUNDNOW_TEXT_DOMAIN),
|
1199 |
+
__('BO', 'inbound-pro' ) => __('Bolivia', INBOUNDNOW_TEXT_DOMAIN),
|
1200 |
+
__('BA', 'inbound-pro' ) => __('Bosnia and Herzegovina', INBOUNDNOW_TEXT_DOMAIN),
|
1201 |
+
__('BW', 'inbound-pro' ) => __('Botswana', INBOUNDNOW_TEXT_DOMAIN),
|
1202 |
+
__('BV', 'inbound-pro' ) => __('Bouvet Island', INBOUNDNOW_TEXT_DOMAIN),
|
1203 |
+
__('BR', 'inbound-pro' ) => __('Brazil', INBOUNDNOW_TEXT_DOMAIN),
|
1204 |
+
__('IO', 'inbound-pro' ) => __('British Indian Ocean Territory', INBOUNDNOW_TEXT_DOMAIN),
|
1205 |
+
__('BN', 'inbound-pro' ) => __('Brunei Darussalam', INBOUNDNOW_TEXT_DOMAIN),
|
1206 |
+
__('BG', 'inbound-pro' ) => __('Bulgaria', INBOUNDNOW_TEXT_DOMAIN),
|
1207 |
+
__('BF', 'inbound-pro' ) => __('Burkina Faso', INBOUNDNOW_TEXT_DOMAIN),
|
1208 |
+
__('BI', 'inbound-pro' ) => __('Burundi', INBOUNDNOW_TEXT_DOMAIN),
|
1209 |
+
__('KH', 'inbound-pro' ) => __('Cambodia', INBOUNDNOW_TEXT_DOMAIN),
|
1210 |
+
__('CM', 'inbound-pro' ) => __('Cameroon', INBOUNDNOW_TEXT_DOMAIN),
|
1211 |
+
__('CA', 'inbound-pro' ) => __('Canada', INBOUNDNOW_TEXT_DOMAIN),
|
1212 |
+
__('CV', 'inbound-pro' ) => __('Cape Verde', INBOUNDNOW_TEXT_DOMAIN),
|
1213 |
+
__('BQ', 'inbound-pro' ) => __('Caribbean Netherlands ', INBOUNDNOW_TEXT_DOMAIN),
|
1214 |
+
__('KY', 'inbound-pro' ) => __('Cayman Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1215 |
+
__('CF', 'inbound-pro' ) => __('Central African Republic', INBOUNDNOW_TEXT_DOMAIN),
|
1216 |
+
__('TD', 'inbound-pro' ) => __('Chad', INBOUNDNOW_TEXT_DOMAIN),
|
1217 |
+
__('CL', 'inbound-pro' ) => __('Chile', INBOUNDNOW_TEXT_DOMAIN),
|
1218 |
+
__('CN', 'inbound-pro' ) => __('China', INBOUNDNOW_TEXT_DOMAIN),
|
1219 |
+
__('CX', 'inbound-pro' ) => __('Christmas Island', INBOUNDNOW_TEXT_DOMAIN),
|
1220 |
+
__('CC', 'inbound-pro' ) => __('Cocos (Keeling) Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1221 |
+
__('CO', 'inbound-pro' ) => __('Colombia', INBOUNDNOW_TEXT_DOMAIN),
|
1222 |
+
__('KM', 'inbound-pro' ) => __('Comoros', INBOUNDNOW_TEXT_DOMAIN),
|
1223 |
+
__('CG', 'inbound-pro' ) => __('Congo', INBOUNDNOW_TEXT_DOMAIN),
|
1224 |
+
__('CD', 'inbound-pro' ) => __('Congo, Democratic Republic of', INBOUNDNOW_TEXT_DOMAIN),
|
1225 |
+
__('CK', 'inbound-pro' ) => __('Cook Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1226 |
+
__('CR', 'inbound-pro' ) => __('Costa Rica', INBOUNDNOW_TEXT_DOMAIN),
|
1227 |
+
__('CI', 'inbound-pro' ) => __('Cote d\'Ivoire', INBOUNDNOW_TEXT_DOMAIN),
|
1228 |
+
__('HR', 'inbound-pro' ) => __('Croatia', INBOUNDNOW_TEXT_DOMAIN),
|
1229 |
+
__('CU', 'inbound-pro' ) => __('Cuba', INBOUNDNOW_TEXT_DOMAIN),
|
1230 |
+
__('CW', 'inbound-pro' ) => __('Curacao', INBOUNDNOW_TEXT_DOMAIN),
|
1231 |
+
__('CY', 'inbound-pro' ) => __('Cyprus', INBOUNDNOW_TEXT_DOMAIN),
|
1232 |
+
__('CZ', 'inbound-pro' ) => __('Czech Republic', INBOUNDNOW_TEXT_DOMAIN),
|
1233 |
+
__('DK', 'inbound-pro' ) => __('Denmark', INBOUNDNOW_TEXT_DOMAIN),
|
1234 |
+
__('DJ', 'inbound-pro' ) => __('Djibouti', INBOUNDNOW_TEXT_DOMAIN),
|
1235 |
+
__('DM', 'inbound-pro' ) => __('Dominica', INBOUNDNOW_TEXT_DOMAIN),
|
1236 |
+
__('DO', 'inbound-pro' ) => __('Dominican Republic', INBOUNDNOW_TEXT_DOMAIN),
|
1237 |
+
__('EC', 'inbound-pro' ) => __('Ecuador', INBOUNDNOW_TEXT_DOMAIN),
|
1238 |
+
__('EG', 'inbound-pro' ) => __('Egypt', INBOUNDNOW_TEXT_DOMAIN),
|
1239 |
+
__('SV', 'inbound-pro' ) => __('El Salvador', INBOUNDNOW_TEXT_DOMAIN),
|
1240 |
+
__('GQ', 'inbound-pro' ) => __('Equatorial Guinea', INBOUNDNOW_TEXT_DOMAIN),
|
1241 |
+
__('ER', 'inbound-pro' ) => __('Eritrea', INBOUNDNOW_TEXT_DOMAIN),
|
1242 |
+
__('EE', 'inbound-pro' ) => __('Estonia', INBOUNDNOW_TEXT_DOMAIN),
|
1243 |
+
__('ET', 'inbound-pro' ) => __('Ethiopia', INBOUNDNOW_TEXT_DOMAIN),
|
1244 |
+
__('FK', 'inbound-pro' ) => __('Falkland Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1245 |
+
__('FO', 'inbound-pro' ) => __('Faroe Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1246 |
+
__('FJ', 'inbound-pro' ) => __('Fiji', INBOUNDNOW_TEXT_DOMAIN),
|
1247 |
+
__('FI', 'inbound-pro' ) => __('Finland', INBOUNDNOW_TEXT_DOMAIN),
|
1248 |
+
__('FR', 'inbound-pro' ) => __('France', INBOUNDNOW_TEXT_DOMAIN),
|
1249 |
+
__('GF', 'inbound-pro' ) => __('French Guiana', INBOUNDNOW_TEXT_DOMAIN),
|
1250 |
+
__('PF', 'inbound-pro' ) => __('French Polynesia', INBOUNDNOW_TEXT_DOMAIN),
|
1251 |
+
__('TF', 'inbound-pro' ) => __('French Southern Territories', INBOUNDNOW_TEXT_DOMAIN),
|
1252 |
+
__('GA', 'inbound-pro' ) => __('Gabon', INBOUNDNOW_TEXT_DOMAIN),
|
1253 |
+
__('GM', 'inbound-pro' ) => __('Gambia', INBOUNDNOW_TEXT_DOMAIN),
|
1254 |
+
__('GE', 'inbound-pro' ) => __('Georgia', INBOUNDNOW_TEXT_DOMAIN),
|
1255 |
+
__('DE', 'inbound-pro' ) => __('Germany', INBOUNDNOW_TEXT_DOMAIN),
|
1256 |
+
__('GH', 'inbound-pro' ) => __('Ghana', INBOUNDNOW_TEXT_DOMAIN),
|
1257 |
+
__('GI', 'inbound-pro' ) => __('Gibraltar', INBOUNDNOW_TEXT_DOMAIN),
|
1258 |
+
__('GR', 'inbound-pro' ) => __('Greece', INBOUNDNOW_TEXT_DOMAIN),
|
1259 |
+
__('GL', 'inbound-pro' ) => __('Greenland', INBOUNDNOW_TEXT_DOMAIN),
|
1260 |
+
__('GD', 'inbound-pro' ) => __('Grenada', INBOUNDNOW_TEXT_DOMAIN),
|
1261 |
+
__('GP', 'inbound-pro' ) => __('Guadeloupe', INBOUNDNOW_TEXT_DOMAIN),
|
1262 |
+
__('GU', 'inbound-pro' ) => __('Guam', INBOUNDNOW_TEXT_DOMAIN),
|
1263 |
+
__('GT', 'inbound-pro' ) => __('Guatemala', INBOUNDNOW_TEXT_DOMAIN),
|
1264 |
+
__('GG', 'inbound-pro' ) => __('Guernsey', INBOUNDNOW_TEXT_DOMAIN),
|
1265 |
+
__('GN', 'inbound-pro' ) => __('Guinea', INBOUNDNOW_TEXT_DOMAIN),
|
1266 |
+
__('GW', 'inbound-pro' ) => __('Guinea-Bissau', INBOUNDNOW_TEXT_DOMAIN),
|
1267 |
+
__('GY', 'inbound-pro' ) => __('Guyana', INBOUNDNOW_TEXT_DOMAIN),
|
1268 |
+
__('HT', 'inbound-pro' ) => __('Haiti', INBOUNDNOW_TEXT_DOMAIN),
|
1269 |
+
__('HM', 'inbound-pro' ) => __('Heard and McDonald Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1270 |
+
__('HN', 'inbound-pro' ) => __('Honduras', INBOUNDNOW_TEXT_DOMAIN),
|
1271 |
+
__('HK', 'inbound-pro' ) => __('Hong Kong', INBOUNDNOW_TEXT_DOMAIN),
|
1272 |
+
__('HU', 'inbound-pro' ) => __('Hungary', INBOUNDNOW_TEXT_DOMAIN),
|
1273 |
+
__('IS', 'inbound-pro' ) => __('Iceland', INBOUNDNOW_TEXT_DOMAIN),
|
1274 |
+
__('IN', 'inbound-pro' ) => __('India', INBOUNDNOW_TEXT_DOMAIN),
|
1275 |
+
__('ID', 'inbound-pro' ) => __('Indonesia', INBOUNDNOW_TEXT_DOMAIN),
|
1276 |
+
__('IR', 'inbound-pro' ) => __('Iran', INBOUNDNOW_TEXT_DOMAIN),
|
1277 |
+
__('IQ', 'inbound-pro' ) => __('Iraq', INBOUNDNOW_TEXT_DOMAIN),
|
1278 |
+
__('IE', 'inbound-pro' ) => __('Ireland', INBOUNDNOW_TEXT_DOMAIN),
|
1279 |
+
__('IM', 'inbound-pro' ) => __('Isle of Man', INBOUNDNOW_TEXT_DOMAIN),
|
1280 |
+
__('IL', 'inbound-pro' ) => __('Israel', INBOUNDNOW_TEXT_DOMAIN),
|
1281 |
+
__('IT', 'inbound-pro' ) => __('Italy', INBOUNDNOW_TEXT_DOMAIN),
|
1282 |
+
__('JM', 'inbound-pro' ) => __('Jamaica', INBOUNDNOW_TEXT_DOMAIN),
|
1283 |
+
__('JP', 'inbound-pro' ) => __('Japan', INBOUNDNOW_TEXT_DOMAIN),
|
1284 |
+
__('JE', 'inbound-pro' ) => __('Jersey', INBOUNDNOW_TEXT_DOMAIN),
|
1285 |
+
__('JO', 'inbound-pro' ) => __('Jordan', INBOUNDNOW_TEXT_DOMAIN),
|
1286 |
+
__('KZ', 'inbound-pro' ) => __('Kazakhstan', INBOUNDNOW_TEXT_DOMAIN),
|
1287 |
+
__('KE', 'inbound-pro' ) => __('Kenya', INBOUNDNOW_TEXT_DOMAIN),
|
1288 |
+
__('KI', 'inbound-pro' ) => __('Kiribati', INBOUNDNOW_TEXT_DOMAIN),
|
1289 |
+
__('KW', 'inbound-pro' ) => __('Kuwait', INBOUNDNOW_TEXT_DOMAIN),
|
1290 |
+
__('KG', 'inbound-pro' ) => __('Kyrgyzstan', INBOUNDNOW_TEXT_DOMAIN),
|
1291 |
+
__('LA', 'inbound-pro' ) => __('Lao People\'s Democratic Republic', INBOUNDNOW_TEXT_DOMAIN),
|
1292 |
+
__('LV', 'inbound-pro' ) => __('Latvia', INBOUNDNOW_TEXT_DOMAIN),
|
1293 |
+
__('LB', 'inbound-pro' ) => __('Lebanon', INBOUNDNOW_TEXT_DOMAIN),
|
1294 |
+
__('LS', 'inbound-pro' ) => __('Lesotho', INBOUNDNOW_TEXT_DOMAIN),
|
1295 |
+
__('LR', 'inbound-pro' ) => __('Liberia', INBOUNDNOW_TEXT_DOMAIN),
|
1296 |
+
__('LY', 'inbound-pro' ) => __('Libya', INBOUNDNOW_TEXT_DOMAIN),
|
1297 |
+
__('LI', 'inbound-pro' ) => __('Liechtenstein', INBOUNDNOW_TEXT_DOMAIN),
|
1298 |
+
__('LT', 'inbound-pro' ) => __('Lithuania', INBOUNDNOW_TEXT_DOMAIN),
|
1299 |
+
__('LU', 'inbound-pro' ) => __('Luxembourg', INBOUNDNOW_TEXT_DOMAIN),
|
1300 |
+
__('MO', 'inbound-pro' ) => __('Macau', INBOUNDNOW_TEXT_DOMAIN),
|
1301 |
+
__('MK', 'inbound-pro' ) => __('Macedonia', INBOUNDNOW_TEXT_DOMAIN),
|
1302 |
+
__('MG', 'inbound-pro' ) => __('Madagascar', INBOUNDNOW_TEXT_DOMAIN),
|
1303 |
+
__('MW', 'inbound-pro' ) => __('Malawi', INBOUNDNOW_TEXT_DOMAIN),
|
1304 |
+
__('MY', 'inbound-pro' ) => __('Malaysia', INBOUNDNOW_TEXT_DOMAIN),
|
1305 |
+
__('MV', 'inbound-pro' ) => __('Maldives', INBOUNDNOW_TEXT_DOMAIN),
|
1306 |
+
__('ML', 'inbound-pro' ) => __('Mali', INBOUNDNOW_TEXT_DOMAIN),
|
1307 |
+
__('MT', 'inbound-pro' ) => __('Malta', INBOUNDNOW_TEXT_DOMAIN),
|
1308 |
+
__('MH', 'inbound-pro' ) => __('Marshall Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1309 |
+
__('MQ', 'inbound-pro' ) => __('Martinique', INBOUNDNOW_TEXT_DOMAIN),
|
1310 |
+
__('MR', 'inbound-pro' ) => __('Mauritania', INBOUNDNOW_TEXT_DOMAIN),
|
1311 |
+
__('MU', 'inbound-pro' ) => __('Mauritius', INBOUNDNOW_TEXT_DOMAIN),
|
1312 |
+
__('YT', 'inbound-pro' ) => __('Mayotte', INBOUNDNOW_TEXT_DOMAIN),
|
1313 |
+
__('MX', 'inbound-pro' ) => __('Mexico', INBOUNDNOW_TEXT_DOMAIN),
|
1314 |
+
__('FM', 'inbound-pro' ) => __('Micronesia, Federated States of', INBOUNDNOW_TEXT_DOMAIN),
|
1315 |
+
__('MD', 'inbound-pro' ) => __('Moldova', INBOUNDNOW_TEXT_DOMAIN),
|
1316 |
+
__('MC', 'inbound-pro' ) => __('Monaco', INBOUNDNOW_TEXT_DOMAIN),
|
1317 |
+
__('MN', 'inbound-pro' ) => __('Mongolia', INBOUNDNOW_TEXT_DOMAIN),
|
1318 |
+
__('ME', 'inbound-pro' ) => __('Montenegro', INBOUNDNOW_TEXT_DOMAIN),
|
1319 |
+
__('MS', 'inbound-pro' ) => __('Montserrat', INBOUNDNOW_TEXT_DOMAIN),
|
1320 |
+
__('MA', 'inbound-pro' ) => __('Morocco', INBOUNDNOW_TEXT_DOMAIN),
|
1321 |
+
__('MZ', 'inbound-pro' ) => __('Mozambique', INBOUNDNOW_TEXT_DOMAIN),
|
1322 |
+
__('MM', 'inbound-pro' ) => __('Myanmar', INBOUNDNOW_TEXT_DOMAIN),
|
1323 |
+
__('NA', 'inbound-pro' ) => __('Namibia', INBOUNDNOW_TEXT_DOMAIN),
|
1324 |
+
__('NR', 'inbound-pro' ) => __('Nauru', INBOUNDNOW_TEXT_DOMAIN),
|
1325 |
+
__('NP', 'inbound-pro' ) => __('Nepal', INBOUNDNOW_TEXT_DOMAIN),
|
1326 |
+
__('NC', 'inbound-pro' ) => __('New Caledonia', INBOUNDNOW_TEXT_DOMAIN),
|
1327 |
+
__('NZ', 'inbound-pro' ) => __('New Zealand', INBOUNDNOW_TEXT_DOMAIN),
|
1328 |
+
__('NI', 'inbound-pro' ) => __('Nicaragua', INBOUNDNOW_TEXT_DOMAIN),
|
1329 |
+
__('NE', 'inbound-pro' ) => __('Niger', INBOUNDNOW_TEXT_DOMAIN),
|
1330 |
+
__('NG', 'inbound-pro' ) => __('Nigeria', INBOUNDNOW_TEXT_DOMAIN),
|
1331 |
+
__('NU', 'inbound-pro' ) => __('Niue', INBOUNDNOW_TEXT_DOMAIN),
|
1332 |
+
__('NF', 'inbound-pro' ) => __('Norfolk Island', INBOUNDNOW_TEXT_DOMAIN),
|
1333 |
+
__('KP', 'inbound-pro' ) => __('North Korea', INBOUNDNOW_TEXT_DOMAIN),
|
1334 |
+
__('MP', 'inbound-pro' ) => __('Northern Mariana Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1335 |
+
__('NO', 'inbound-pro' ) => __('Norway', INBOUNDNOW_TEXT_DOMAIN),
|
1336 |
+
__('OM', 'inbound-pro' ) => __('Oman', INBOUNDNOW_TEXT_DOMAIN),
|
1337 |
+
__('PK', 'inbound-pro' ) => __('Pakistan', INBOUNDNOW_TEXT_DOMAIN),
|
1338 |
+
__('PW', 'inbound-pro' ) => __('Palau', INBOUNDNOW_TEXT_DOMAIN),
|
1339 |
+
__('PS', 'inbound-pro' ) => __('Palestinian Territory, Occupied', INBOUNDNOW_TEXT_DOMAIN),
|
1340 |
+
__('PA', 'inbound-pro' ) => __('Panama', INBOUNDNOW_TEXT_DOMAIN),
|
1341 |
+
__('PG', 'inbound-pro' ) => __('Papua New Guinea', INBOUNDNOW_TEXT_DOMAIN),
|
1342 |
+
__('PY', 'inbound-pro' ) => __('Paraguay', INBOUNDNOW_TEXT_DOMAIN),
|
1343 |
+
__('PE', 'inbound-pro' ) => __('Peru', INBOUNDNOW_TEXT_DOMAIN),
|
1344 |
+
__('PH', 'inbound-pro' ) => __('Philippines', INBOUNDNOW_TEXT_DOMAIN),
|
1345 |
+
__('PN', 'inbound-pro' ) => __('Pitcairn', INBOUNDNOW_TEXT_DOMAIN),
|
1346 |
+
__('PL', 'inbound-pro' ) => __('Poland', INBOUNDNOW_TEXT_DOMAIN),
|
1347 |
+
__('PT', 'inbound-pro' ) => __('Portugal', INBOUNDNOW_TEXT_DOMAIN),
|
1348 |
+
__('PR', 'inbound-pro' ) => __('Puerto Rico', INBOUNDNOW_TEXT_DOMAIN),
|
1349 |
+
__('QA', 'inbound-pro' ) => __('Qatar', INBOUNDNOW_TEXT_DOMAIN),
|
1350 |
+
__('RE', 'inbound-pro' ) => __('Reunion', INBOUNDNOW_TEXT_DOMAIN),
|
1351 |
+
__('RO', 'inbound-pro' ) => __('Romania', INBOUNDNOW_TEXT_DOMAIN),
|
1352 |
+
__('RU', 'inbound-pro' ) => __('Russian Federation', INBOUNDNOW_TEXT_DOMAIN),
|
1353 |
+
__('RW', 'inbound-pro' ) => __('Rwanda', INBOUNDNOW_TEXT_DOMAIN),
|
1354 |
+
__('BL', 'inbound-pro' ) => __('Saint Barthelemy', INBOUNDNOW_TEXT_DOMAIN),
|
1355 |
+
__('SH', 'inbound-pro' ) => __('Saint Helena', INBOUNDNOW_TEXT_DOMAIN),
|
1356 |
+
__('KN', 'inbound-pro' ) => __('Saint Kitts and Nevis', INBOUNDNOW_TEXT_DOMAIN),
|
1357 |
+
__('LC', 'inbound-pro' ) => __('Saint Lucia', INBOUNDNOW_TEXT_DOMAIN),
|
1358 |
+
__('VC', 'inbound-pro' ) => __('Saint Vincent and the Grenadines', INBOUNDNOW_TEXT_DOMAIN),
|
1359 |
+
__('MF', 'inbound-pro' ) => __('Saint-Martin (France)', INBOUNDNOW_TEXT_DOMAIN),
|
1360 |
+
__('SX', 'inbound-pro' ) => __('Saint-Martin (Pays-Bas)', INBOUNDNOW_TEXT_DOMAIN),
|
1361 |
+
__('WS', 'inbound-pro' ) => __('Samoa', INBOUNDNOW_TEXT_DOMAIN),
|
1362 |
+
__('SM', 'inbound-pro' ) => __('San Marino', INBOUNDNOW_TEXT_DOMAIN),
|
1363 |
+
__('ST', 'inbound-pro' ) => __('Sao Tome and Principe', INBOUNDNOW_TEXT_DOMAIN),
|
1364 |
+
__('SA', 'inbound-pro' ) => __('Saudi Arabia', INBOUNDNOW_TEXT_DOMAIN),
|
1365 |
+
__('SN', 'inbound-pro' ) => __('Senegal', INBOUNDNOW_TEXT_DOMAIN),
|
1366 |
+
__('RS', 'inbound-pro' ) => __('Serbia', INBOUNDNOW_TEXT_DOMAIN),
|
1367 |
+
__('SC', 'inbound-pro' ) => __('Seychelles', INBOUNDNOW_TEXT_DOMAIN),
|
1368 |
+
__('SL', 'inbound-pro' ) => __('Sierra Leone', INBOUNDNOW_TEXT_DOMAIN),
|
1369 |
+
__('SG', 'inbound-pro' ) => __('Singapore', INBOUNDNOW_TEXT_DOMAIN),
|
1370 |
+
__('SK', 'inbound-pro' ) => __('Slovakia (Slovak Republic)', INBOUNDNOW_TEXT_DOMAIN),
|
1371 |
+
__('SI', 'inbound-pro' ) => __('Slovenia', INBOUNDNOW_TEXT_DOMAIN),
|
1372 |
+
__('SB', 'inbound-pro' ) => __('Solomon Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1373 |
+
__('SO', 'inbound-pro' ) => __('Somalia', INBOUNDNOW_TEXT_DOMAIN),
|
1374 |
+
__('ZA', 'inbound-pro' ) => __('South Africa', INBOUNDNOW_TEXT_DOMAIN),
|
1375 |
+
__('GS', 'inbound-pro' ) => __('South Georgia and the South Sandwich Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1376 |
+
__('KR', 'inbound-pro' ) => __('South Korea', INBOUNDNOW_TEXT_DOMAIN),
|
1377 |
+
__('SS', 'inbound-pro' ) => __('South Sudan', INBOUNDNOW_TEXT_DOMAIN),
|
1378 |
+
__('ES', 'inbound-pro' ) => __('Spain', INBOUNDNOW_TEXT_DOMAIN),
|
1379 |
+
__('LK', 'inbound-pro' ) => __('Sri Lanka', INBOUNDNOW_TEXT_DOMAIN),
|
1380 |
+
__('PM', 'inbound-pro' ) => __('St. Pierre and Miquelon', INBOUNDNOW_TEXT_DOMAIN),
|
1381 |
+
__('SD', 'inbound-pro' ) => __('Sudan', INBOUNDNOW_TEXT_DOMAIN),
|
1382 |
+
__('SR', 'inbound-pro' ) => __('Suriname', INBOUNDNOW_TEXT_DOMAIN),
|
1383 |
+
__('SJ', 'inbound-pro' ) => __('Svalbard and Jan Mayen Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1384 |
+
__('SZ', 'inbound-pro' ) => __('Swaziland', INBOUNDNOW_TEXT_DOMAIN),
|
1385 |
+
__('SE', 'inbound-pro' ) => __('Sweden', INBOUNDNOW_TEXT_DOMAIN),
|
1386 |
+
__('CH', 'inbound-pro' ) => __('Switzerland', INBOUNDNOW_TEXT_DOMAIN),
|
1387 |
+
__('SY', 'inbound-pro' ) => __('Syria', INBOUNDNOW_TEXT_DOMAIN),
|
1388 |
+
__('TW', 'inbound-pro' ) => __('Taiwan', INBOUNDNOW_TEXT_DOMAIN),
|
1389 |
+
__('TJ', 'inbound-pro' ) => __('Tajikistan', INBOUNDNOW_TEXT_DOMAIN),
|
1390 |
+
__('TZ', 'inbound-pro' ) => __('Tanzania', INBOUNDNOW_TEXT_DOMAIN),
|
1391 |
+
__('TH', 'inbound-pro' ) => __('Thailand', INBOUNDNOW_TEXT_DOMAIN),
|
1392 |
+
__('NL', 'inbound-pro' ) => __('The Netherlands', INBOUNDNOW_TEXT_DOMAIN),
|
1393 |
+
__('TL', 'inbound-pro' ) => __('Timor-Leste', INBOUNDNOW_TEXT_DOMAIN),
|
1394 |
+
__('TG', 'inbound-pro' ) => __('Togo', INBOUNDNOW_TEXT_DOMAIN),
|
1395 |
+
__('TK', 'inbound-pro' ) => __('Tokelau', INBOUNDNOW_TEXT_DOMAIN),
|
1396 |
+
__('TO', 'inbound-pro' ) => __('Tonga', INBOUNDNOW_TEXT_DOMAIN),
|
1397 |
+
__('TT', 'inbound-pro' ) => __('Trinidad and Tobago', INBOUNDNOW_TEXT_DOMAIN),
|
1398 |
+
__('TN', 'inbound-pro' ) => __('Tunisia', INBOUNDNOW_TEXT_DOMAIN),
|
1399 |
+
__('TR', 'inbound-pro' ) => __('Turkey', INBOUNDNOW_TEXT_DOMAIN),
|
1400 |
+
__('TM', 'inbound-pro' ) => __('Turkmenistan', INBOUNDNOW_TEXT_DOMAIN),
|
1401 |
+
__('TC', 'inbound-pro' ) => __('Turks and Caicos Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1402 |
+
__('TV', 'inbound-pro' ) => __('Tuvalu', INBOUNDNOW_TEXT_DOMAIN),
|
1403 |
+
__('UG', 'inbound-pro' ) => __('Uganda', INBOUNDNOW_TEXT_DOMAIN),
|
1404 |
+
__('UA', 'inbound-pro' ) => __('Ukraine', INBOUNDNOW_TEXT_DOMAIN),
|
1405 |
+
__('AE', 'inbound-pro' ) => __('United Arab Emirates', INBOUNDNOW_TEXT_DOMAIN),
|
1406 |
+
__('GB', 'inbound-pro' ) => __('United Kingdom', INBOUNDNOW_TEXT_DOMAIN),
|
1407 |
+
__('US', 'inbound-pro' ) => __('United States', INBOUNDNOW_TEXT_DOMAIN),
|
1408 |
+
__('UM', 'inbound-pro' ) => __('United States Minor Outlying Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1409 |
+
__('UY', 'inbound-pro' ) => __('Uruguay', INBOUNDNOW_TEXT_DOMAIN),
|
1410 |
+
__('UZ', 'inbound-pro' ) => __('Uzbekistan', INBOUNDNOW_TEXT_DOMAIN),
|
1411 |
+
__('VU', 'inbound-pro' ) => __('Vanuatu', INBOUNDNOW_TEXT_DOMAIN),
|
1412 |
+
__('VA', 'inbound-pro' ) => __('Vatican', INBOUNDNOW_TEXT_DOMAIN),
|
1413 |
+
__('VE', 'inbound-pro' ) => __('Venezuela', INBOUNDNOW_TEXT_DOMAIN),
|
1414 |
+
__('VN', 'inbound-pro' ) => __('Vietnam', INBOUNDNOW_TEXT_DOMAIN),
|
1415 |
+
__('VG', 'inbound-pro' ) => __('Virgin Islands (British)', INBOUNDNOW_TEXT_DOMAIN),
|
1416 |
+
__('VI', 'inbound-pro' ) => __('Virgin Islands (U.S.)', INBOUNDNOW_TEXT_DOMAIN),
|
1417 |
+
__('WF', 'inbound-pro' ) => __('Wallis and Futuna Islands', INBOUNDNOW_TEXT_DOMAIN),
|
1418 |
+
__('EH', 'inbound-pro' ) => __('Western Sahara', INBOUNDNOW_TEXT_DOMAIN),
|
1419 |
+
__('YE', 'inbound-pro' ) => __('Yemen', INBOUNDNOW_TEXT_DOMAIN),
|
1420 |
+
__('ZM', 'inbound-pro' ) => __('Zambia', INBOUNDNOW_TEXT_DOMAIN),
|
1421 |
+
__('ZW', 'inbound-pro' ) => __('Zimbabwe', INBOUNDNOW_TEXT_DOMAIN)
|
1422 |
);
|
1423 |
}
|
1424 |
|
shared/classes/class.inbound-api.api-keys-table.php
CHANGED
@@ -185,7 +185,7 @@ if (!class_exists('Inbound_API_Keys_Table')) {
|
|
185 |
<input type="hidden" name="inbound_action" value="generate-api-keys" />
|
186 |
<input type='text' name="user_id" placeholder="<?php _e( 'Enter User ID', INBOUNDNOW_TEXT_DOMAIN ); ?>" title="Your Current ID is <?php echo $user->ID; ?> ">
|
187 |
<?php submit_button( __( 'Generate New API Keys', INBOUNDNOW_TEXT_DOMAIN ), 'secondary', 'submit', false ); ?>
|
188 |
-
<a class='button button-primary' href='http://docs.inboundnow.com/guide/lead-api-documentation-v1/' target='_blank'><?php _e('View Documentation', '
|
189 |
</form>
|
190 |
<?php
|
191 |
$inbound_api_is_bottom = true;
|
185 |
<input type="hidden" name="inbound_action" value="generate-api-keys" />
|
186 |
<input type='text' name="user_id" placeholder="<?php _e( 'Enter User ID', INBOUNDNOW_TEXT_DOMAIN ); ?>" title="Your Current ID is <?php echo $user->ID; ?> ">
|
187 |
<?php submit_button( __( 'Generate New API Keys', INBOUNDNOW_TEXT_DOMAIN ), 'secondary', 'submit', false ); ?>
|
188 |
+
<a class='button button-primary' href='http://docs.inboundnow.com/guide/lead-api-documentation-v1/' target='_blank'><?php _e('View Documentation', 'inbound-pro' ); ?></a>
|
189 |
</form>
|
190 |
<?php
|
191 |
$inbound_api_is_bottom = true;
|
shared/classes/class.lead-storage.php
CHANGED
@@ -126,7 +126,7 @@ if (!class_exists('LeadStorage')) {
|
|
126 |
/* Add Leads to List on creation */
|
127 |
if(!empty($lead['lead_lists']) && is_array($lead['lead_lists'])){
|
128 |
global $Inbound_Leads;
|
129 |
-
$Inbound_Leads->add_lead_to_list($lead['id'], $lead['lead_lists']
|
130 |
|
131 |
/* store lead list cookie */
|
132 |
Leads_Tracking::cookie_lead_lists($lead['id']);
|
126 |
/* Add Leads to List on creation */
|
127 |
if(!empty($lead['lead_lists']) && is_array($lead['lead_lists'])){
|
128 |
global $Inbound_Leads;
|
129 |
+
$Inbound_Leads->add_lead_to_list($lead['id'], $lead['lead_lists']);
|
130 |
|
131 |
/* store lead list cookie */
|
132 |
Leads_Tracking::cookie_lead_lists($lead['id']);
|
shared/classes/class.post-type.wp-lead.php
CHANGED
@@ -156,11 +156,11 @@ if ( !class_exists('Inbound_Leads') ) {
|
|
156 |
public static function register_lead_list_columns( $cols ) {
|
157 |
$new_columns = array(
|
158 |
'cb' => '<input type="checkbox" />',
|
159 |
-
'lead_id' => __('ID', '
|
160 |
-
'name' => __('Name', '
|
161 |
-
'description' => __('Description', '
|
162 |
-
'slug' => __('Slug', '
|
163 |
-
'posts' => __('Posts', '
|
164 |
);
|
165 |
return $new_columns;
|
166 |
}
|
156 |
public static function register_lead_list_columns( $cols ) {
|
157 |
$new_columns = array(
|
158 |
'cb' => '<input type="checkbox" />',
|
159 |
+
'lead_id' => __('ID', 'inbound-pro' ),
|
160 |
+
'name' => __('Name', 'inbound-pro' ),
|
161 |
+
'description' => __('Description', 'inbound-pro' ),
|
162 |
+
'slug' => __('Slug', 'inbound-pro' ),
|
163 |
+
'posts' => __('Posts', 'inbound-pro' )
|
164 |
);
|
165 |
return $new_columns;
|
166 |
}
|
shared/classes/class.template-utils.php
CHANGED
@@ -29,8 +29,8 @@ class Inbound_Template_Utils {
|
|
29 |
static function add_screen() {
|
30 |
add_submenu_page(
|
31 |
'edit.php?post_type=landing-page',
|
32 |
-
__( 'Developer Tools' , '
|
33 |
-
__( 'Developer Tools' , '
|
34 |
'manage_options',
|
35 |
'template_utils',
|
36 |
array( __CLASS__ , 'html' )
|
29 |
static function add_screen() {
|
30 |
add_submenu_page(
|
31 |
'edit.php?post_type=landing-page',
|
32 |
+
__( 'Developer Tools' , 'inbound-pro' ),
|
33 |
+
__( 'Developer Tools' , 'inbound-pro' ),
|
34 |
'manage_options',
|
35 |
'template_utils',
|
36 |
array( __CLASS__ , 'html' )
|
shared/shortcodes/inbound-shortcodes.php
CHANGED
@@ -132,7 +132,7 @@ class Inbound_Shortcodes {
|
|
132 |
static function shortcodes_admin_head() { ?>
|
133 |
<script type="text/javascript">
|
134 |
/* <![CDATA[ */
|
135 |
-
// Load inline scripts var image_dir = "<?php // echo INBOUND_FORMS; ?>", test = "<?php // _e('Insert Shortcode', '
|
136 |
/* ]]> */
|
137 |
</script>
|
138 |
<?php
|
@@ -685,7 +685,7 @@ class Inbound_Shortcodes {
|
|
685 |
<tbody style="display:none;">
|
686 |
<tr class="form-row" style="text-align: center;">
|
687 |
<?php if( ! $shortcode->has_child ) : ?><td class="label"> </td><?php endif; ?>
|
688 |
-
<td class="field" style="width:500px;"><a href="#" id="inbound_insert_shortcode" class="button-primary inbound-shortcodes-insert"><?php _e('Insert Shortcode', '
|
689 |
</tr>
|
690 |
</tbody>
|
691 |
</table>
|
@@ -694,10 +694,10 @@ class Inbound_Shortcodes {
|
|
694 |
|
695 |
<div id="inbound-shortcodes-preview-wrap">
|
696 |
<div id="inbound-shortcodes-preview-head">
|
697 |
-
<?php _e('Form Preview', '
|
698 |
</div>
|
699 |
<?php if( $shortcode->no_preview ) : ?>
|
700 |
-
<div id="inbound-shortcodes-nopreview"><?php _e('Shortcode has no preview', '
|
701 |
<?php else :
|
702 |
if ( isset($_REQUEST['post']) && is_int($_REQUEST['post']) ) {
|
703 |
$post_id = html_entity_decode( $_REQUEST['post'] );
|
@@ -713,7 +713,7 @@ class Inbound_Shortcodes {
|
|
713 |
|
714 |
</div>
|
715 |
<div id="popup-controls">
|
716 |
-
<a href="#" id="inbound_insert_shortcode_two" class="button-primary inbound-shortcodes-insert-two"><?php _e('Insert Shortcode', '
|
717 |
<a href="#" id="shortcode_cancel" class="button inbound-shortcodes-insert-cancel">Cancel</a>
|
718 |
<a href="#" id="inbound_save_form" style="display:none;" class="button">Save As New Form</a>
|
719 |
</div>
|
132 |
static function shortcodes_admin_head() { ?>
|
133 |
<script type="text/javascript">
|
134 |
/* <![CDATA[ */
|
135 |
+
// Load inline scripts var image_dir = "<?php // echo INBOUND_FORMS; ?>", test = "<?php // _e('Insert Shortcode', 'inbound-pro' ); ?>";
|
136 |
/* ]]> */
|
137 |
</script>
|
138 |
<?php
|
685 |
<tbody style="display:none;">
|
686 |
<tr class="form-row" style="text-align: center;">
|
687 |
<?php if( ! $shortcode->has_child ) : ?><td class="label"> </td><?php endif; ?>
|
688 |
+
<td class="field" style="width:500px;"><a href="#" id="inbound_insert_shortcode" class="button-primary inbound-shortcodes-insert"><?php _e('Insert Shortcode', 'inbound-pro' ); ?></a></td>
|
689 |
</tr>
|
690 |
</tbody>
|
691 |
</table>
|
694 |
|
695 |
<div id="inbound-shortcodes-preview-wrap">
|
696 |
<div id="inbound-shortcodes-preview-head">
|
697 |
+
<?php _e('Form Preview', 'inbound-pro' ); ?>
|
698 |
</div>
|
699 |
<?php if( $shortcode->no_preview ) : ?>
|
700 |
+
<div id="inbound-shortcodes-nopreview"><?php _e('Shortcode has no preview', 'inbound-pro' ); ?></div>
|
701 |
<?php else :
|
702 |
if ( isset($_REQUEST['post']) && is_int($_REQUEST['post']) ) {
|
703 |
$post_id = html_entity_decode( $_REQUEST['post'] );
|
713 |
|
714 |
</div>
|
715 |
<div id="popup-controls">
|
716 |
+
<a href="#" id="inbound_insert_shortcode_two" class="button-primary inbound-shortcodes-insert-two"><?php _e('Insert Shortcode', 'inbound-pro' ); ?></a>
|
717 |
<a href="#" id="shortcode_cancel" class="button inbound-shortcodes-insert-cancel">Cancel</a>
|
718 |
<a href="#" id="inbound_save_form" style="display:none;" class="button">Save As New Form</a>
|
719 |
</div>
|
shared/shortcodes/popup.php
CHANGED
@@ -35,7 +35,7 @@ if( !$shortcode->no_preview ) {
|
|
35 |
<tbody style="display:none;">
|
36 |
<tr class="form-row" style="text-align: center;">
|
37 |
<?php if( ! $shortcode->has_child ) : ?><td class="label"> </td><?php endif; ?>
|
38 |
-
<td class="field" style="width:500px;"><a href="#" id="inbound_insert_shortcode" class="button-primary inbound-shortcodes-insert"><?php _e('Insert Shortcode', '
|
39 |
</tr>
|
40 |
</tbody>
|
41 |
</table>
|
@@ -46,7 +46,7 @@ if( !$shortcode->no_preview ) {
|
|
46 |
<?php if( !$shortcode->no_preview ) { ?>
|
47 |
<div id="inbound-shortcodes-preview-wrap">
|
48 |
<div id="inbound-shortcodes-preview-head">
|
49 |
-
<?php _e('Shortcode Preview', '
|
50 |
</div>
|
51 |
|
52 |
<iframe src="<?php echo INBOUND_FORMS; ?>preview.php?sc=" width="285" scrollbar='true' frameborder="0" id="inbound-shortcodes-preview"></iframe>
|
35 |
<tbody style="display:none;">
|
36 |
<tr class="form-row" style="text-align: center;">
|
37 |
<?php if( ! $shortcode->has_child ) : ?><td class="label"> </td><?php endif; ?>
|
38 |
+
<td class="field" style="width:500px;"><a href="#" id="inbound_insert_shortcode" class="button-primary inbound-shortcodes-insert"><?php _e('Insert Shortcode', 'inbound-pro' ); ?></a></td>
|
39 |
</tr>
|
40 |
</tbody>
|
41 |
</table>
|
46 |
<?php if( !$shortcode->no_preview ) { ?>
|
47 |
<div id="inbound-shortcodes-preview-wrap">
|
48 |
<div id="inbound-shortcodes-preview-head">
|
49 |
+
<?php _e('Shortcode Preview', 'inbound-pro' ); ?>
|
50 |
</div>
|
51 |
|
52 |
<iframe src="<?php echo INBOUND_FORMS; ?>preview.php?sc=" width="285" scrollbar='true' frameborder="0" id="inbound-shortcodes-preview"></iframe>
|
shared/shortcodes/shortcodes/alert.php
CHANGED
@@ -9,21 +9,21 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'color' => array(
|
12 |
-
'name' => __('Color Style', '
|
13 |
-
'desc' => __('Select the style.', '
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
-
'default' => __('Default', '
|
17 |
-
'blue' => __('Blue', '
|
18 |
-
'green' => __('Green', '
|
19 |
-
'red' => __('Red', '
|
20 |
-
'yellow' => __('Yellow', '
|
21 |
),
|
22 |
'std' => ''
|
23 |
),
|
24 |
'content' => array(
|
25 |
-
'name' => __('Message', '
|
26 |
-
'desc' => __('Your message here.', '
|
27 |
'type' => 'textarea',
|
28 |
'std' => ''
|
29 |
)
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'color' => array(
|
12 |
+
'name' => __('Color Style', 'inbound-pro' ),
|
13 |
+
'desc' => __('Select the style.', 'inbound-pro' ),
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
+
'default' => __('Default', 'inbound-pro' ),
|
17 |
+
'blue' => __('Blue', 'inbound-pro' ),
|
18 |
+
'green' => __('Green', 'inbound-pro' ),
|
19 |
+
'red' => __('Red', 'inbound-pro' ),
|
20 |
+
'yellow' => __('Yellow', 'inbound-pro' )
|
21 |
),
|
22 |
'std' => ''
|
23 |
),
|
24 |
'content' => array(
|
25 |
+
'name' => __('Message', 'inbound-pro' ),
|
26 |
+
'desc' => __('Your message here.', 'inbound-pro' ),
|
27 |
'type' => 'textarea',
|
28 |
'std' => ''
|
29 |
)
|
shared/shortcodes/shortcodes/button.php
CHANGED
@@ -11,8 +11,8 @@
|
|
11 |
'options' => array(
|
12 |
/**
|
13 |
'style' => array(
|
14 |
-
'name' => __('Button Style', '
|
15 |
-
'desc' => __('Select the button style.', '
|
16 |
'type' => 'select',
|
17 |
'options' => array(
|
18 |
'default' => 'Default',
|
@@ -22,27 +22,27 @@
|
|
22 |
'std' => 'default'
|
23 |
),*/
|
24 |
'content' => array(
|
25 |
-
'name' => __('Button Text', '
|
26 |
-
'desc' => __('Enter the button text label.', '
|
27 |
'type' => 'text',
|
28 |
'std' => 'Button Text'
|
29 |
),
|
30 |
'url' => array(
|
31 |
-
'name' => __('Button Link', '
|
32 |
-
'desc' => __('Enter the destination URL.', '
|
33 |
'type' => 'text',
|
34 |
'std' => ''
|
35 |
),
|
36 |
'font-size' => array(
|
37 |
-
'name' => __('Font Size', '
|
38 |
-
'desc' => __('Size of Button Font. This also determines default button size', '
|
39 |
'type' => 'text',
|
40 |
'std' => '20'
|
41 |
),
|
42 |
/**
|
43 |
'color' => array(
|
44 |
-
'name' => __('Button Color', '
|
45 |
-
'desc' => __('Select the button color.', '
|
46 |
'type' => 'select',
|
47 |
'options' => array(
|
48 |
'default' => 'Default',
|
@@ -61,35 +61,35 @@
|
|
61 |
'std' => 'default'
|
62 |
), */
|
63 |
'color' => array(
|
64 |
-
'name' => __('Button Color', '
|
65 |
-
'desc' => __('Color of button', '
|
66 |
'type' => 'colorpicker',
|
67 |
'std' => '#c8232b'
|
68 |
),
|
69 |
'text-color' => array(
|
70 |
-
'name' => __('Button Text Color', '
|
71 |
-
'desc' => __('Color of text', '
|
72 |
'type' => 'colorpicker',
|
73 |
'std' => '#ffffff'
|
74 |
),
|
75 |
'icon' => array(
|
76 |
-
'name' => __('Icon', '
|
77 |
-
'desc' => __('Select an icon.', '
|
78 |
'type' => 'select',
|
79 |
'options' => $fontawesome,
|
80 |
'std' => ''
|
81 |
),
|
82 |
|
83 |
'width' => array(
|
84 |
-
'name' => __('Custom Width', '
|
85 |
-
'desc' => __('Enter in pixel width or % width. Example: 200 <u>or</u> 100%', '
|
86 |
'type' => 'text',
|
87 |
'std' => '',
|
88 |
'class' => 'main-design-settings',
|
89 |
),
|
90 |
'target' => array(
|
91 |
-
'name' => __('Open Link in New Tab?', '
|
92 |
-
'checkbox_text' => __('Do you want to open links in this window or a new one?', '
|
93 |
'desc' => '',
|
94 |
'type' => 'select',
|
95 |
'options' => array(
|
11 |
'options' => array(
|
12 |
/**
|
13 |
'style' => array(
|
14 |
+
'name' => __('Button Style', 'inbound-pro' ),
|
15 |
+
'desc' => __('Select the button style.', 'inbound-pro' ),
|
16 |
'type' => 'select',
|
17 |
'options' => array(
|
18 |
'default' => 'Default',
|
22 |
'std' => 'default'
|
23 |
),*/
|
24 |
'content' => array(
|
25 |
+
'name' => __('Button Text', 'inbound-pro' ),
|
26 |
+
'desc' => __('Enter the button text label.', 'inbound-pro' ),
|
27 |
'type' => 'text',
|
28 |
'std' => 'Button Text'
|
29 |
),
|
30 |
'url' => array(
|
31 |
+
'name' => __('Button Link', 'inbound-pro' ),
|
32 |
+
'desc' => __('Enter the destination URL.', 'inbound-pro' ),
|
33 |
'type' => 'text',
|
34 |
'std' => ''
|
35 |
),
|
36 |
'font-size' => array(
|
37 |
+
'name' => __('Font Size', 'inbound-pro' ),
|
38 |
+
'desc' => __('Size of Button Font. This also determines default button size', 'inbound-pro' ),
|
39 |
'type' => 'text',
|
40 |
'std' => '20'
|
41 |
),
|
42 |
/**
|
43 |
'color' => array(
|
44 |
+
'name' => __('Button Color', 'inbound-pro' ),
|
45 |
+
'desc' => __('Select the button color.', 'inbound-pro' ),
|
46 |
'type' => 'select',
|
47 |
'options' => array(
|
48 |
'default' => 'Default',
|
61 |
'std' => 'default'
|
62 |
), */
|
63 |
'color' => array(
|
64 |
+
'name' => __('Button Color', 'inbound-pro' ),
|
65 |
+
'desc' => __('Color of button', 'inbound-pro' ),
|
66 |
'type' => 'colorpicker',
|
67 |
'std' => '#c8232b'
|
68 |
),
|
69 |
'text-color' => array(
|
70 |
+
'name' => __('Button Text Color', 'inbound-pro' ),
|
71 |
+
'desc' => __('Color of text', 'inbound-pro' ),
|
72 |
'type' => 'colorpicker',
|
73 |
'std' => '#ffffff'
|
74 |
),
|
75 |
'icon' => array(
|
76 |
+
'name' => __('Icon', 'inbound-pro' ),
|
77 |
+
'desc' => __('Select an icon.', 'inbound-pro' ),
|
78 |
'type' => 'select',
|
79 |
'options' => $fontawesome,
|
80 |
'std' => ''
|
81 |
),
|
82 |
|
83 |
'width' => array(
|
84 |
+
'name' => __('Custom Width', 'inbound-pro' ),
|
85 |
+
'desc' => __('Enter in pixel width or % width. Example: 200 <u>or</u> 100%', 'inbound-pro' ),
|
86 |
'type' => 'text',
|
87 |
'std' => '',
|
88 |
'class' => 'main-design-settings',
|
89 |
),
|
90 |
'target' => array(
|
91 |
+
'name' => __('Open Link in New Tab?', 'inbound-pro' ),
|
92 |
+
'checkbox_text' => __('Do you want to open links in this window or a new one?', 'inbound-pro' ),
|
93 |
'desc' => '',
|
94 |
'type' => 'select',
|
95 |
'options' => array(
|
shared/shortcodes/shortcodes/call-to-action.php
CHANGED
@@ -8,14 +8,14 @@
|
|
8 |
'no_preview' => true,
|
9 |
'options' => array(
|
10 |
'insert_default' => array(
|
11 |
-
'name' => __('Insert cta', '
|
12 |
-
'desc' => __('Choose CTA', '
|
13 |
'type' => 'cta',
|
14 |
'std' => '',
|
15 |
),
|
16 |
'align' => array(
|
17 |
-
'name' => __('CTA Alignment', '
|
18 |
-
'desc' => __('Choose Your Form Layout', '
|
19 |
'type' => 'select',
|
20 |
'options' => array(
|
21 |
"none" => "None (Centered)",
|
8 |
'no_preview' => true,
|
9 |
'options' => array(
|
10 |
'insert_default' => array(
|
11 |
+
'name' => __('Insert cta', 'inbound-pro' ),
|
12 |
+
'desc' => __('Choose CTA', 'inbound-pro' ),
|
13 |
'type' => 'cta',
|
14 |
'std' => '',
|
15 |
),
|
16 |
'align' => array(
|
17 |
+
'name' => __('CTA Alignment', 'inbound-pro' ),
|
18 |
+
'desc' => __('Choose Your Form Layout', 'inbound-pro' ),
|
19 |
'type' => 'select',
|
20 |
'options' => array(
|
21 |
"none" => "None (Centered)",
|
shared/shortcodes/shortcodes/callout.php
CHANGED
@@ -9,20 +9,20 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'title' => array(
|
12 |
-
'name' => __('Title', '
|
13 |
-
'desc' => __('Enter the heading text.', '
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'subtitle' => array(
|
18 |
-
'name' => __('Sub Title', '
|
19 |
-
'desc' => __('Enter the sub title.', '
|
20 |
'type' => 'textarea',
|
21 |
'std' => ''
|
22 |
),
|
23 |
'button_color' => array(
|
24 |
-
'name' => __('Button Color', '
|
25 |
-
'desc' => __('Select the button color.', '
|
26 |
'type' => 'select',
|
27 |
'options' => array(
|
28 |
'default' => 'Default',
|
@@ -41,21 +41,21 @@
|
|
41 |
'std' => 'default'
|
42 |
),
|
43 |
'button_label' => array(
|
44 |
-
'name' => __('Button Text Label', '
|
45 |
-
'desc' => __('Enter the button text label.', '
|
46 |
'type' => 'text',
|
47 |
'std' => ''
|
48 |
),
|
49 |
'button_icon' => array(
|
50 |
-
'name' => __('Button Icon', '
|
51 |
-
'desc' => __('Select an icon.', '
|
52 |
'type' => 'select',
|
53 |
'options' => $fontawesome,
|
54 |
'std' => 'none'
|
55 |
),
|
56 |
'link' => array(
|
57 |
-
'name' => __('Link', '
|
58 |
-
'desc' => __('Enter the button link destination URL.', '
|
59 |
'type' => 'text',
|
60 |
'std' => ''
|
61 |
)
|
@@ -67,26 +67,26 @@
|
|
67 |
/* Page builder module config
|
68 |
* ----------------------------------------------------- */
|
69 |
$freshbuilder_modules['callout'] = array(
|
70 |
-
'name' => __('Call Out', '
|
71 |
'size' => 'one_full',
|
72 |
'options' => array(
|
73 |
'title' => array(
|
74 |
-
'name' => __('Title', '
|
75 |
-
'desc' => __('Enter the heading text.', '
|
76 |
'type' => 'text',
|
77 |
'class' => '',
|
78 |
'is_content' => '0'
|
79 |
),
|
80 |
'subtitle' => array(
|
81 |
-
'name' => __('Sub Title', '
|
82 |
-
'desc' => __('Enter the sub title.', '
|
83 |
'type' => 'textarea',
|
84 |
'class' => '',
|
85 |
'is_content' => '0'
|
86 |
),
|
87 |
'button_color' => array(
|
88 |
-
'name' => __('Button Color', '
|
89 |
-
'desc' => __('Select the button color.', '
|
90 |
'type' => 'select',
|
91 |
'options' => array(
|
92 |
'default' => 'Default',
|
@@ -107,15 +107,15 @@
|
|
107 |
'is_content' => '0'
|
108 |
),
|
109 |
'button_label' => array(
|
110 |
-
'name' => __('Button Text Label', '
|
111 |
-
'desc' => __('Enter the button text label.', '
|
112 |
'type' => 'text',
|
113 |
'class' => '',
|
114 |
'is_content' => '0'
|
115 |
),
|
116 |
'button_icon' => array(
|
117 |
-
'name' => __('Button Icon', '
|
118 |
-
'desc' => __('Select an icon.', '
|
119 |
'type' => 'select',
|
120 |
'options' => $fontawesome,
|
121 |
'std' => 'none',
|
@@ -123,8 +123,8 @@
|
|
123 |
'is_content' => '0'
|
124 |
),
|
125 |
'link' => array(
|
126 |
-
'name' => __('Link', '
|
127 |
-
'desc' => __('Enter the button link destination URL.', '
|
128 |
'type' => 'text',
|
129 |
'class' => '',
|
130 |
'is_content' => '0'
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'title' => array(
|
12 |
+
'name' => __('Title', 'inbound-pro' ),
|
13 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'subtitle' => array(
|
18 |
+
'name' => __('Sub Title', 'inbound-pro' ),
|
19 |
+
'desc' => __('Enter the sub title.', 'inbound-pro' ),
|
20 |
'type' => 'textarea',
|
21 |
'std' => ''
|
22 |
),
|
23 |
'button_color' => array(
|
24 |
+
'name' => __('Button Color', 'inbound-pro' ),
|
25 |
+
'desc' => __('Select the button color.', 'inbound-pro' ),
|
26 |
'type' => 'select',
|
27 |
'options' => array(
|
28 |
'default' => 'Default',
|
41 |
'std' => 'default'
|
42 |
),
|
43 |
'button_label' => array(
|
44 |
+
'name' => __('Button Text Label', 'inbound-pro' ),
|
45 |
+
'desc' => __('Enter the button text label.', 'inbound-pro' ),
|
46 |
'type' => 'text',
|
47 |
'std' => ''
|
48 |
),
|
49 |
'button_icon' => array(
|
50 |
+
'name' => __('Button Icon', 'inbound-pro' ),
|
51 |
+
'desc' => __('Select an icon.', 'inbound-pro' ),
|
52 |
'type' => 'select',
|
53 |
'options' => $fontawesome,
|
54 |
'std' => 'none'
|
55 |
),
|
56 |
'link' => array(
|
57 |
+
'name' => __('Link', 'inbound-pro' ),
|
58 |
+
'desc' => __('Enter the button link destination URL.', 'inbound-pro' ),
|
59 |
'type' => 'text',
|
60 |
'std' => ''
|
61 |
)
|
67 |
/* Page builder module config
|
68 |
* ----------------------------------------------------- */
|
69 |
$freshbuilder_modules['callout'] = array(
|
70 |
+
'name' => __('Call Out', 'inbound-pro' ),
|
71 |
'size' => 'one_full',
|
72 |
'options' => array(
|
73 |
'title' => array(
|
74 |
+
'name' => __('Title', 'inbound-pro' ),
|
75 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
76 |
'type' => 'text',
|
77 |
'class' => '',
|
78 |
'is_content' => '0'
|
79 |
),
|
80 |
'subtitle' => array(
|
81 |
+
'name' => __('Sub Title', 'inbound-pro' ),
|
82 |
+
'desc' => __('Enter the sub title.', 'inbound-pro' ),
|
83 |
'type' => 'textarea',
|
84 |
'class' => '',
|
85 |
'is_content' => '0'
|
86 |
),
|
87 |
'button_color' => array(
|
88 |
+
'name' => __('Button Color', 'inbound-pro' ),
|
89 |
+
'desc' => __('Select the button color.', 'inbound-pro' ),
|
90 |
'type' => 'select',
|
91 |
'options' => array(
|
92 |
'default' => 'Default',
|
107 |
'is_content' => '0'
|
108 |
),
|
109 |
'button_label' => array(
|
110 |
+
'name' => __('Button Text Label', 'inbound-pro' ),
|
111 |
+
'desc' => __('Enter the button text label.', 'inbound-pro' ),
|
112 |
'type' => 'text',
|
113 |
'class' => '',
|
114 |
'is_content' => '0'
|
115 |
),
|
116 |
'button_icon' => array(
|
117 |
+
'name' => __('Button Icon', 'inbound-pro' ),
|
118 |
+
'desc' => __('Select an icon.', 'inbound-pro' ),
|
119 |
'type' => 'select',
|
120 |
'options' => $fontawesome,
|
121 |
'std' => 'none',
|
123 |
'is_content' => '0'
|
124 |
),
|
125 |
'link' => array(
|
126 |
+
'name' => __('Link', 'inbound-pro' ),
|
127 |
+
'desc' => __('Enter the button link destination URL.', 'inbound-pro' ),
|
128 |
'type' => 'text',
|
129 |
'class' => '',
|
130 |
'is_content' => '0'
|
shared/shortcodes/shortcodes/column.php
CHANGED
@@ -9,8 +9,8 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'gutter' => array(
|
12 |
-
'name' => __('Gutter Width', '
|
13 |
-
'desc' => __('A space between the columns.', '
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
'20' => '20px',
|
@@ -19,8 +19,8 @@
|
|
19 |
'std' => ''
|
20 |
),
|
21 |
'set' => array(
|
22 |
-
'name' => __('Column Set', '
|
23 |
-
'desc' => __('Select the set.', '
|
24 |
'type' => 'select',
|
25 |
'options' => array(
|
26 |
'[one_full]Content goes here[/one_full]' => '1/1',
|
@@ -45,12 +45,12 @@
|
|
45 |
/* Page builder module config
|
46 |
* ----------------------------------------------------- */
|
47 |
$freshbuilder_modules['column'] = array(
|
48 |
-
'name' => __('Column', '
|
49 |
'size' => 'one_fifth',
|
50 |
'options' => array(
|
51 |
'content' => array(
|
52 |
-
'name' => __('Column Content', '
|
53 |
-
'desc' => __('Enter the column content', '
|
54 |
'type' => 'textarea',
|
55 |
'std' => '',
|
56 |
'class' => 'wide',
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'gutter' => array(
|
12 |
+
'name' => __('Gutter Width', 'inbound-pro' ),
|
13 |
+
'desc' => __('A space between the columns.', 'inbound-pro' ),
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
'20' => '20px',
|
19 |
'std' => ''
|
20 |
),
|
21 |
'set' => array(
|
22 |
+
'name' => __('Column Set', 'inbound-pro' ),
|
23 |
+
'desc' => __('Select the set.', 'inbound-pro' ),
|
24 |
'type' => 'select',
|
25 |
'options' => array(
|
26 |
'[one_full]Content goes here[/one_full]' => '1/1',
|
45 |
/* Page builder module config
|
46 |
* ----------------------------------------------------- */
|
47 |
$freshbuilder_modules['column'] = array(
|
48 |
+
'name' => __('Column', 'inbound-pro' ),
|
49 |
'size' => 'one_fifth',
|
50 |
'options' => array(
|
51 |
'content' => array(
|
52 |
+
'name' => __('Column Content', 'inbound-pro' ),
|
53 |
+
'desc' => __('Enter the column content', 'inbound-pro' ),
|
54 |
'type' => 'textarea',
|
55 |
'std' => '',
|
56 |
'class' => 'wide',
|
shared/shortcodes/shortcodes/content-box.php
CHANGED
@@ -9,21 +9,21 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'color' => array(
|
12 |
-
'name' => __('Box Color', '
|
13 |
-
'desc' => __('Select the color.', '
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
-
'default' => __('Default', '
|
17 |
-
'blue' => __('Blue', '
|
18 |
-
'green' => __('Green', '
|
19 |
-
'red' => __('Red', '
|
20 |
-
'yellow' => __('Yellow', '
|
21 |
),
|
22 |
'std' => ''
|
23 |
),
|
24 |
'content' => array(
|
25 |
-
'name' => __('Content', '
|
26 |
-
'desc' => __('Enter the content.', '
|
27 |
'type' => 'textarea',
|
28 |
'std' => ''
|
29 |
)
|
@@ -35,27 +35,27 @@
|
|
35 |
/* Page builder module config
|
36 |
* ----------------------------------------------------- */
|
37 |
$freshbuilder_modules['content_box'] = array(
|
38 |
-
'name' => __('Content Box', '
|
39 |
'size' => 'one_third',
|
40 |
'options' => array(
|
41 |
'color' => array(
|
42 |
-
'name' => __('Box Color', '
|
43 |
-
'desc' => __('Select the color.', '
|
44 |
'type' => 'select',
|
45 |
'options' => array(
|
46 |
-
'default' => __('Default', '
|
47 |
-
'blue' => __('Blue', '
|
48 |
-
'green' => __('Green', '
|
49 |
-
'red' => __('Red', '
|
50 |
-
'yellow' => __('Yellow', '
|
51 |
),
|
52 |
'std' => '',
|
53 |
'class' => '',
|
54 |
'is_content' => 0
|
55 |
),
|
56 |
'content' => array(
|
57 |
-
'name' => __('Content', '
|
58 |
-
'desc' => __('Enter the content', '
|
59 |
'type' => 'textarea',
|
60 |
'std' => '',
|
61 |
'class' => '',
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'color' => array(
|
12 |
+
'name' => __('Box Color', 'inbound-pro' ),
|
13 |
+
'desc' => __('Select the color.', 'inbound-pro' ),
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
+
'default' => __('Default', 'inbound-pro' ),
|
17 |
+
'blue' => __('Blue', 'inbound-pro' ),
|
18 |
+
'green' => __('Green', 'inbound-pro' ),
|
19 |
+
'red' => __('Red', 'inbound-pro' ),
|
20 |
+
'yellow' => __('Yellow', 'inbound-pro' )
|
21 |
),
|
22 |
'std' => ''
|
23 |
),
|
24 |
'content' => array(
|
25 |
+
'name' => __('Content', 'inbound-pro' ),
|
26 |
+
'desc' => __('Enter the content.', 'inbound-pro' ),
|
27 |
'type' => 'textarea',
|
28 |
'std' => ''
|
29 |
)
|
35 |
/* Page builder module config
|
36 |
* ----------------------------------------------------- */
|
37 |
$freshbuilder_modules['content_box'] = array(
|
38 |
+
'name' => __('Content Box', 'inbound-pro' ),
|
39 |
'size' => 'one_third',
|
40 |
'options' => array(
|
41 |
'color' => array(
|
42 |
+
'name' => __('Box Color', 'inbound-pro' ),
|
43 |
+
'desc' => __('Select the color.', 'inbound-pro' ),
|
44 |
'type' => 'select',
|
45 |
'options' => array(
|
46 |
+
'default' => __('Default', 'inbound-pro' ),
|
47 |
+
'blue' => __('Blue', 'inbound-pro' ),
|
48 |
+
'green' => __('Green', 'inbound-pro' ),
|
49 |
+
'red' => __('Red', 'inbound-pro' ),
|
50 |
+
'yellow' => __('Yellow', 'inbound-pro' )
|
51 |
),
|
52 |
'std' => '',
|
53 |
'class' => '',
|
54 |
'is_content' => 0
|
55 |
),
|
56 |
'content' => array(
|
57 |
+
'name' => __('Content', 'inbound-pro' ),
|
58 |
+
'desc' => __('Enter the content', 'inbound-pro' ),
|
59 |
'type' => 'textarea',
|
60 |
'std' => '',
|
61 |
'class' => '',
|
shared/shortcodes/shortcodes/divider.php
CHANGED
@@ -9,33 +9,33 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'style' => array(
|
12 |
-
'name' => __('Border Style', '
|
13 |
-
'desc' => __('Select the style.', '
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
-
'none' => __('No Border', '
|
17 |
-
'dashed' => __('Dashed', '
|
18 |
-
'dotted' => __('Dotted', '
|
19 |
-
'double' => __('Double', '
|
20 |
-
'solid' => __('Solid', '
|
21 |
),
|
22 |
'std' => 'none'
|
23 |
),
|
24 |
'color' => array(
|
25 |
-
'name' => __('Border Color', '
|
26 |
-
'desc' => __('Enter a hex color code.', '
|
27 |
'type' => 'text',
|
28 |
'std' => '#ebebea'
|
29 |
),
|
30 |
'margin_top' => array(
|
31 |
-
'name' => __('Top Margin', '
|
32 |
-
'desc' => __('Enter the top margin value.', '
|
33 |
'type' => 'text',
|
34 |
'std' => '0px'
|
35 |
),
|
36 |
'margin_bottom' => array(
|
37 |
-
'name' => __('Bottom Margin', '
|
38 |
-
'desc' => __('Enter the bottom margin value.', '
|
39 |
'type' => 'text',
|
40 |
'std' => '0px'
|
41 |
)
|
@@ -47,42 +47,42 @@
|
|
47 |
/* Page builder module config
|
48 |
* ----------------------------------------------------- */
|
49 |
$freshbuilder_modules['divider'] = array(
|
50 |
-
'name' => __('Divider', '
|
51 |
'size' => 'one_full',
|
52 |
'options' => array(
|
53 |
'style' => array(
|
54 |
-
'name' => __('Border Style', '
|
55 |
-
'desc' => __('Select the style.', '
|
56 |
'options' => array(
|
57 |
-
'none' => __('No Border', '
|
58 |
-
'dashed' => __('Dashed', '
|
59 |
-
'dotted' => __('Dotted', '
|
60 |
-
'double' => __('Double', '
|
61 |
-
'solid' => __('Solid', '
|
62 |
),
|
63 |
'std' => 'none',
|
64 |
'class' => '',
|
65 |
'is_content' => '0'
|
66 |
),
|
67 |
'color' => array(
|
68 |
-
'name' => __('Border Color', '
|
69 |
-
'desc' => __('Enter a hex color code.', '
|
70 |
'type' => 'text',
|
71 |
'std' => '#ebebea',
|
72 |
'class' => '',
|
73 |
'is_content' => '0'
|
74 |
),
|
75 |
'margin_top' => array(
|
76 |
-
'name' => __('Margin Top', '
|
77 |
-
'desc' => __('Enter the top margin value.', '
|
78 |
'type' => 'text',
|
79 |
'std' => '0px',
|
80 |
'class' => '',
|
81 |
'is_content' => '0'
|
82 |
),
|
83 |
'margin_bottom' => array(
|
84 |
-
'name' => __('Margin Bottom', '
|
85 |
-
'desc' => __('Enter the bottom margin value.', '
|
86 |
'type' => 'text',
|
87 |
'std' => '0px',
|
88 |
'class' => '',
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'style' => array(
|
12 |
+
'name' => __('Border Style', 'inbound-pro' ),
|
13 |
+
'desc' => __('Select the style.', 'inbound-pro' ),
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
+
'none' => __('No Border', 'inbound-pro' ),
|
17 |
+
'dashed' => __('Dashed', 'inbound-pro' ),
|
18 |
+
'dotted' => __('Dotted', 'inbound-pro' ),
|
19 |
+
'double' => __('Double', 'inbound-pro' ),
|
20 |
+
'solid' => __('Solid', 'inbound-pro' )
|
21 |
),
|
22 |
'std' => 'none'
|
23 |
),
|
24 |
'color' => array(
|
25 |
+
'name' => __('Border Color', 'inbound-pro' ),
|
26 |
+
'desc' => __('Enter a hex color code.', 'inbound-pro' ),
|
27 |
'type' => 'text',
|
28 |
'std' => '#ebebea'
|
29 |
),
|
30 |
'margin_top' => array(
|
31 |
+
'name' => __('Top Margin', 'inbound-pro' ),
|
32 |
+
'desc' => __('Enter the top margin value.', 'inbound-pro' ),
|
33 |
'type' => 'text',
|
34 |
'std' => '0px'
|
35 |
),
|
36 |
'margin_bottom' => array(
|
37 |
+
'name' => __('Bottom Margin', 'inbound-pro' ),
|
38 |
+
'desc' => __('Enter the bottom margin value.', 'inbound-pro' ),
|
39 |
'type' => 'text',
|
40 |
'std' => '0px'
|
41 |
)
|
47 |
/* Page builder module config
|
48 |
* ----------------------------------------------------- */
|
49 |
$freshbuilder_modules['divider'] = array(
|
50 |
+
'name' => __('Divider', 'inbound-pro' ),
|
51 |
'size' => 'one_full',
|
52 |
'options' => array(
|
53 |
'style' => array(
|
54 |
+
'name' => __('Border Style', 'inbound-pro' ),
|
55 |
+
'desc' => __('Select the style.', 'inbound-pro' ),'type' => 'select',
|
56 |
'options' => array(
|
57 |
+
'none' => __('No Border', 'inbound-pro' ),
|
58 |
+
'dashed' => __('Dashed', 'inbound-pro' ),
|
59 |
+
'dotted' => __('Dotted', 'inbound-pro' ),
|
60 |
+
'double' => __('Double', 'inbound-pro' ),
|
61 |
+
'solid' => __('Solid', 'inbound-pro' )
|
62 |
),
|
63 |
'std' => 'none',
|
64 |
'class' => '',
|
65 |
'is_content' => '0'
|
66 |
),
|
67 |
'color' => array(
|
68 |
+
'name' => __('Border Color', 'inbound-pro' ),
|
69 |
+
'desc' => __('Enter a hex color code.', 'inbound-pro' ),
|
70 |
'type' => 'text',
|
71 |
'std' => '#ebebea',
|
72 |
'class' => '',
|
73 |
'is_content' => '0'
|
74 |
),
|
75 |
'margin_top' => array(
|
76 |
+
'name' => __('Margin Top', 'inbound-pro' ),
|
77 |
+
'desc' => __('Enter the top margin value.', 'inbound-pro' ),
|
78 |
'type' => 'text',
|
79 |
'std' => '0px',
|
80 |
'class' => '',
|
81 |
'is_content' => '0'
|
82 |
),
|
83 |
'margin_bottom' => array(
|
84 |
+
'name' => __('Margin Bottom', 'inbound-pro' ),
|
85 |
+
'desc' => __('Enter the bottom margin value.', 'inbound-pro' ),
|
86 |
'type' => 'text',
|
87 |
'std' => '0px',
|
88 |
'class' => '',
|
shared/shortcodes/shortcodes/gmap.php
CHANGED
@@ -9,72 +9,72 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'type' => array(
|
12 |
-
'name' => __('Map Type', '
|
13 |
-
'desc' => __('Select a map type', '
|
14 |
'type' => 'select',
|
15 |
'options' => array('HYBRID' => 'Hybrid', 'ROADMAP' => 'Road Map', 'SATELLITE' => 'Satellite', 'TERRAIN' => 'Terrain'),
|
16 |
'std' => ''
|
17 |
),
|
18 |
'width' => array(
|
19 |
-
'name' => __('Map Width', '
|
20 |
'desc' => '',
|
21 |
'type' => 'text',
|
22 |
'std' => ''
|
23 |
),
|
24 |
'height' => array(
|
25 |
-
'name' => __('Map Height', '
|
26 |
'desc' => '',
|
27 |
'type' => 'text',
|
28 |
'std' => ''
|
29 |
),
|
30 |
'address' => array(
|
31 |
-
'name' => __('Address', '
|
32 |
-
'desc' => __('Enter your address here. ex: "New York" or "New York, USA" If you want a accurate position please fill the Latitude and Longitude fields', '
|
33 |
'type' => 'text',
|
34 |
'std' => ''
|
35 |
),
|
36 |
'latitude' => array(
|
37 |
-
'name' => __('Latitude', '
|
38 |
-
'desc' => __('Latitude is specified in degrees within the range [-90, 90]', '
|
39 |
'type' => 'text',
|
40 |
'std' => ''
|
41 |
),
|
42 |
'longitude' => array(
|
43 |
-
'name' => __('Longitude', '
|
44 |
-
'desc' => __('Longitude is specified in degrees within the range [-180, 180]', '
|
45 |
'type' => 'text',
|
46 |
'std' => ''
|
47 |
),
|
48 |
'zoom' => array(
|
49 |
-
'name' => __('Zoom', '
|
50 |
-
'desc' => __('Set the zoom level, numeric value from 1 to 19', '
|
51 |
'type' => 'text',
|
52 |
'std' => '8'
|
53 |
),
|
54 |
'pancontrol' => array(
|
55 |
-
'name' => __('Pan Control', '
|
56 |
-
'desc' => __('Enable pan control?', '
|
57 |
'type' => 'select',
|
58 |
'options' => array('true' => 'Enable', 'false' => 'Disable'),
|
59 |
'std' => ''
|
60 |
),
|
61 |
'zoomcontrol' => array(
|
62 |
-
'name' => __('Zoom Control', '
|
63 |
-
'desc' => __('Enable zoom control?', '
|
64 |
'type' => 'select',
|
65 |
'options' => array('true' => 'Enable', 'false' => 'Disable'),
|
66 |
'std' => ''
|
67 |
),
|
68 |
'maptypecontrol' => array(
|
69 |
-
'name' => __('Map Type Control', '
|
70 |
-
'desc' => __('Enable map type control?', '
|
71 |
'type' => 'select',
|
72 |
'options' => array('true' => 'Enable', 'false' => 'Disable'),
|
73 |
'std' => ''
|
74 |
),
|
75 |
'content' => array(
|
76 |
-
'name' => __('Popup Content', '
|
77 |
-
'desc' => __('A descriptive text for the Google Map marker popup, ex: "My Office"', '
|
78 |
'type' => 'textarea',
|
79 |
'std' => ''
|
80 |
)
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'type' => array(
|
12 |
+
'name' => __('Map Type', 'inbound-pro' ),
|
13 |
+
'desc' => __('Select a map type', 'inbound-pro' ),
|
14 |
'type' => 'select',
|
15 |
'options' => array('HYBRID' => 'Hybrid', 'ROADMAP' => 'Road Map', 'SATELLITE' => 'Satellite', 'TERRAIN' => 'Terrain'),
|
16 |
'std' => ''
|
17 |
),
|
18 |
'width' => array(
|
19 |
+
'name' => __('Map Width', 'inbound-pro' ),
|
20 |
'desc' => '',
|
21 |
'type' => 'text',
|
22 |
'std' => ''
|
23 |
),
|
24 |
'height' => array(
|
25 |
+
'name' => __('Map Height', 'inbound-pro' ),
|
26 |
'desc' => '',
|
27 |
'type' => 'text',
|
28 |
'std' => ''
|
29 |
),
|
30 |
'address' => array(
|
31 |
+
'name' => __('Address', 'inbound-pro' ),
|
32 |
+
'desc' => __('Enter your address here. ex: "New York" or "New York, USA" If you want a accurate position please fill the Latitude and Longitude fields', 'inbound-pro' ),
|
33 |
'type' => 'text',
|
34 |
'std' => ''
|
35 |
),
|
36 |
'latitude' => array(
|
37 |
+
'name' => __('Latitude', 'inbound-pro' ),
|
38 |
+
'desc' => __('Latitude is specified in degrees within the range [-90, 90]', 'inbound-pro' ),
|
39 |
'type' => 'text',
|
40 |
'std' => ''
|
41 |
),
|
42 |
'longitude' => array(
|
43 |
+
'name' => __('Longitude', 'inbound-pro' ),
|
44 |
+
'desc' => __('Longitude is specified in degrees within the range [-180, 180]', 'inbound-pro' ),
|
45 |
'type' => 'text',
|
46 |
'std' => ''
|
47 |
),
|
48 |
'zoom' => array(
|
49 |
+
'name' => __('Zoom', 'inbound-pro' ),
|
50 |
+
'desc' => __('Set the zoom level, numeric value from 1 to 19', 'inbound-pro' ),
|
51 |
'type' => 'text',
|
52 |
'std' => '8'
|
53 |
),
|
54 |
'pancontrol' => array(
|
55 |
+
'name' => __('Pan Control', 'inbound-pro' ),
|
56 |
+
'desc' => __('Enable pan control?', 'inbound-pro' ),
|
57 |
'type' => 'select',
|
58 |
'options' => array('true' => 'Enable', 'false' => 'Disable'),
|
59 |
'std' => ''
|
60 |
),
|
61 |
'zoomcontrol' => array(
|
62 |
+
'name' => __('Zoom Control', 'inbound-pro' ),
|
63 |
+
'desc' => __('Enable zoom control?', 'inbound-pro' ),
|
64 |
'type' => 'select',
|
65 |
'options' => array('true' => 'Enable', 'false' => 'Disable'),
|
66 |
'std' => ''
|
67 |
),
|
68 |
'maptypecontrol' => array(
|
69 |
+
'name' => __('Map Type Control', 'inbound-pro' ),
|
70 |
+
'desc' => __('Enable map type control?', 'inbound-pro' ),
|
71 |
'type' => 'select',
|
72 |
'options' => array('true' => 'Enable', 'false' => 'Disable'),
|
73 |
'std' => ''
|
74 |
),
|
75 |
'content' => array(
|
76 |
+
'name' => __('Popup Content', 'inbound-pro' ),
|
77 |
+
'desc' => __('A descriptive text for the Google Map marker popup, ex: "My Office"', 'inbound-pro' ),
|
78 |
'type' => 'textarea',
|
79 |
'std' => ''
|
80 |
)
|
shared/shortcodes/shortcodes/icon.php
CHANGED
@@ -8,34 +8,34 @@
|
|
8 |
$shortcodes_config['icon'] = array(
|
9 |
'options' => array(
|
10 |
'icon' => array(
|
11 |
-
'name' => __('Icon', '
|
12 |
-
'desc' => __('Select the icon.', '
|
13 |
'type' => 'select',
|
14 |
'options' => $fontawesome,
|
15 |
'std' => 'none'
|
16 |
),
|
17 |
'size' => array(
|
18 |
-
'name' => __('Size', '
|
19 |
-
'desc' => __('Select the icon size.', '
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
-
'normal' => __('Normal Size', '
|
23 |
-
'large' => __('Large Size', '
|
24 |
-
'2x' => __('2x Size', '
|
25 |
-
'3x' => __('3x Size', '
|
26 |
-
'4x' => __('4x Size', '
|
27 |
),
|
28 |
'std' => 'normal'
|
29 |
),
|
30 |
'style' => array(
|
31 |
-
'name' => __('Style', '
|
32 |
-
'desc' => __('Select the icon style.', '
|
33 |
'type' => 'select',
|
34 |
'options' => array(
|
35 |
-
'normal' => __('Normal', '
|
36 |
-
'muted' => __('Muted', '
|
37 |
-
'border' => __('Border', '
|
38 |
-
'spin' => __('Spin', '
|
39 |
),
|
40 |
'std' => 'normal'
|
41 |
),
|
8 |
$shortcodes_config['icon'] = array(
|
9 |
'options' => array(
|
10 |
'icon' => array(
|
11 |
+
'name' => __('Icon', 'inbound-pro' ),
|
12 |
+
'desc' => __('Select the icon.', 'inbound-pro' ),
|
13 |
'type' => 'select',
|
14 |
'options' => $fontawesome,
|
15 |
'std' => 'none'
|
16 |
),
|
17 |
'size' => array(
|
18 |
+
'name' => __('Size', 'inbound-pro' ),
|
19 |
+
'desc' => __('Select the icon size.', 'inbound-pro' ),
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
+
'normal' => __('Normal Size', 'inbound-pro' ),
|
23 |
+
'large' => __('Large Size', 'inbound-pro' ),
|
24 |
+
'2x' => __('2x Size', 'inbound-pro' ),
|
25 |
+
'3x' => __('3x Size', 'inbound-pro' ),
|
26 |
+
'4x' => __('4x Size', 'inbound-pro' )
|
27 |
),
|
28 |
'std' => 'normal'
|
29 |
),
|
30 |
'style' => array(
|
31 |
+
'name' => __('Style', 'inbound-pro' ),
|
32 |
+
'desc' => __('Select the icon style.', 'inbound-pro' ),
|
33 |
'type' => 'select',
|
34 |
'options' => array(
|
35 |
+
'normal' => __('Normal', 'inbound-pro' ),
|
36 |
+
'muted' => __('Muted', 'inbound-pro' ),
|
37 |
+
'border' => __('Border', 'inbound-pro' ),
|
38 |
+
'spin' => __('Spin', 'inbound-pro' )
|
39 |
),
|
40 |
'std' => 'normal'
|
41 |
),
|
shared/shortcodes/shortcodes/intro.php
CHANGED
@@ -9,25 +9,25 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'title' => array(
|
12 |
-
'name' => __('Title', '
|
13 |
-
'desc' => __('Enter the heading text.', '
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'alignment' => array(
|
18 |
-
'name' => __('Text Alignment', '
|
19 |
-
'desc' => __('Enter text alignment.', '
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
-
'align-center' => __('Align Center', '
|
23 |
-
'align-left' => __('Align Left', '
|
24 |
-
'align-right' => __('Align Right', '
|
25 |
),
|
26 |
'std' => 'align-left',
|
27 |
),
|
28 |
'content' => array(
|
29 |
-
'name' => __('Content', '
|
30 |
-
'desc' => __('Enter the content', '
|
31 |
'type' => 'textarea',
|
32 |
'std' => ''
|
33 |
)
|
@@ -39,32 +39,32 @@
|
|
39 |
/* Page builder module config
|
40 |
* ----------------------------------------------------- */
|
41 |
$freshbuilder_modules['intro'] = array(
|
42 |
-
'name' => __('Intro', '
|
43 |
'size' => 'one_full',
|
44 |
'options' => array(
|
45 |
'title' => array(
|
46 |
-
'name' => __('Title', '
|
47 |
-
'desc' => __('Enter the heading text.', '
|
48 |
'type' => 'text',
|
49 |
'class' => '',
|
50 |
'is_content' => 0
|
51 |
),
|
52 |
'alignment' => array(
|
53 |
-
'name' => __('Text Alignment', '
|
54 |
-
'desc' => __('The text alignment', '
|
55 |
'type' => 'select',
|
56 |
'options' => array(
|
57 |
-
'align-center' => __('Align Center', '
|
58 |
-
'align-left' => __('Align Left', '
|
59 |
-
'align-right' => __('Align Right', '
|
60 |
),
|
61 |
'std' => 'align-left',
|
62 |
'class' => '',
|
63 |
'is_content' => 0
|
64 |
),
|
65 |
'content' => array(
|
66 |
-
'name' => __('Content', '
|
67 |
-
'desc' => __('Enter the content', '
|
68 |
'type' => 'textarea',
|
69 |
'std' => '',
|
70 |
'class' => '',
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'title' => array(
|
12 |
+
'name' => __('Title', 'inbound-pro' ),
|
13 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'alignment' => array(
|
18 |
+
'name' => __('Text Alignment', 'inbound-pro' ),
|
19 |
+
'desc' => __('Enter text alignment.', 'inbound-pro' ),
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
+
'align-center' => __('Align Center', 'inbound-pro' ),
|
23 |
+
'align-left' => __('Align Left', 'inbound-pro' ),
|
24 |
+
'align-right' => __('Align Right', 'inbound-pro' )
|
25 |
),
|
26 |
'std' => 'align-left',
|
27 |
),
|
28 |
'content' => array(
|
29 |
+
'name' => __('Content', 'inbound-pro' ),
|
30 |
+
'desc' => __('Enter the content', 'inbound-pro' ),
|
31 |
'type' => 'textarea',
|
32 |
'std' => ''
|
33 |
)
|
39 |
/* Page builder module config
|
40 |
* ----------------------------------------------------- */
|
41 |
$freshbuilder_modules['intro'] = array(
|
42 |
+
'name' => __('Intro', 'inbound-pro' ),
|
43 |
'size' => 'one_full',
|
44 |
'options' => array(
|
45 |
'title' => array(
|
46 |
+
'name' => __('Title', 'inbound-pro' ),
|
47 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
48 |
'type' => 'text',
|
49 |
'class' => '',
|
50 |
'is_content' => 0
|
51 |
),
|
52 |
'alignment' => array(
|
53 |
+
'name' => __('Text Alignment', 'inbound-pro' ),
|
54 |
+
'desc' => __('The text alignment', 'inbound-pro' ),
|
55 |
'type' => 'select',
|
56 |
'options' => array(
|
57 |
+
'align-center' => __('Align Center', 'inbound-pro' ),
|
58 |
+
'align-left' => __('Align Left', 'inbound-pro' ),
|
59 |
+
'align-right' => __('Align Right', 'inbound-pro' )
|
60 |
),
|
61 |
'std' => 'align-left',
|
62 |
'class' => '',
|
63 |
'is_content' => 0
|
64 |
),
|
65 |
'content' => array(
|
66 |
+
'name' => __('Content', 'inbound-pro' ),
|
67 |
+
'desc' => __('Enter the content', 'inbound-pro' ),
|
68 |
'type' => 'textarea',
|
69 |
'std' => '',
|
70 |
'class' => '',
|
shared/shortcodes/shortcodes/landing-page-list.php
CHANGED
@@ -11,25 +11,25 @@
|
|
11 |
'no_preview' => true,
|
12 |
'options' => array(
|
13 |
'heading' => array(
|
14 |
-
'name' => __('Heading Text', '
|
15 |
-
'desc' => __('Enter the heading text.', '
|
16 |
'type' => 'text',
|
17 |
'std' => 'Recent Content Offers'
|
18 |
),
|
19 |
'column' => array(
|
20 |
-
'name' => __('Column', '
|
21 |
-
'desc' => __('Select the number of column(s).', '
|
22 |
'type' => 'select',
|
23 |
'options' => array(
|
24 |
-
'2' => __('2 Columns', '
|
25 |
-
'3' => __('3 Columns', '
|
26 |
-
'4' => __('4 Columns', '
|
27 |
),
|
28 |
'std' => '4'
|
29 |
),
|
30 |
'number' => array(
|
31 |
-
'name' => __('Post Number', '
|
32 |
-
'desc' => __('Enter the number of post to show.', '
|
33 |
'type' => 'text',
|
34 |
'std' => '4'
|
35 |
)
|
@@ -41,33 +41,33 @@
|
|
41 |
/* Page builder module config
|
42 |
* ----------------------------------------------------- */
|
43 |
$freshbuilder_modules['landing-page-list'] = array(
|
44 |
-
'name' => __('Portfolio', '
|
45 |
'size' => 'one_full',
|
46 |
'options' => array(
|
47 |
'heading' => array(
|
48 |
-
'name' => __('Heading', '
|
49 |
-
'desc' => __('Enter the heading text.', '
|
50 |
'type' => 'text',
|
51 |
'std' => 'Recent Project',
|
52 |
'class' => '',
|
53 |
'is_content' => 0
|
54 |
),
|
55 |
'column' => array(
|
56 |
-
'name' => __('Column', '
|
57 |
-
'desc' => __('Select the number of column(s).', '
|
58 |
'type' => 'select',
|
59 |
'options' => array(
|
60 |
-
'2' => __('2 Columns', '
|
61 |
-
'3' => __('3 Columns', '
|
62 |
-
'4' => __('4 Columns', '
|
63 |
),
|
64 |
'std' => '4',
|
65 |
'class' => '',
|
66 |
'is_content' => 0
|
67 |
),
|
68 |
'number' => array(
|
69 |
-
'name' => __('Post Number', '
|
70 |
-
'desc' => __('Enter the number of post to show.', '
|
71 |
'type' => 'text',
|
72 |
'std' => '4',
|
73 |
'class' => '',
|
@@ -114,7 +114,7 @@
|
|
114 |
<figure class="item-thumb">
|
115 |
'.get_the_post_thumbnail($post->ID, '500x360').'
|
116 |
<div class="overlay">
|
117 |
-
<a class="view-link" href="'.get_permalink().'" rel="bookmark">'.__('View Project', '
|
118 |
</div>
|
119 |
</figure>
|
120 |
|
11 |
'no_preview' => true,
|
12 |
'options' => array(
|
13 |
'heading' => array(
|
14 |
+
'name' => __('Heading Text', 'inbound-pro' ),
|
15 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
16 |
'type' => 'text',
|
17 |
'std' => 'Recent Content Offers'
|
18 |
),
|
19 |
'column' => array(
|
20 |
+
'name' => __('Column', 'inbound-pro' ),
|
21 |
+
'desc' => __('Select the number of column(s).', 'inbound-pro' ),
|
22 |
'type' => 'select',
|
23 |
'options' => array(
|
24 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
25 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
26 |
+
'4' => __('4 Columns', 'inbound-pro' )
|
27 |
),
|
28 |
'std' => '4'
|
29 |
),
|
30 |
'number' => array(
|
31 |
+
'name' => __('Post Number', 'inbound-pro' ),
|
32 |
+
'desc' => __('Enter the number of post to show.', 'inbound-pro' ),
|
33 |
'type' => 'text',
|
34 |
'std' => '4'
|
35 |
)
|
41 |
/* Page builder module config
|
42 |
* ----------------------------------------------------- */
|
43 |
$freshbuilder_modules['landing-page-list'] = array(
|
44 |
+
'name' => __('Portfolio', 'inbound-pro' ),
|
45 |
'size' => 'one_full',
|
46 |
'options' => array(
|
47 |
'heading' => array(
|
48 |
+
'name' => __('Heading', 'inbound-pro' ),
|
49 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
50 |
'type' => 'text',
|
51 |
'std' => 'Recent Project',
|
52 |
'class' => '',
|
53 |
'is_content' => 0
|
54 |
),
|
55 |
'column' => array(
|
56 |
+
'name' => __('Column', 'inbound-pro' ),
|
57 |
+
'desc' => __('Select the number of column(s).', 'inbound-pro' ),
|
58 |
'type' => 'select',
|
59 |
'options' => array(
|
60 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
61 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
62 |
+
'4' => __('4 Columns', 'inbound-pro' )
|
63 |
),
|
64 |
'std' => '4',
|
65 |
'class' => '',
|
66 |
'is_content' => 0
|
67 |
),
|
68 |
'number' => array(
|
69 |
+
'name' => __('Post Number', 'inbound-pro' ),
|
70 |
+
'desc' => __('Enter the number of post to show.', 'inbound-pro' ),
|
71 |
'type' => 'text',
|
72 |
'std' => '4',
|
73 |
'class' => '',
|
114 |
<figure class="item-thumb">
|
115 |
'.get_the_post_thumbnail($post->ID, '500x360').'
|
116 |
<div class="overlay">
|
117 |
+
<a class="view-link" href="'.get_permalink().'" rel="bookmark">'.__('View Project', 'inbound-pro' ) .'</a>
|
118 |
</div>
|
119 |
</figure>
|
120 |
|
shared/shortcodes/shortcodes/landing_pages.php
CHANGED
@@ -9,95 +9,95 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'heading' => array(
|
12 |
-
'name' => __('Heading Text', '
|
13 |
-
'desc' => __('Enter the heading text.', '
|
14 |
'type' => 'text',
|
15 |
'std' => 'Recent Landing Pages'
|
16 |
),
|
17 |
'column' => array(
|
18 |
-
'name' => __('Column', '
|
19 |
-
'desc' => __('Select the number of column(s).', '
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
-
'1' => __('1 Column', '
|
23 |
-
'2' => __('2 Columns', '
|
24 |
-
'3' => __('3 Columns', '
|
25 |
-
'4' => __('4 Columns', '
|
26 |
-
'5' => __('5 Columns', '
|
27 |
),
|
28 |
'std' => '4'
|
29 |
),
|
30 |
'number' => array(
|
31 |
-
'name' => __('Post Number', '
|
32 |
-
'desc' => __('Enter the number of post to show. (enter -1 for all posts)', '
|
33 |
'type' => 'text',
|
34 |
'std' => '4'
|
35 |
),
|
36 |
'cat' => array(
|
37 |
-
'name' => __('Category', '
|
38 |
-
'desc' => __('Optional you can sort by a category.', '
|
39 |
'type' => 'select',
|
40 |
'options' => $lp_cats,
|
41 |
'std' => ''
|
42 |
),
|
43 |
'excerpt_lenght' => array(
|
44 |
-
'name' => __('Excerpt Lenght', '
|
45 |
-
'desc' => __('The post excerpt word lenght.', '
|
46 |
'type' => 'text',
|
47 |
'std' => '30'
|
48 |
),
|
49 |
'thumbs' => array(
|
50 |
-
'name' => __('Show Featured Thumbnails', '
|
51 |
-
'checkbox_text' => __('Uncheck to hide featured thumbnails', '
|
52 |
'desc' => '',
|
53 |
'type' => 'checkbox',
|
54 |
'std' => '1'
|
55 |
),
|
56 |
),
|
57 |
'shortcode' => '[landing_pages heading="{{heading}}" column="{{column}}" number="{{number}}" cat="{{cat}}" excerpt_lenght="{{excerpt_lenght}}" thumbs="{{thumbs}}"]',
|
58 |
-
'popup_title' => __('Insert Landing Page List Shortcode', '
|
59 |
);
|
60 |
|
61 |
/* Page builder module config
|
62 |
* ----------------------------------------------------- */
|
63 |
$freshbuilder_modules['landing_pages'] = array(
|
64 |
-
'name' => __('Entries', '
|
65 |
'size' => 'one_full',
|
66 |
'options' => array(
|
67 |
'heading' => array(
|
68 |
-
'name' => __('Heading', '
|
69 |
-
'desc' => __('Enter the heading text.', '
|
70 |
'type' => 'text',
|
71 |
'std' => 'Recent Posts',
|
72 |
'class' => '',
|
73 |
'is_content' => '0'
|
74 |
),
|
75 |
'column' => array(
|
76 |
-
'name' => __('Column', '
|
77 |
-
'desc' => __('Select the number of column(s).', '
|
78 |
'type' => 'select',
|
79 |
'options' => array(
|
80 |
-
'1' => __('1 Column', '
|
81 |
-
'2' => __('2 Columns', '
|
82 |
-
'3' => __('3 Columns', '
|
83 |
-
'4' => __('4 Columns', '
|
84 |
-
'5' => __('5 Columns', '
|
85 |
),
|
86 |
'std' => '4',
|
87 |
'class' => '',
|
88 |
'is_content' => '0'
|
89 |
),
|
90 |
'number' => array(
|
91 |
-
'name' => __('Post Number', '
|
92 |
-
'desc' => __('Enter the number of post to show.', '
|
93 |
'type' => 'text',
|
94 |
'std' => '4',
|
95 |
'class' => '',
|
96 |
'is_content' => '0'
|
97 |
),
|
98 |
'cat' => array(
|
99 |
-
'name' => __('Category', '
|
100 |
-
'desc' => __('Optional you can sort by a category.', '
|
101 |
'type' => 'select',
|
102 |
'options' => $lp_cats,
|
103 |
'std' => '',
|
@@ -105,8 +105,8 @@
|
|
105 |
'is_content' => '0'
|
106 |
),
|
107 |
'excerpt_lenght' => array(
|
108 |
-
'name' => __('Excerpt Lenght', '
|
109 |
-
'desc' => __('The post excerpt word lenght.', '
|
110 |
'type' => 'text',
|
111 |
'std' => '30',
|
112 |
'class' => '',
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'heading' => array(
|
12 |
+
'name' => __('Heading Text', 'inbound-pro' ),
|
13 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => 'Recent Landing Pages'
|
16 |
),
|
17 |
'column' => array(
|
18 |
+
'name' => __('Column', 'inbound-pro' ),
|
19 |
+
'desc' => __('Select the number of column(s).', 'inbound-pro' ),
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
+
'1' => __('1 Column', 'inbound-pro' ),
|
23 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
24 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
25 |
+
'4' => __('4 Columns', 'inbound-pro' ),
|
26 |
+
'5' => __('5 Columns', 'inbound-pro' )
|
27 |
),
|
28 |
'std' => '4'
|
29 |
),
|
30 |
'number' => array(
|
31 |
+
'name' => __('Post Number', 'inbound-pro' ),
|
32 |
+
'desc' => __('Enter the number of post to show. (enter -1 for all posts)', 'inbound-pro' ),
|
33 |
'type' => 'text',
|
34 |
'std' => '4'
|
35 |
),
|
36 |
'cat' => array(
|
37 |
+
'name' => __('Category', 'inbound-pro' ),
|
38 |
+
'desc' => __('Optional you can sort by a category.', 'inbound-pro' ),
|
39 |
'type' => 'select',
|
40 |
'options' => $lp_cats,
|
41 |
'std' => ''
|
42 |
),
|
43 |
'excerpt_lenght' => array(
|
44 |
+
'name' => __('Excerpt Lenght', 'inbound-pro' ),
|
45 |
+
'desc' => __('The post excerpt word lenght.', 'inbound-pro' ),
|
46 |
'type' => 'text',
|
47 |
'std' => '30'
|
48 |
),
|
49 |
'thumbs' => array(
|
50 |
+
'name' => __('Show Featured Thumbnails', 'inbound-pro' ),
|
51 |
+
'checkbox_text' => __('Uncheck to hide featured thumbnails', 'inbound-pro' ),
|
52 |
'desc' => '',
|
53 |
'type' => 'checkbox',
|
54 |
'std' => '1'
|
55 |
),
|
56 |
),
|
57 |
'shortcode' => '[landing_pages heading="{{heading}}" column="{{column}}" number="{{number}}" cat="{{cat}}" excerpt_lenght="{{excerpt_lenght}}" thumbs="{{thumbs}}"]',
|
58 |
+
'popup_title' => __('Insert Landing Page List Shortcode', 'inbound-pro' )
|
59 |
);
|
60 |
|
61 |
/* Page builder module config
|
62 |
* ----------------------------------------------------- */
|
63 |
$freshbuilder_modules['landing_pages'] = array(
|
64 |
+
'name' => __('Entries', 'inbound-pro' ),
|
65 |
'size' => 'one_full',
|
66 |
'options' => array(
|
67 |
'heading' => array(
|
68 |
+
'name' => __('Heading', 'inbound-pro' ),
|
69 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
70 |
'type' => 'text',
|
71 |
'std' => 'Recent Posts',
|
72 |
'class' => '',
|
73 |
'is_content' => '0'
|
74 |
),
|
75 |
'column' => array(
|
76 |
+
'name' => __('Column', 'inbound-pro' ),
|
77 |
+
'desc' => __('Select the number of column(s).', 'inbound-pro' ),
|
78 |
'type' => 'select',
|
79 |
'options' => array(
|
80 |
+
'1' => __('1 Column', 'inbound-pro' ),
|
81 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
82 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
83 |
+
'4' => __('4 Columns', 'inbound-pro' ),
|
84 |
+
'5' => __('5 Columns', 'inbound-pro' )
|
85 |
),
|
86 |
'std' => '4',
|
87 |
'class' => '',
|
88 |
'is_content' => '0'
|
89 |
),
|
90 |
'number' => array(
|
91 |
+
'name' => __('Post Number', 'inbound-pro' ),
|
92 |
+
'desc' => __('Enter the number of post to show.', 'inbound-pro' ),
|
93 |
'type' => 'text',
|
94 |
'std' => '4',
|
95 |
'class' => '',
|
96 |
'is_content' => '0'
|
97 |
),
|
98 |
'cat' => array(
|
99 |
+
'name' => __('Category', 'inbound-pro' ),
|
100 |
+
'desc' => __('Optional you can sort by a category.', 'inbound-pro' ),
|
101 |
'type' => 'select',
|
102 |
'options' => $lp_cats,
|
103 |
'std' => '',
|
105 |
'is_content' => '0'
|
106 |
),
|
107 |
'excerpt_lenght' => array(
|
108 |
+
'name' => __('Excerpt Lenght', 'inbound-pro' ),
|
109 |
+
'desc' => __('The post excerpt word lenght.', 'inbound-pro' ),
|
110 |
'type' => 'text',
|
111 |
'std' => '30',
|
112 |
'class' => '',
|
shared/shortcodes/shortcodes/leadp.php
CHANGED
@@ -9,8 +9,8 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'align' => array(
|
12 |
-
'name' => __('Alignment', '
|
13 |
-
'desc' => __('Add the pharagraph alignment', '
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
'left' => 'Align Left',
|
@@ -20,14 +20,14 @@
|
|
20 |
'std' => ''
|
21 |
),
|
22 |
'content' => array(
|
23 |
-
'name' => __('Paragraph Text', '
|
24 |
-
'desc' => __('Add the pharagraph text', '
|
25 |
'type' => 'textarea',
|
26 |
'std' => ''
|
27 |
)
|
28 |
),
|
29 |
'shortcode' => '[leadp align="{{align}}"]{{content}}[/leadp]',
|
30 |
-
'popup_title' => __('Insert Lead Paragraph Shortcode', '
|
31 |
);
|
32 |
|
33 |
/* Add shortcode
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'align' => array(
|
12 |
+
'name' => __('Alignment', 'inbound-pro' ),
|
13 |
+
'desc' => __('Add the pharagraph alignment', 'inbound-pro' ),
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
'left' => 'Align Left',
|
20 |
'std' => ''
|
21 |
),
|
22 |
'content' => array(
|
23 |
+
'name' => __('Paragraph Text', 'inbound-pro' ),
|
24 |
+
'desc' => __('Add the pharagraph text', 'inbound-pro' ),
|
25 |
'type' => 'textarea',
|
26 |
'std' => ''
|
27 |
)
|
28 |
),
|
29 |
'shortcode' => '[leadp align="{{align}}"]{{content}}[/leadp]',
|
30 |
+
'popup_title' => __('Insert Lead Paragraph Shortcode', 'inbound-pro' )
|
31 |
);
|
32 |
|
33 |
/* Add shortcode
|
shared/shortcodes/shortcodes/list-icon.php
CHANGED
@@ -11,8 +11,8 @@
|
|
11 |
'child' => array(
|
12 |
'options' => array(
|
13 |
'icon' => array(
|
14 |
-
'name' => __('Icon', '
|
15 |
-
'desc' => __('Select the icon.', '
|
16 |
'type' => 'select',
|
17 |
'options' => $fontawesome,
|
18 |
'std' => 'none'
|
@@ -28,7 +28,7 @@
|
|
28 |
'clone' => __('Add More List', 'cta' )
|
29 |
),
|
30 |
'shortcode' => '[list_icons]{{child}}[/list_icons]',
|
31 |
-
'popup_title' => __('Insert List Icons Shortcode', '
|
32 |
);
|
33 |
|
34 |
/* Add shortcode
|
11 |
'child' => array(
|
12 |
'options' => array(
|
13 |
'icon' => array(
|
14 |
+
'name' => __('Icon', 'inbound-pro' ),
|
15 |
+
'desc' => __('Select the icon.', 'inbound-pro' ),
|
16 |
'type' => 'select',
|
17 |
'options' => $fontawesome,
|
18 |
'std' => 'none'
|
28 |
'clone' => __('Add More List', 'cta' )
|
29 |
),
|
30 |
'shortcode' => '[list_icons]{{child}}[/list_icons]',
|
31 |
+
'popup_title' => __('Insert List Icons Shortcode', 'inbound-pro' )
|
32 |
);
|
33 |
|
34 |
/* Add shortcode
|
shared/shortcodes/shortcodes/lists.php
CHANGED
@@ -9,39 +9,39 @@
|
|
9 |
'no_preview' => false,
|
10 |
'options' => array(
|
11 |
'icon' => array(
|
12 |
-
'name' => __('List Icon', '
|
13 |
-
'desc' => __('Select an icon for the List', '
|
14 |
'type' => 'select',
|
15 |
'options' => $fontawesome,
|
16 |
'std' => 'check'
|
17 |
),
|
18 |
'font-size' => array(
|
19 |
-
'name' => __('Font Size', '
|
20 |
-
'desc' => __('Size of List Font', '
|
21 |
'type' => 'text',
|
22 |
'std' => '16'
|
23 |
),
|
24 |
'bottom-margin' => array(
|
25 |
-
'name' => __('Bottom Margin', '
|
26 |
-
'desc' => __('space between list items', '
|
27 |
'type' => 'text',
|
28 |
'std' => '10'
|
29 |
),
|
30 |
'icon-color' => array(
|
31 |
-
'name' => __('Icon Color', '
|
32 |
-
'desc' => __('Color of Icon', '
|
33 |
'type' => 'colorpicker',
|
34 |
'std' => '000000'
|
35 |
),
|
36 |
'text-color' => array(
|
37 |
-
'name' => __('Text Color', '
|
38 |
-
'desc' => __('Color of Text in List', '
|
39 |
'type' => 'colorpicker',
|
40 |
'std' => ''
|
41 |
),
|
42 |
'columns' => array(
|
43 |
-
'name' => __('Number of Columns', '
|
44 |
-
'desc' => __('Number of Columns', '
|
45 |
'type' => 'select',
|
46 |
'options' => array(
|
47 |
"1" => "Single Column (default)",
|
@@ -56,5 +56,5 @@
|
|
56 |
|
57 |
),
|
58 |
'shortcode' => '[list icon="{{icon}}" font_size="{{font-size}}" icon_color="{{icon-color}}" text_color="{{text-color}}" columns="{{columns}}" bottom_margin="{{bottom-margin}}"](Insert Your Unordered List Here. Use the List insert button in the editor. Delete this text)[/list]',
|
59 |
-
'popup_title' => __('Insert Styled List Shortcode', '
|
60 |
);
|
9 |
'no_preview' => false,
|
10 |
'options' => array(
|
11 |
'icon' => array(
|
12 |
+
'name' => __('List Icon', 'inbound-pro' ),
|
13 |
+
'desc' => __('Select an icon for the List', 'inbound-pro' ),
|
14 |
'type' => 'select',
|
15 |
'options' => $fontawesome,
|
16 |
'std' => 'check'
|
17 |
),
|
18 |
'font-size' => array(
|
19 |
+
'name' => __('Font Size', 'inbound-pro' ),
|
20 |
+
'desc' => __('Size of List Font', 'inbound-pro' ),
|
21 |
'type' => 'text',
|
22 |
'std' => '16'
|
23 |
),
|
24 |
'bottom-margin' => array(
|
25 |
+
'name' => __('Bottom Margin', 'inbound-pro' ),
|
26 |
+
'desc' => __('space between list items', 'inbound-pro' ),
|
27 |
'type' => 'text',
|
28 |
'std' => '10'
|
29 |
),
|
30 |
'icon-color' => array(
|
31 |
+
'name' => __('Icon Color', 'inbound-pro' ),
|
32 |
+
'desc' => __('Color of Icon', 'inbound-pro' ),
|
33 |
'type' => 'colorpicker',
|
34 |
'std' => '000000'
|
35 |
),
|
36 |
'text-color' => array(
|
37 |
+
'name' => __('Text Color', 'inbound-pro' ),
|
38 |
+
'desc' => __('Color of Text in List', 'inbound-pro' ),
|
39 |
'type' => 'colorpicker',
|
40 |
'std' => ''
|
41 |
),
|
42 |
'columns' => array(
|
43 |
+
'name' => __('Number of Columns', 'inbound-pro' ),
|
44 |
+
'desc' => __('Number of Columns', 'inbound-pro' ),
|
45 |
'type' => 'select',
|
46 |
'options' => array(
|
47 |
"1" => "Single Column (default)",
|
56 |
|
57 |
),
|
58 |
'shortcode' => '[list icon="{{icon}}" font_size="{{font-size}}" icon_color="{{icon-color}}" text_color="{{text-color}}" columns="{{columns}}" bottom_margin="{{bottom-margin}}"](Insert Your Unordered List Here. Use the List insert button in the editor. Delete this text)[/list]',
|
59 |
+
'popup_title' => __('Insert Styled List Shortcode', 'inbound-pro' )
|
60 |
);
|
shared/shortcodes/shortcodes/pricing.php
CHANGED
@@ -9,14 +9,14 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'column' => array(
|
12 |
-
'name' => __('Column', '
|
13 |
-
'desc' => __('Select the column.', '
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
-
'2' => __('2 Columns', '
|
17 |
-
'3' => __('3 Columns', '
|
18 |
-
'4' => __('4 Columns', '
|
19 |
-
'5' => __('5 Columns', '
|
20 |
),
|
21 |
'std' => '4',
|
22 |
)
|
@@ -25,37 +25,37 @@
|
|
25 |
'options' => array(
|
26 |
'featured' => array(
|
27 |
'name' => __('Featured Plan', 'leads'),
|
28 |
-
'desc' => __('Check to set this plan as featured', '
|
29 |
'type' => 'checkbox',
|
30 |
'std' => '0',
|
31 |
),
|
32 |
'title' => array(
|
33 |
-
'name' => __('Plan Title', '
|
34 |
-
'desc' => __('Enter the plan title.', '
|
35 |
'type' => 'text',
|
36 |
'std' => ''
|
37 |
),
|
38 |
'price' => array(
|
39 |
-
'name' => __('Plan Price', '
|
40 |
-
'desc' => __('Enter the plan price.', '
|
41 |
'type' => 'text',
|
42 |
'std' => ''
|
43 |
),
|
44 |
'term' => array(
|
45 |
-
'name' => __('Plan Term', '
|
46 |
-
'desc' => __('Enter the plan term. e.g : "per month", "per year" etc.', '
|
47 |
'type' => 'text',
|
48 |
'std' => ''
|
49 |
),
|
50 |
'button_text' => array(
|
51 |
-
'name' => __('Plan Button Text', '
|
52 |
-
'desc' => __('Enter the button text label.', '
|
53 |
'type' => 'text',
|
54 |
'std' => ''
|
55 |
),
|
56 |
'button_link' => array(
|
57 |
-
'name' => __('Plan Button Link', '
|
58 |
-
'desc' => __('Enter the button link destination URL.', '
|
59 |
'type' => 'text',
|
60 |
'std' => ''
|
61 |
),
|
@@ -76,18 +76,18 @@
|
|
76 |
/* Page builder module config
|
77 |
* ----------------------------------------------------- */
|
78 |
$freshbuilder_modules['pricing'] = array(
|
79 |
-
'name' => __('Pricing Table', '
|
80 |
'size' => 'one_full',
|
81 |
'options' => array(
|
82 |
'column' => array(
|
83 |
-
'name' => __('Column', '
|
84 |
-
'desc' => __('Select the column.', '
|
85 |
'type' => 'select',
|
86 |
'options' => array(
|
87 |
-
'2' => __('2 Columns', '
|
88 |
-
'3' => __('3 Columns', '
|
89 |
-
'4' => __('4 Columns', '
|
90 |
-
'5' => __('5 Columns', '
|
91 |
),
|
92 |
'std' => '4',
|
93 |
'class' => '',
|
@@ -96,56 +96,56 @@
|
|
96 |
),
|
97 |
'child' => array(
|
98 |
'featured' => array(
|
99 |
-
'name' => __('Featured Plan', '
|
100 |
-
'desc' => __('Check to set this plan as featured', '
|
101 |
'type' => 'checkbox',
|
102 |
'std' => '0',
|
103 |
'class' => '',
|
104 |
'is_content' => 0
|
105 |
),
|
106 |
'title' => array(
|
107 |
-
'name' => __('Plan Title', '
|
108 |
-
'desc' => __('Enter the plan title.', '
|
109 |
'type' => 'text',
|
110 |
'std' => '',
|
111 |
'class' => '',
|
112 |
'is_content' => 0
|
113 |
),
|
114 |
'price' => array(
|
115 |
-
'name' => __('Plan Price', '
|
116 |
-
'desc' => __('Enter the plan price.', '
|
117 |
'type' => 'text',
|
118 |
'std' => '',
|
119 |
'class' => '',
|
120 |
'is_content' => 0
|
121 |
),
|
122 |
'term' => array(
|
123 |
-
'name' => __('Plan Term', '
|
124 |
-
'desc' => __('Enter the plan term. e.g : "per month", "per year" etc.', '
|
125 |
'type' => 'text',
|
126 |
'std' => '',
|
127 |
'class' => '',
|
128 |
'is_content' => 0
|
129 |
),
|
130 |
'button_text' => array(
|
131 |
-
'name' => __('Plan Button Text', '
|
132 |
-
'desc' => __('Enter the button text label.', '
|
133 |
'type' => 'text',
|
134 |
'std' => '',
|
135 |
'class' => '',
|
136 |
'is_content' => 0
|
137 |
),
|
138 |
'button_link' => array(
|
139 |
-
'name' => __('Plan Button Link', '
|
140 |
-
'desc' => __('Enter the button link destination URL.', '
|
141 |
'type' => 'text',
|
142 |
'std' => '',
|
143 |
'class' => '',
|
144 |
'is_content' => 0
|
145 |
),
|
146 |
'content' => array(
|
147 |
-
'name' => __('Plan Content', '
|
148 |
-
'desc' => __('Put the content here.', '
|
149 |
'type' => 'textarea',
|
150 |
'class' => '',
|
151 |
'is_content' => 1
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'column' => array(
|
12 |
+
'name' => __('Column', 'inbound-pro' ),
|
13 |
+
'desc' => __('Select the column.', 'inbound-pro' ),
|
14 |
'type' => 'select',
|
15 |
'options' => array(
|
16 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
17 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
18 |
+
'4' => __('4 Columns', 'inbound-pro' ),
|
19 |
+
'5' => __('5 Columns', 'inbound-pro' )
|
20 |
),
|
21 |
'std' => '4',
|
22 |
)
|
25 |
'options' => array(
|
26 |
'featured' => array(
|
27 |
'name' => __('Featured Plan', 'leads'),
|
28 |
+
'desc' => __('Check to set this plan as featured', 'inbound-pro' ),
|
29 |
'type' => 'checkbox',
|
30 |
'std' => '0',
|
31 |
),
|
32 |
'title' => array(
|
33 |
+
'name' => __('Plan Title', 'inbound-pro' ),
|
34 |
+
'desc' => __('Enter the plan title.', 'inbound-pro' ),
|
35 |
'type' => 'text',
|
36 |
'std' => ''
|
37 |
),
|
38 |
'price' => array(
|
39 |
+
'name' => __('Plan Price', 'inbound-pro' ),
|
40 |
+
'desc' => __('Enter the plan price.', 'inbound-pro' ),
|
41 |
'type' => 'text',
|
42 |
'std' => ''
|
43 |
),
|
44 |
'term' => array(
|
45 |
+
'name' => __('Plan Term', 'inbound-pro' ),
|
46 |
+
'desc' => __('Enter the plan term. e.g : "per month", "per year" etc.', 'inbound-pro' ),
|
47 |
'type' => 'text',
|
48 |
'std' => ''
|
49 |
),
|
50 |
'button_text' => array(
|
51 |
+
'name' => __('Plan Button Text', 'inbound-pro' ),
|
52 |
+
'desc' => __('Enter the button text label.', 'inbound-pro' ),
|
53 |
'type' => 'text',
|
54 |
'std' => ''
|
55 |
),
|
56 |
'button_link' => array(
|
57 |
+
'name' => __('Plan Button Link', 'inbound-pro' ),
|
58 |
+
'desc' => __('Enter the button link destination URL.', 'inbound-pro' ),
|
59 |
'type' => 'text',
|
60 |
'std' => ''
|
61 |
),
|
76 |
/* Page builder module config
|
77 |
* ----------------------------------------------------- */
|
78 |
$freshbuilder_modules['pricing'] = array(
|
79 |
+
'name' => __('Pricing Table', 'inbound-pro' ),
|
80 |
'size' => 'one_full',
|
81 |
'options' => array(
|
82 |
'column' => array(
|
83 |
+
'name' => __('Column', 'inbound-pro' ),
|
84 |
+
'desc' => __('Select the column.', 'inbound-pro' ),
|
85 |
'type' => 'select',
|
86 |
'options' => array(
|
87 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
88 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
89 |
+
'4' => __('4 Columns', 'inbound-pro' ),
|
90 |
+
'5' => __('5 Columns', 'inbound-pro' )
|
91 |
),
|
92 |
'std' => '4',
|
93 |
'class' => '',
|
96 |
),
|
97 |
'child' => array(
|
98 |
'featured' => array(
|
99 |
+
'name' => __('Featured Plan', 'inbound-pro' ),
|
100 |
+
'desc' => __('Check to set this plan as featured', 'inbound-pro' ),
|
101 |
'type' => 'checkbox',
|
102 |
'std' => '0',
|
103 |
'class' => '',
|
104 |
'is_content' => 0
|
105 |
),
|
106 |
'title' => array(
|
107 |
+
'name' => __('Plan Title', 'inbound-pro' ),
|
108 |
+
'desc' => __('Enter the plan title.', 'inbound-pro' ),
|
109 |
'type' => 'text',
|
110 |
'std' => '',
|
111 |
'class' => '',
|
112 |
'is_content' => 0
|
113 |
),
|
114 |
'price' => array(
|
115 |
+
'name' => __('Plan Price', 'inbound-pro' ),
|
116 |
+
'desc' => __('Enter the plan price.', 'inbound-pro' ),
|
117 |
'type' => 'text',
|
118 |
'std' => '',
|
119 |
'class' => '',
|
120 |
'is_content' => 0
|
121 |
),
|
122 |
'term' => array(
|
123 |
+
'name' => __('Plan Term', 'inbound-pro' ),
|
124 |
+
'desc' => __('Enter the plan term. e.g : "per month", "per year" etc.', 'inbound-pro' ),
|
125 |
'type' => 'text',
|
126 |
'std' => '',
|
127 |
'class' => '',
|
128 |
'is_content' => 0
|
129 |
),
|
130 |
'button_text' => array(
|
131 |
+
'name' => __('Plan Button Text', 'inbound-pro' ),
|
132 |
+
'desc' => __('Enter the button text label.', 'inbound-pro' ),
|
133 |
'type' => 'text',
|
134 |
'std' => '',
|
135 |
'class' => '',
|
136 |
'is_content' => 0
|
137 |
),
|
138 |
'button_link' => array(
|
139 |
+
'name' => __('Plan Button Link', 'inbound-pro' ),
|
140 |
+
'desc' => __('Enter the button link destination URL.', 'inbound-pro' ),
|
141 |
'type' => 'text',
|
142 |
'std' => '',
|
143 |
'class' => '',
|
144 |
'is_content' => 0
|
145 |
),
|
146 |
'content' => array(
|
147 |
+
'name' => __('Plan Content', 'inbound-pro' ),
|
148 |
+
'desc' => __('Put the content here.', 'inbound-pro' ),
|
149 |
'type' => 'textarea',
|
150 |
'class' => '',
|
151 |
'is_content' => 1
|
shared/shortcodes/shortcodes/profile.php
CHANGED
@@ -9,44 +9,44 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'name' => array(
|
12 |
-
'name' => __('Profile Name', '
|
13 |
-
'desc' => __('Enter the name.', '
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'meta' => array(
|
18 |
-
'name' => __('Profile Meta', '
|
19 |
-
'desc' => __('Enter the profile meta. e.g job position etc.', '
|
20 |
'type' => 'text',
|
21 |
'std' => ''
|
22 |
),
|
23 |
'image' => array(
|
24 |
-
'name' => __('Profile Image', '
|
25 |
-
'desc' => __('Paste your profile image URL here.', '
|
26 |
'type' => 'text',
|
27 |
'std' => ''
|
28 |
),
|
29 |
'link' => array(
|
30 |
-
'name' => __('Profile Link', '
|
31 |
-
'desc' => __('Paste your profile link URL here.', '
|
32 |
'type' => 'text',
|
33 |
'std' => ''
|
34 |
),
|
35 |
'facebook' => array(
|
36 |
-
'name' => __('Profile Facebook', '
|
37 |
-
'desc' => __('Paste your facebook URL here.', '
|
38 |
'type' => 'text',
|
39 |
'std' => ''
|
40 |
),
|
41 |
'twitter' => array(
|
42 |
-
'name' => __('Profile Twitter', '
|
43 |
-
'desc' => __('Paste your twitter URL here.', '
|
44 |
'type' => 'text',
|
45 |
'std' => ''
|
46 |
),
|
47 |
'email' => array(
|
48 |
-
'name' => __('Profile Email Address', '
|
49 |
-
'desc' => __('Paste your email address here.', '
|
50 |
'type' => 'text',
|
51 |
'std' => ''
|
52 |
),
|
@@ -64,67 +64,67 @@
|
|
64 |
/* Page builder module config
|
65 |
* ----------------------------------------------------- */
|
66 |
$freshbuilder_modules['profile'] = array(
|
67 |
-
'name' => __('Profile', '
|
68 |
'size' => 'one_fourth',
|
69 |
'options' => array(
|
70 |
'name' => array(
|
71 |
-
'name' => __('Profile Name', '
|
72 |
-
'desc' => __('Enter the name.', '
|
73 |
'type' => 'text',
|
74 |
'std' => '',
|
75 |
'class' => '',
|
76 |
'is_content' => 0
|
77 |
),
|
78 |
'meta' => array(
|
79 |
-
'name' => __('Profile Meta', '
|
80 |
-
'desc' => __('Enter the profile meta. e.g job position etc.', '
|
81 |
'type' => 'text',
|
82 |
'std' => '',
|
83 |
'class' => '',
|
84 |
'is_content' => 0
|
85 |
),
|
86 |
'image' => array(
|
87 |
-
'name' => __('Profile Image', '
|
88 |
-
'desc' => __('Paste your profile image URL here.', '
|
89 |
'type' => 'text',
|
90 |
'std' => '',
|
91 |
'class' => '',
|
92 |
'is_content' => 0
|
93 |
),
|
94 |
'link' => array(
|
95 |
-
'name' => __('Profile Link', '
|
96 |
-
'desc' => __('Paste your profile URL here.', '
|
97 |
'type' => 'text',
|
98 |
'std' => '',
|
99 |
'class' => '',
|
100 |
'is_content' => 0
|
101 |
),
|
102 |
'facebook' => array(
|
103 |
-
'name' => __('Profile Facebook', '
|
104 |
-
'desc' => __('Paste your facebook URL here.', '
|
105 |
'type' => 'text',
|
106 |
'std' => '',
|
107 |
'class' => '',
|
108 |
'is_content' => 0
|
109 |
),
|
110 |
'twitter' => array(
|
111 |
-
'name' => __('Profile Twitter', '
|
112 |
-
'desc' => __('Paste your twitter URL here.', '
|
113 |
'type' => 'text',
|
114 |
'std' => '',
|
115 |
'class' => '',
|
116 |
'is_content' => 0
|
117 |
),
|
118 |
'email' => array(
|
119 |
-
'name' => __('Profile Email Address', '
|
120 |
-
'desc' => __('Paste your email address here.', '
|
121 |
'type' => 'text',
|
122 |
'std' => '',
|
123 |
'class' => '',
|
124 |
'is_content' => 0
|
125 |
),
|
126 |
'content' => array(
|
127 |
-
'name' => __('Profile Description', '
|
128 |
'desc' => __('Enter the profile description text.', 'leads'),
|
129 |
'type' => 'textarea',
|
130 |
'std' => '',
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'name' => array(
|
12 |
+
'name' => __('Profile Name', 'inbound-pro' ),
|
13 |
+
'desc' => __('Enter the name.', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'meta' => array(
|
18 |
+
'name' => __('Profile Meta', 'inbound-pro' ),
|
19 |
+
'desc' => __('Enter the profile meta. e.g job position etc.', 'inbound-pro' ),
|
20 |
'type' => 'text',
|
21 |
'std' => ''
|
22 |
),
|
23 |
'image' => array(
|
24 |
+
'name' => __('Profile Image', 'inbound-pro' ),
|
25 |
+
'desc' => __('Paste your profile image URL here.', 'inbound-pro' ),
|
26 |
'type' => 'text',
|
27 |
'std' => ''
|
28 |
),
|
29 |
'link' => array(
|
30 |
+
'name' => __('Profile Link', 'inbound-pro' ),
|
31 |
+
'desc' => __('Paste your profile link URL here.', 'inbound-pro' ),
|
32 |
'type' => 'text',
|
33 |
'std' => ''
|
34 |
),
|
35 |
'facebook' => array(
|
36 |
+
'name' => __('Profile Facebook', 'inbound-pro' ),
|
37 |
+
'desc' => __('Paste your facebook URL here.', 'inbound-pro' ),
|
38 |
'type' => 'text',
|
39 |
'std' => ''
|
40 |
),
|
41 |
'twitter' => array(
|
42 |
+
'name' => __('Profile Twitter', 'inbound-pro' ),
|
43 |
+
'desc' => __('Paste your twitter URL here.', 'inbound-pro' ),
|
44 |
'type' => 'text',
|
45 |
'std' => ''
|
46 |
),
|
47 |
'email' => array(
|
48 |
+
'name' => __('Profile Email Address', 'inbound-pro' ),
|
49 |
+
'desc' => __('Paste your email address here.', 'inbound-pro' ),
|
50 |
'type' => 'text',
|
51 |
'std' => ''
|
52 |
),
|
64 |
/* Page builder module config
|
65 |
* ----------------------------------------------------- */
|
66 |
$freshbuilder_modules['profile'] = array(
|
67 |
+
'name' => __('Profile', 'inbound-pro' ),
|
68 |
'size' => 'one_fourth',
|
69 |
'options' => array(
|
70 |
'name' => array(
|
71 |
+
'name' => __('Profile Name', 'inbound-pro' ),
|
72 |
+
'desc' => __('Enter the name.', 'inbound-pro' ),
|
73 |
'type' => 'text',
|
74 |
'std' => '',
|
75 |
'class' => '',
|
76 |
'is_content' => 0
|
77 |
),
|
78 |
'meta' => array(
|
79 |
+
'name' => __('Profile Meta', 'inbound-pro' ),
|
80 |
+
'desc' => __('Enter the profile meta. e.g job position etc.', 'inbound-pro' ),
|
81 |
'type' => 'text',
|
82 |
'std' => '',
|
83 |
'class' => '',
|
84 |
'is_content' => 0
|
85 |
),
|
86 |
'image' => array(
|
87 |
+
'name' => __('Profile Image', 'inbound-pro' ),
|
88 |
+
'desc' => __('Paste your profile image URL here.', 'inbound-pro' ),
|
89 |
'type' => 'text',
|
90 |
'std' => '',
|
91 |
'class' => '',
|
92 |
'is_content' => 0
|
93 |
),
|
94 |
'link' => array(
|
95 |
+
'name' => __('Profile Link', 'inbound-pro' ),
|
96 |
+
'desc' => __('Paste your profile URL here.', 'inbound-pro' ),
|
97 |
'type' => 'text',
|
98 |
'std' => '',
|
99 |
'class' => '',
|
100 |
'is_content' => 0
|
101 |
),
|
102 |
'facebook' => array(
|
103 |
+
'name' => __('Profile Facebook', 'inbound-pro' ),
|
104 |
+
'desc' => __('Paste your facebook URL here.', 'inbound-pro' ),
|
105 |
'type' => 'text',
|
106 |
'std' => '',
|
107 |
'class' => '',
|
108 |
'is_content' => 0
|
109 |
),
|
110 |
'twitter' => array(
|
111 |
+
'name' => __('Profile Twitter', 'inbound-pro' ),
|
112 |
+
'desc' => __('Paste your twitter URL here.', 'inbound-pro' ),
|
113 |
'type' => 'text',
|
114 |
'std' => '',
|
115 |
'class' => '',
|
116 |
'is_content' => 0
|
117 |
),
|
118 |
'email' => array(
|
119 |
+
'name' => __('Profile Email Address', 'inbound-pro' ),
|
120 |
+
'desc' => __('Paste your email address here.', 'inbound-pro' ),
|
121 |
'type' => 'text',
|
122 |
'std' => '',
|
123 |
'class' => '',
|
124 |
'is_content' => 0
|
125 |
),
|
126 |
'content' => array(
|
127 |
+
'name' => __('Profile Description', 'inbound-pro' ),
|
128 |
'desc' => __('Enter the profile description text.', 'leads'),
|
129 |
'type' => 'textarea',
|
130 |
'std' => '',
|
shared/shortcodes/shortcodes/quick-forms.php
CHANGED
@@ -8,8 +8,8 @@
|
|
8 |
'no_preview' => false,
|
9 |
'options' => array(
|
10 |
'insert_default' => array(
|
11 |
-
'name' => __('Insert Saved Form', '
|
12 |
-
'desc' => __('Insert a Saved Form', '
|
13 |
'type' => 'select',
|
14 |
'options' => $form_names,
|
15 |
'std' => 'none',
|
@@ -25,8 +25,8 @@
|
|
25 |
),
|
26 |
*/
|
27 |
'form_name' => array(
|
28 |
-
'name' => __('Form Name<span class="small-required-text">*</span>', '
|
29 |
-
'desc' => __('This is not shown to visitors', '
|
30 |
'type' => 'text',
|
31 |
'placeholder' => "Example: XYZ Whitepaper Download",
|
32 |
'std' => '',
|
8 |
'no_preview' => false,
|
9 |
'options' => array(
|
10 |
'insert_default' => array(
|
11 |
+
'name' => __('Insert Saved Form', 'inbound-pro' ),
|
12 |
+
'desc' => __('Insert a Saved Form', 'inbound-pro' ),
|
13 |
'type' => 'select',
|
14 |
'options' => $form_names,
|
15 |
'std' => 'none',
|
25 |
),
|
26 |
*/
|
27 |
'form_name' => array(
|
28 |
+
'name' => __('Form Name<span class="small-required-text">*</span>', 'inbound-pro' ),
|
29 |
+
'desc' => __('This is not shown to visitors', 'inbound-pro' ),
|
30 |
'type' => 'text',
|
31 |
'placeholder' => "Example: XYZ Whitepaper Download",
|
32 |
'std' => '',
|
shared/shortcodes/shortcodes/social-share.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
'options' => array(
|
12 |
'style' => array(
|
13 |
'name' => 'Style of Icons',
|
14 |
-
'desc' => __('Style of Icons', '
|
15 |
'type' => 'select',
|
16 |
'options' => array(
|
17 |
"bar" => "Bar",
|
@@ -23,8 +23,8 @@
|
|
23 |
'std' => 'bar'
|
24 |
),
|
25 |
'align' => array(
|
26 |
-
'name' => __('Align Icons', '
|
27 |
-
'desc' => __('Alignment Settings', '
|
28 |
'type' => 'select',
|
29 |
'options' => array(
|
30 |
"horizontal" => "Horizontal",
|
@@ -34,60 +34,60 @@
|
|
34 |
),
|
35 |
|
36 |
'facebook' => array(
|
37 |
-
'name' => __('Facebook', '
|
38 |
-
'desc' => __('Show facebook share icon', '
|
39 |
'type' => 'checkbox',
|
40 |
'std' => '1'
|
41 |
),
|
42 |
'twitter' => array(
|
43 |
-
'name' => __('Twitter', '
|
44 |
-
'desc' => __('Show twitter share icon', '
|
45 |
'type' => 'checkbox',
|
46 |
'std' => '1'
|
47 |
),
|
48 |
'google_plus' => array(
|
49 |
-
'name' => __('Google+', '
|
50 |
-
'desc' => __('Show google plus share icon', '
|
51 |
'type' => 'checkbox',
|
52 |
'std' => '1'
|
53 |
),
|
54 |
'linkedin' => array(
|
55 |
-
'name' => __('Linkedin', '
|
56 |
-
'desc' => __('Show linkedin share icon', '
|
57 |
'type' => 'checkbox',
|
58 |
'std' => '1'
|
59 |
),
|
60 |
'pinterest' => array(
|
61 |
-
'name' => __('Pinterest', '
|
62 |
-
'desc' => __('Show pinterest share icon', '
|
63 |
'type' => 'checkbox',
|
64 |
'std' => '1',
|
65 |
),
|
66 |
|
67 |
'text' => array(
|
68 |
-
'name' => __('Custom Share Text', '
|
69 |
-
'desc' => __('Optional setting. Enter your custom share text', '
|
70 |
'type' => 'text',
|
71 |
'std' => '',
|
72 |
'placeholder' => 'Custom Share Text. Title of page used by default',
|
73 |
),
|
74 |
'link' => array(
|
75 |
-
'name' => __('Custom Share URL', '
|
76 |
-
'desc' => __('Optional setting. Enter your custom share link URL', '
|
77 |
'type' => 'text',
|
78 |
'std' => '',
|
79 |
'placeholder' => 'Custom URL. Page permalink used by default',
|
80 |
),
|
81 |
'heading' => array(
|
82 |
-
'name' => __('Heading', '
|
83 |
-
'desc' => __('Optional setting.', '
|
84 |
'type' => 'text',
|
85 |
'std' => '',
|
86 |
'placeholder' => 'Optional Header Text',
|
87 |
),
|
88 |
'header-align' => array(
|
89 |
-
'name' => __('Heading Align', '
|
90 |
-
'desc' => __('Heading Alignment Settings', '
|
91 |
'type' => 'select',
|
92 |
'options' => array(
|
93 |
"inline" => "Inline",
|
11 |
'options' => array(
|
12 |
'style' => array(
|
13 |
'name' => 'Style of Icons',
|
14 |
+
'desc' => __('Style of Icons', 'inbound-pro' ),
|
15 |
'type' => 'select',
|
16 |
'options' => array(
|
17 |
"bar" => "Bar",
|
23 |
'std' => 'bar'
|
24 |
),
|
25 |
'align' => array(
|
26 |
+
'name' => __('Align Icons', 'inbound-pro' ),
|
27 |
+
'desc' => __('Alignment Settings', 'inbound-pro' ),
|
28 |
'type' => 'select',
|
29 |
'options' => array(
|
30 |
"horizontal" => "Horizontal",
|
34 |
),
|
35 |
|
36 |
'facebook' => array(
|
37 |
+
'name' => __('Facebook', 'inbound-pro' ),
|
38 |
+
'desc' => __('Show facebook share icon', 'inbound-pro' ),
|
39 |
'type' => 'checkbox',
|
40 |
'std' => '1'
|
41 |
),
|
42 |
'twitter' => array(
|
43 |
+
'name' => __('Twitter', 'inbound-pro' ),
|
44 |
+
'desc' => __('Show twitter share icon', 'inbound-pro' ),
|
45 |
'type' => 'checkbox',
|
46 |
'std' => '1'
|
47 |
),
|
48 |
'google_plus' => array(
|
49 |
+
'name' => __('Google+', 'inbound-pro' ),
|
50 |
+
'desc' => __('Show google plus share icon', 'inbound-pro' ),
|
51 |
'type' => 'checkbox',
|
52 |
'std' => '1'
|
53 |
),
|
54 |
'linkedin' => array(
|
55 |
+
'name' => __('Linkedin', 'inbound-pro' ),
|
56 |
+
'desc' => __('Show linkedin share icon', 'inbound-pro' ),
|
57 |
'type' => 'checkbox',
|
58 |
'std' => '1'
|
59 |
),
|
60 |
'pinterest' => array(
|
61 |
+
'name' => __('Pinterest', 'inbound-pro' ),
|
62 |
+
'desc' => __('Show pinterest share icon', 'inbound-pro' ),
|
63 |
'type' => 'checkbox',
|
64 |
'std' => '1',
|
65 |
),
|
66 |
|
67 |
'text' => array(
|
68 |
+
'name' => __('Custom Share Text', 'inbound-pro' ),
|
69 |
+
'desc' => __('Optional setting. Enter your custom share text', 'inbound-pro' ),
|
70 |
'type' => 'text',
|
71 |
'std' => '',
|
72 |
'placeholder' => 'Custom Share Text. Title of page used by default',
|
73 |
),
|
74 |
'link' => array(
|
75 |
+
'name' => __('Custom Share URL', 'inbound-pro' ),
|
76 |
+
'desc' => __('Optional setting. Enter your custom share link URL', 'inbound-pro' ),
|
77 |
'type' => 'text',
|
78 |
'std' => '',
|
79 |
'placeholder' => 'Custom URL. Page permalink used by default',
|
80 |
),
|
81 |
'heading' => array(
|
82 |
+
'name' => __('Heading', 'inbound-pro' ),
|
83 |
+
'desc' => __('Optional setting.', 'inbound-pro' ),
|
84 |
'type' => 'text',
|
85 |
'std' => '',
|
86 |
'placeholder' => 'Optional Header Text',
|
87 |
),
|
88 |
'header-align' => array(
|
89 |
+
'name' => __('Heading Align', 'inbound-pro' ),
|
90 |
+
'desc' => __('Heading Alignment Settings', 'inbound-pro' ),
|
91 |
'type' => 'select',
|
92 |
'options' => array(
|
93 |
"inline" => "Inline",
|
shared/shortcodes/shortcodes/social.php
CHANGED
@@ -9,50 +9,50 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'facebook' => array(
|
12 |
-
'name' => __('Facebook', '
|
13 |
-
'desc' => __('Enter your facebook profile URL', '
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'twitter' => array(
|
18 |
-
'name' => __('Twitter', '
|
19 |
-
'desc' => __('Enter your twitter profile URL', '
|
20 |
'type' => 'text',
|
21 |
'std' => ''
|
22 |
),
|
23 |
'google_plus' => array(
|
24 |
-
'name' => __('Google+', '
|
25 |
-
'desc' => __('Enter your google plus profile URL', '
|
26 |
'type' => 'text',
|
27 |
'std' => ''
|
28 |
),
|
29 |
'linkedin' => array(
|
30 |
-
'name' => __('Linkedin', '
|
31 |
-
'desc' => __('Enter your linkedin profile URL', '
|
32 |
'type' => 'text',
|
33 |
'std' => ''
|
34 |
),
|
35 |
'github' => array(
|
36 |
-
'name' => __('Github', '
|
37 |
-
'desc' => __('Enter your github profile URL', '
|
38 |
'type' => 'text',
|
39 |
'std' => ''
|
40 |
),
|
41 |
'pinterest' => array(
|
42 |
-
'name' => __('Instagram', '
|
43 |
-
'desc' => __('Enter your instagram profile URL', '
|
44 |
'type' => 'text',
|
45 |
'std' => ''
|
46 |
),
|
47 |
'pinterest' => array(
|
48 |
-
'name' => __('Pinterest', '
|
49 |
-
'desc' => __('Enter your pinterest profile URL', '
|
50 |
'type' => 'text',
|
51 |
'std' => ''
|
52 |
),
|
53 |
'rss' => array(
|
54 |
-
'name' => __('RSS', '
|
55 |
-
'desc' => __('Enter your RSS feeds URL', '
|
56 |
'type' => 'text',
|
57 |
'std' => ''
|
58 |
)
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'facebook' => array(
|
12 |
+
'name' => __('Facebook', 'inbound-pro' ),
|
13 |
+
'desc' => __('Enter your facebook profile URL', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'twitter' => array(
|
18 |
+
'name' => __('Twitter', 'inbound-pro' ),
|
19 |
+
'desc' => __('Enter your twitter profile URL', 'inbound-pro' ),
|
20 |
'type' => 'text',
|
21 |
'std' => ''
|
22 |
),
|
23 |
'google_plus' => array(
|
24 |
+
'name' => __('Google+', 'inbound-pro' ),
|
25 |
+
'desc' => __('Enter your google plus profile URL', 'inbound-pro' ),
|
26 |
'type' => 'text',
|
27 |
'std' => ''
|
28 |
),
|
29 |
'linkedin' => array(
|
30 |
+
'name' => __('Linkedin', 'inbound-pro' ),
|
31 |
+
'desc' => __('Enter your linkedin profile URL', 'inbound-pro' ),
|
32 |
'type' => 'text',
|
33 |
'std' => ''
|
34 |
),
|
35 |
'github' => array(
|
36 |
+
'name' => __('Github', 'inbound-pro' ),
|
37 |
+
'desc' => __('Enter your github profile URL', 'inbound-pro' ),
|
38 |
'type' => 'text',
|
39 |
'std' => ''
|
40 |
),
|
41 |
'pinterest' => array(
|
42 |
+
'name' => __('Instagram', 'inbound-pro' ),
|
43 |
+
'desc' => __('Enter your instagram profile URL', 'inbound-pro' ),
|
44 |
'type' => 'text',
|
45 |
'std' => ''
|
46 |
),
|
47 |
'pinterest' => array(
|
48 |
+
'name' => __('Pinterest', 'inbound-pro' ),
|
49 |
+
'desc' => __('Enter your pinterest profile URL', 'inbound-pro' ),
|
50 |
'type' => 'text',
|
51 |
'std' => ''
|
52 |
),
|
53 |
'rss' => array(
|
54 |
+
'name' => __('RSS', 'inbound-pro' ),
|
55 |
+
'desc' => __('Enter your RSS feeds URL', 'inbound-pro' ),
|
56 |
'type' => 'text',
|
57 |
'std' => ''
|
58 |
)
|
shared/shortcodes/shortcodes/tabs.php
CHANGED
@@ -9,8 +9,8 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'heading' => array(
|
12 |
-
'name' => __('Heading', '
|
13 |
-
'desc' => __('Enter the heading text', '
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
)
|
@@ -24,8 +24,8 @@
|
|
24 |
'std' => ''
|
25 |
),
|
26 |
'icon' => array(
|
27 |
-
'name' => __('Icon', '
|
28 |
-
'desc' => __('Select an icon.', '
|
29 |
'type' => 'select',
|
30 |
'options' => $fontawesome,
|
31 |
'std' => ''
|
@@ -47,12 +47,12 @@
|
|
47 |
/* Page builder module config
|
48 |
* ----------------------------------------------------- */
|
49 |
$freshbuilder_modules['tabs'] = array(
|
50 |
-
'name' => __('Tabs', '
|
51 |
'size' => 'one_half',
|
52 |
'options' => array(
|
53 |
'heading' => array(
|
54 |
-
'name' => __('Heading', '
|
55 |
-
'desc' => __('Enter the heading text', '
|
56 |
'type' => 'text',
|
57 |
'std' => '',
|
58 |
'class' => '',
|
@@ -61,16 +61,16 @@
|
|
61 |
),
|
62 |
'child' => array(
|
63 |
'title' => array(
|
64 |
-
'name' => __('Title', '
|
65 |
-
'desc' => __('Enter the tab title', '
|
66 |
'type' => 'text',
|
67 |
'std' => '',
|
68 |
'class' => '',
|
69 |
'is_content' => 0
|
70 |
),
|
71 |
'icon' => array(
|
72 |
-
'name' => __('Icon', '
|
73 |
-
'desc' => __('Select an icon.', '
|
74 |
'type' => 'select',
|
75 |
'options' => $fontawesome,
|
76 |
'std' => 'none',
|
@@ -78,8 +78,8 @@
|
|
78 |
'is_content' => 0
|
79 |
),
|
80 |
'content' => array(
|
81 |
-
'name' => __('Content', '
|
82 |
-
'desc' => __('Enter the tab content', '
|
83 |
'type' => 'textarea',
|
84 |
'class' => '',
|
85 |
'is_content' => 1
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'heading' => array(
|
12 |
+
'name' => __('Heading', 'inbound-pro' ),
|
13 |
+
'desc' => __('Enter the heading text', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
)
|
24 |
'std' => ''
|
25 |
),
|
26 |
'icon' => array(
|
27 |
+
'name' => __('Icon', 'inbound-pro' ),
|
28 |
+
'desc' => __('Select an icon.', 'inbound-pro' ),
|
29 |
'type' => 'select',
|
30 |
'options' => $fontawesome,
|
31 |
'std' => ''
|
47 |
/* Page builder module config
|
48 |
* ----------------------------------------------------- */
|
49 |
$freshbuilder_modules['tabs'] = array(
|
50 |
+
'name' => __('Tabs', 'inbound-pro' ),
|
51 |
'size' => 'one_half',
|
52 |
'options' => array(
|
53 |
'heading' => array(
|
54 |
+
'name' => __('Heading', 'inbound-pro' ),
|
55 |
+
'desc' => __('Enter the heading text', 'inbound-pro' ),
|
56 |
'type' => 'text',
|
57 |
'std' => '',
|
58 |
'class' => '',
|
61 |
),
|
62 |
'child' => array(
|
63 |
'title' => array(
|
64 |
+
'name' => __('Title', 'inbound-pro' ),
|
65 |
+
'desc' => __('Enter the tab title', 'inbound-pro' ),
|
66 |
'type' => 'text',
|
67 |
'std' => '',
|
68 |
'class' => '',
|
69 |
'is_content' => 0
|
70 |
),
|
71 |
'icon' => array(
|
72 |
+
'name' => __('Icon', 'inbound-pro' ),
|
73 |
+
'desc' => __('Select an icon.', 'inbound-pro' ),
|
74 |
'type' => 'select',
|
75 |
'options' => $fontawesome,
|
76 |
'std' => 'none',
|
78 |
'is_content' => 0
|
79 |
),
|
80 |
'content' => array(
|
81 |
+
'name' => __('Content', 'inbound-pro' ),
|
82 |
+
'desc' => __('Enter the tab content', 'inbound-pro' ),
|
83 |
'type' => 'textarea',
|
84 |
'class' => '',
|
85 |
'is_content' => 1
|
shared/shortcodes/shortcodes/teaser.php
CHANGED
@@ -9,32 +9,32 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'heading' => array(
|
12 |
-
'name' => __('Heading', '
|
13 |
-
'desc' => __('Enter the heading text', '
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'style' => array(
|
18 |
-
'name' => __('Style', '
|
19 |
-
'desc' => __('Select the style.', '
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
-
'' => __('Default', '
|
23 |
-
'nested' => __('Nested', '
|
24 |
-
'centered' => __('Centered', '
|
25 |
),
|
26 |
'std' => ''
|
27 |
),
|
28 |
'column' => array(
|
29 |
-
'name' => __('Column', '
|
30 |
-
'desc' => __('Select the number of column(s).', '
|
31 |
'type' => 'select',
|
32 |
'options' => array(
|
33 |
-
'1' => __('1 Column', '
|
34 |
-
'2' => __('2 Columns', '
|
35 |
-
'3' => __('3 Columns', '
|
36 |
-
'4' => __('4 Columns', '
|
37 |
-
'5' => __('5 Columns', '
|
38 |
),
|
39 |
'std' => '3'
|
40 |
)
|
@@ -42,40 +42,40 @@
|
|
42 |
'child' => array(
|
43 |
'options' => array(
|
44 |
'title' => array(
|
45 |
-
'name' => __('Title', '
|
46 |
-
'desc' => __('Enter the title.', '
|
47 |
'type' => 'text',
|
48 |
'std' => ''
|
49 |
),
|
50 |
'subtitle' => array(
|
51 |
-
'name' => __('Sub Title', '
|
52 |
-
'desc' => __('Enter the sub title.', '
|
53 |
'type' => 'text',
|
54 |
'std' => ''
|
55 |
),
|
56 |
'icon' => array(
|
57 |
-
'name' => __('Icon', '
|
58 |
-
'desc' => __('Select an icon.', '
|
59 |
'type' => 'select',
|
60 |
'options' => $fontawesome,
|
61 |
'std' => ''
|
62 |
),
|
63 |
'image' => array(
|
64 |
-
'name' => __('Image URL', '
|
65 |
-
'desc' => __('Enter your image url, it will override the icon above', '
|
66 |
'type' => 'text',
|
67 |
'std' => '',
|
68 |
'class' => ''
|
69 |
),
|
70 |
'link' => array(
|
71 |
-
'name' => __('Link', '
|
72 |
-
'desc' => __('The title link destination URL.', '
|
73 |
'type' => 'text',
|
74 |
'std' => ''
|
75 |
),
|
76 |
'content' => array(
|
77 |
-
'name' => __('Teaser Content', '
|
78 |
-
'desc' => __('Enter the content.', '
|
79 |
'type' => 'textarea',
|
80 |
'std' => ''
|
81 |
)
|
@@ -90,40 +90,40 @@
|
|
90 |
/* Page builder module config
|
91 |
* ----------------------------------------------------- */
|
92 |
$freshbuilder_modules['teaser'] = array(
|
93 |
-
'name' => __('Teaser', '
|
94 |
'size' => 'one_full',
|
95 |
'options' => array(
|
96 |
'heading' => array(
|
97 |
-
'name' => __('Heading', '
|
98 |
-
'desc' => __('Enter the heading text.', '
|
99 |
'type' => 'text',
|
100 |
'std' => '',
|
101 |
'class' => '',
|
102 |
'is_content' => 0
|
103 |
),
|
104 |
'style' => array(
|
105 |
-
'name' => __('Style', '
|
106 |
-
'desc' => __('Select the style.', '
|
107 |
'type' => 'select',
|
108 |
'options' => array(
|
109 |
-
'' => __('Default', '
|
110 |
-
'nested' => __('Nested', '
|
111 |
-
'centered' => __('Centered', '
|
112 |
),
|
113 |
'std' => '',
|
114 |
'class' => '',
|
115 |
'is_content' => 0
|
116 |
),
|
117 |
'column' => array(
|
118 |
-
'name' => __('Column', '
|
119 |
-
'desc' => __('Select the column.', '
|
120 |
'type' => 'select',
|
121 |
'options' => array(
|
122 |
-
'1' => __('1 Column', '
|
123 |
-
'2' => __('2 Columns', '
|
124 |
-
'3' => __('3 Columns', '
|
125 |
-
'4' => __('4 Columns', '
|
126 |
-
'5' => __('5 Columns', '
|
127 |
),
|
128 |
'std' => '3',
|
129 |
'class' => '',
|
@@ -132,8 +132,8 @@
|
|
132 |
),
|
133 |
'child' => array(
|
134 |
'icon' => array(
|
135 |
-
'name' => __('Icon', '
|
136 |
-
'desc' => __('Select an icon.', '
|
137 |
'type' => 'select',
|
138 |
'options' => $fontawesome,
|
139 |
'std' => 'none',
|
@@ -141,37 +141,37 @@
|
|
141 |
'is_content' => 0
|
142 |
),
|
143 |
'image' => array(
|
144 |
-
'name' => __('Image URL', '
|
145 |
-
'desc' => __('Enter your image url, it will override the icon above', '
|
146 |
'type' => 'text',
|
147 |
'std' => '',
|
148 |
'class' => '',
|
149 |
'is_content' => 0
|
150 |
),
|
151 |
'title' => array(
|
152 |
-
'name' => __('Title', '
|
153 |
-
'desc' => __('Enter the heading text.', '
|
154 |
'type' => 'text',
|
155 |
'class' => '',
|
156 |
'is_content' => 0
|
157 |
),
|
158 |
'subtitle' => array(
|
159 |
-
'name' => __('Sub Title', '
|
160 |
-
'desc' => __('Enter the sub title.', '
|
161 |
'type' => 'text',
|
162 |
'class' => '',
|
163 |
'is_content' => 0
|
164 |
),
|
165 |
'link' => array(
|
166 |
-
'name' => __('Link', '
|
167 |
-
'desc' => __('The title link destination URL.', '
|
168 |
'type' => 'text',
|
169 |
'class' => '',
|
170 |
'is_content' => 0
|
171 |
),
|
172 |
'content' => array(
|
173 |
-
'name' => __('Content', '
|
174 |
-
'desc' => __('Enter the content.', '
|
175 |
'type' => 'textarea',
|
176 |
'std' => '',
|
177 |
'class' => '',
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'heading' => array(
|
12 |
+
'name' => __('Heading', 'inbound-pro' ),
|
13 |
+
'desc' => __('Enter the heading text', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
),
|
17 |
'style' => array(
|
18 |
+
'name' => __('Style', 'inbound-pro' ),
|
19 |
+
'desc' => __('Select the style.', 'inbound-pro' ),
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
+
'' => __('Default', 'inbound-pro' ),
|
23 |
+
'nested' => __('Nested', 'inbound-pro' ),
|
24 |
+
'centered' => __('Centered', 'inbound-pro' )
|
25 |
),
|
26 |
'std' => ''
|
27 |
),
|
28 |
'column' => array(
|
29 |
+
'name' => __('Column', 'inbound-pro' ),
|
30 |
+
'desc' => __('Select the number of column(s).', 'inbound-pro' ),
|
31 |
'type' => 'select',
|
32 |
'options' => array(
|
33 |
+
'1' => __('1 Column', 'inbound-pro' ),
|
34 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
35 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
36 |
+
'4' => __('4 Columns', 'inbound-pro' ),
|
37 |
+
'5' => __('5 Columns', 'inbound-pro' )
|
38 |
),
|
39 |
'std' => '3'
|
40 |
)
|
42 |
'child' => array(
|
43 |
'options' => array(
|
44 |
'title' => array(
|
45 |
+
'name' => __('Title', 'inbound-pro' ),
|
46 |
+
'desc' => __('Enter the title.', 'inbound-pro' ),
|
47 |
'type' => 'text',
|
48 |
'std' => ''
|
49 |
),
|
50 |
'subtitle' => array(
|
51 |
+
'name' => __('Sub Title', 'inbound-pro' ),
|
52 |
+
'desc' => __('Enter the sub title.', 'inbound-pro' ),
|
53 |
'type' => 'text',
|
54 |
'std' => ''
|
55 |
),
|
56 |
'icon' => array(
|
57 |
+
'name' => __('Icon', 'inbound-pro' ),
|
58 |
+
'desc' => __('Select an icon.', 'inbound-pro' ),
|
59 |
'type' => 'select',
|
60 |
'options' => $fontawesome,
|
61 |
'std' => ''
|
62 |
),
|
63 |
'image' => array(
|
64 |
+
'name' => __('Image URL', 'inbound-pro' ),
|
65 |
+
'desc' => __('Enter your image url, it will override the icon above', 'inbound-pro' ),
|
66 |
'type' => 'text',
|
67 |
'std' => '',
|
68 |
'class' => ''
|
69 |
),
|
70 |
'link' => array(
|
71 |
+
'name' => __('Link', 'inbound-pro' ),
|
72 |
+
'desc' => __('The title link destination URL.', 'inbound-pro' ),
|
73 |
'type' => 'text',
|
74 |
'std' => ''
|
75 |
),
|
76 |
'content' => array(
|
77 |
+
'name' => __('Teaser Content', 'inbound-pro' ),
|
78 |
+
'desc' => __('Enter the content.', 'inbound-pro' ),
|
79 |
'type' => 'textarea',
|
80 |
'std' => ''
|
81 |
)
|
90 |
/* Page builder module config
|
91 |
* ----------------------------------------------------- */
|
92 |
$freshbuilder_modules['teaser'] = array(
|
93 |
+
'name' => __('Teaser', 'inbound-pro' ),
|
94 |
'size' => 'one_full',
|
95 |
'options' => array(
|
96 |
'heading' => array(
|
97 |
+
'name' => __('Heading', 'inbound-pro' ),
|
98 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
99 |
'type' => 'text',
|
100 |
'std' => '',
|
101 |
'class' => '',
|
102 |
'is_content' => 0
|
103 |
),
|
104 |
'style' => array(
|
105 |
+
'name' => __('Style', 'inbound-pro' ),
|
106 |
+
'desc' => __('Select the style.', 'inbound-pro' ),
|
107 |
'type' => 'select',
|
108 |
'options' => array(
|
109 |
+
'' => __('Default', 'inbound-pro' ),
|
110 |
+
'nested' => __('Nested', 'inbound-pro' ),
|
111 |
+
'centered' => __('Centered', 'inbound-pro' )
|
112 |
),
|
113 |
'std' => '',
|
114 |
'class' => '',
|
115 |
'is_content' => 0
|
116 |
),
|
117 |
'column' => array(
|
118 |
+
'name' => __('Column', 'inbound-pro' ),
|
119 |
+
'desc' => __('Select the column.', 'inbound-pro' ),
|
120 |
'type' => 'select',
|
121 |
'options' => array(
|
122 |
+
'1' => __('1 Column', 'inbound-pro' ),
|
123 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
124 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
125 |
+
'4' => __('4 Columns', 'inbound-pro' ),
|
126 |
+
'5' => __('5 Columns', 'inbound-pro' )
|
127 |
),
|
128 |
'std' => '3',
|
129 |
'class' => '',
|
132 |
),
|
133 |
'child' => array(
|
134 |
'icon' => array(
|
135 |
+
'name' => __('Icon', 'inbound-pro' ),
|
136 |
+
'desc' => __('Select an icon.', 'inbound-pro' ),
|
137 |
'type' => 'select',
|
138 |
'options' => $fontawesome,
|
139 |
'std' => 'none',
|
141 |
'is_content' => 0
|
142 |
),
|
143 |
'image' => array(
|
144 |
+
'name' => __('Image URL', 'inbound-pro' ),
|
145 |
+
'desc' => __('Enter your image url, it will override the icon above', 'inbound-pro' ),
|
146 |
'type' => 'text',
|
147 |
'std' => '',
|
148 |
'class' => '',
|
149 |
'is_content' => 0
|
150 |
),
|
151 |
'title' => array(
|
152 |
+
'name' => __('Title', 'inbound-pro' ),
|
153 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
154 |
'type' => 'text',
|
155 |
'class' => '',
|
156 |
'is_content' => 0
|
157 |
),
|
158 |
'subtitle' => array(
|
159 |
+
'name' => __('Sub Title', 'inbound-pro' ),
|
160 |
+
'desc' => __('Enter the sub title.', 'inbound-pro' ),
|
161 |
'type' => 'text',
|
162 |
'class' => '',
|
163 |
'is_content' => 0
|
164 |
),
|
165 |
'link' => array(
|
166 |
+
'name' => __('Link', 'inbound-pro' ),
|
167 |
+
'desc' => __('The title link destination URL.', 'inbound-pro' ),
|
168 |
'type' => 'text',
|
169 |
'class' => '',
|
170 |
'is_content' => 0
|
171 |
),
|
172 |
'content' => array(
|
173 |
+
'name' => __('Content', 'inbound-pro' ),
|
174 |
+
'desc' => __('Enter the content.', 'inbound-pro' ),
|
175 |
'type' => 'textarea',
|
176 |
'std' => '',
|
177 |
'class' => '',
|
shared/shortcodes/shortcodes/testimonial.php
CHANGED
@@ -9,21 +9,21 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'heading' => array(
|
12 |
-
'name' => __('Heading Text', '
|
13 |
-
'desc' => __('Enter the heading text.', '
|
14 |
'type' => 'text',
|
15 |
'std' => 'Testimonial'
|
16 |
),
|
17 |
'column' => array(
|
18 |
-
'name' => __('Column', '
|
19 |
-
'desc' => __('Select the number of column(s).', '
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
-
'1' => __('1 Column', '
|
23 |
-
'2' => __('2 Columns', '
|
24 |
-
'3' => __('3 Columns', '
|
25 |
-
'4' => __('4 Columns', '
|
26 |
-
'5' => __('5 Columns', '
|
27 |
),
|
28 |
'std' => '1'
|
29 |
)
|
@@ -37,8 +37,8 @@
|
|
37 |
'std' => ''
|
38 |
),
|
39 |
'meta' => array(
|
40 |
-
'name' => __('Testimony Author Meta', '
|
41 |
-
'desc' => __('The author job, company or website name.', '
|
42 |
'type' => 'text',
|
43 |
'std' => ''
|
44 |
),
|
@@ -59,27 +59,27 @@
|
|
59 |
/* Page builder module config
|
60 |
* ----------------------------------------------------- */
|
61 |
$freshbuilder_modules['testimonial'] = array(
|
62 |
-
'name' => __('Testimonial', '
|
63 |
'size' => 'one_half',
|
64 |
'options' => array(
|
65 |
'heading' => array(
|
66 |
-
'name' => __('Heading', '
|
67 |
-
'desc' => __('Enter the heading text.', '
|
68 |
'type' => 'text',
|
69 |
'std' => 'Testimonial',
|
70 |
'class' => '',
|
71 |
'is_content' => 0
|
72 |
),
|
73 |
'column' => array(
|
74 |
-
'name' => __('Column', '
|
75 |
-
'desc' => __('Select the number of column(s).', '
|
76 |
'type' => 'select',
|
77 |
'options' => array(
|
78 |
-
'1' => __('1 Column', '
|
79 |
-
'2' => __('2 Columns', '
|
80 |
-
'3' => __('3 Columns', '
|
81 |
-
'4' => __('4 Columns', '
|
82 |
-
'5' => __('5 Columns', '
|
83 |
),
|
84 |
'std' => '3',
|
85 |
'class' => '',
|
@@ -88,24 +88,24 @@
|
|
88 |
),
|
89 |
'child' => array(
|
90 |
'author' => array(
|
91 |
-
'name' => __('Testimony Author', '
|
92 |
-
'desc' => __('Enter the testimony author name.', '
|
93 |
'type' => 'text',
|
94 |
'std' => '',
|
95 |
'class' => '',
|
96 |
'is_content' => 0
|
97 |
),
|
98 |
'meta' => array(
|
99 |
-
'name' => __('Testimony Author Meta', '
|
100 |
-
'desc' => __('The author job, company or website name.', '
|
101 |
'type' => 'text',
|
102 |
'std' => '',
|
103 |
'class' => '',
|
104 |
'is_content' => 0
|
105 |
),
|
106 |
'content' => array(
|
107 |
-
'name' => __('Testimony Text', '
|
108 |
-
'desc' => __('Put the content here.', '
|
109 |
'type' => 'textarea',
|
110 |
'std' => '',
|
111 |
'class' => '',
|
@@ -121,7 +121,7 @@
|
|
121 |
|
122 |
function inbound_shortcode_testimonial( $atts, $content = null ) {
|
123 |
extract(shortcode_atts(array(
|
124 |
-
'heading' => __('Testimonial', '
|
125 |
'column' => 1,
|
126 |
), $atts));
|
127 |
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'heading' => array(
|
12 |
+
'name' => __('Heading Text', 'inbound-pro' ),
|
13 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => 'Testimonial'
|
16 |
),
|
17 |
'column' => array(
|
18 |
+
'name' => __('Column', 'inbound-pro' ),
|
19 |
+
'desc' => __('Select the number of column(s).', 'inbound-pro' ),
|
20 |
'type' => 'select',
|
21 |
'options' => array(
|
22 |
+
'1' => __('1 Column', 'inbound-pro' ),
|
23 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
24 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
25 |
+
'4' => __('4 Columns', 'inbound-pro' ),
|
26 |
+
'5' => __('5 Columns', 'inbound-pro' )
|
27 |
),
|
28 |
'std' => '1'
|
29 |
)
|
37 |
'std' => ''
|
38 |
),
|
39 |
'meta' => array(
|
40 |
+
'name' => __('Testimony Author Meta', 'inbound-pro' ),
|
41 |
+
'desc' => __('The author job, company or website name.', 'inbound-pro' ),
|
42 |
'type' => 'text',
|
43 |
'std' => ''
|
44 |
),
|
59 |
/* Page builder module config
|
60 |
* ----------------------------------------------------- */
|
61 |
$freshbuilder_modules['testimonial'] = array(
|
62 |
+
'name' => __('Testimonial', 'inbound-pro' ),
|
63 |
'size' => 'one_half',
|
64 |
'options' => array(
|
65 |
'heading' => array(
|
66 |
+
'name' => __('Heading', 'inbound-pro' ),
|
67 |
+
'desc' => __('Enter the heading text.', 'inbound-pro' ),
|
68 |
'type' => 'text',
|
69 |
'std' => 'Testimonial',
|
70 |
'class' => '',
|
71 |
'is_content' => 0
|
72 |
),
|
73 |
'column' => array(
|
74 |
+
'name' => __('Column', 'inbound-pro' ),
|
75 |
+
'desc' => __('Select the number of column(s).', 'inbound-pro' ),
|
76 |
'type' => 'select',
|
77 |
'options' => array(
|
78 |
+
'1' => __('1 Column', 'inbound-pro' ),
|
79 |
+
'2' => __('2 Columns', 'inbound-pro' ),
|
80 |
+
'3' => __('3 Columns', 'inbound-pro' ),
|
81 |
+
'4' => __('4 Columns', 'inbound-pro' ),
|
82 |
+
'5' => __('5 Columns', 'inbound-pro' )
|
83 |
),
|
84 |
'std' => '3',
|
85 |
'class' => '',
|
88 |
),
|
89 |
'child' => array(
|
90 |
'author' => array(
|
91 |
+
'name' => __('Testimony Author', 'inbound-pro' ),
|
92 |
+
'desc' => __('Enter the testimony author name.', 'inbound-pro' ),
|
93 |
'type' => 'text',
|
94 |
'std' => '',
|
95 |
'class' => '',
|
96 |
'is_content' => 0
|
97 |
),
|
98 |
'meta' => array(
|
99 |
+
'name' => __('Testimony Author Meta', 'inbound-pro' ),
|
100 |
+
'desc' => __('The author job, company or website name.', 'inbound-pro' ),
|
101 |
'type' => 'text',
|
102 |
'std' => '',
|
103 |
'class' => '',
|
104 |
'is_content' => 0
|
105 |
),
|
106 |
'content' => array(
|
107 |
+
'name' => __('Testimony Text', 'inbound-pro' ),
|
108 |
+
'desc' => __('Put the content here.', 'inbound-pro' ),
|
109 |
'type' => 'textarea',
|
110 |
'std' => '',
|
111 |
'class' => '',
|
121 |
|
122 |
function inbound_shortcode_testimonial( $atts, $content = null ) {
|
123 |
extract(shortcode_atts(array(
|
124 |
+
'heading' => __('Testimonial', 'inbound-pro' ),
|
125 |
'column' => 1,
|
126 |
), $atts));
|
127 |
|
shared/shortcodes/shortcodes/video.php
CHANGED
@@ -9,8 +9,8 @@
|
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'url' => array(
|
12 |
-
'name' => __('Video URL', '
|
13 |
-
'desc' => __('Paste the video URL here, click <a href="http://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F" target="_blank">here</a> to see all available video hosts.', '
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
)
|
9 |
'no_preview' => true,
|
10 |
'options' => array(
|
11 |
'url' => array(
|
12 |
+
'name' => __('Video URL', 'inbound-pro' ),
|
13 |
+
'desc' => __('Paste the video URL here, click <a href="http://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F" target="_blank">here</a> to see all available video hosts.', 'inbound-pro' ),
|
14 |
'type' => 'text',
|
15 |
'std' => ''
|
16 |
)
|