Version Description
- Added an option to add rel="nofollow" parameter to items
- Added image dimensions to item thubmnails (for better page speed score)
Download this release
Release Info
Developer | mekshq |
Plugin | Meks ThemeForest Smart Widget |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.9 to 1.2
inc/class-themeforest-widget.php
CHANGED
@@ -46,7 +46,8 @@ class MKS_ThemeForest_Widget extends WP_Widget {
|
|
46 |
'more_link_txt' => __('View more','meks-themeforest-smart-widget'),
|
47 |
'order' => 'desc',
|
48 |
'target' => '_blank',
|
49 |
-
'exclude' => ''
|
|
|
50 |
);
|
51 |
|
52 |
//Allow themes or plugins to modify default parameters
|
@@ -99,15 +100,17 @@ class MKS_ThemeForest_Widget extends WP_Widget {
|
|
99 |
$items = array_slice($items, 0, absint($instance['num_items']) );
|
100 |
$ref = !empty($instance['ref']) ? '?ref='.$instance['ref'] : '';
|
101 |
$target = !empty($instance['target']) ? $instance['target'] : '_blank';
|
|
|
|
|
102 |
?>
|
103 |
<ul class="mks_themeforest_widget_ul">
|
104 |
<?php foreach($items as $item) : ?>
|
105 |
-
<li><a href="<?php echo $item['url'].$ref; ?>" title="<?php echo $item['item']; ?>" target="<?php echo $target; ?>"
|
106 |
<?php endforeach; ?>
|
107 |
</ul>
|
108 |
<?php if(!empty($instance['more_link_url'])): ?>
|
109 |
<?php $more_text = isset($instance['more_link_txt']) && !empty($instance['more_link_txt']) ? $instance['more_link_txt'] : __('View more', 'meks-themeforest-smart-widget'); ?>
|
110 |
-
<p class="mks_read_more"><a href="<?php echo esc_url($instance['more_link_url']); ?>" target="_blank" class="more"
|
111 |
<?php endif; ?>
|
112 |
<?php endif; ?>
|
113 |
|
@@ -130,6 +133,7 @@ class MKS_ThemeForest_Widget extends WP_Widget {
|
|
130 |
$instance['items_type'] = $new_instance['items_type'];
|
131 |
$instance['items_from'] = $new_instance['items_from'];
|
132 |
$instance['target'] = $new_instance['target'];
|
|
|
133 |
return $instance;
|
134 |
}
|
135 |
|
@@ -148,14 +152,14 @@ class MKS_ThemeForest_Widget extends WP_Widget {
|
|
148 |
</p>
|
149 |
|
150 |
<p>
|
151 |
-
<label
|
152 |
<?php foreach($this->tf_cats as $cat) : ?>
|
153 |
<input id="<?php echo $this->get_field_id( $cat['name'].'_id' ); ?>" type="checkbox" name="<?php echo $this->get_field_name( 'items_type' ); ?>[]" value="<?php echo $cat['name']; ?>" <?php echo in_array($cat['name'], $instance['items_type']) ? 'checked' : ''; ?> /> <label for="<?php echo $this->get_field_id( $cat['name'].'_id' ); ?>"><?php echo $cat['title']; ?></label><br/>
|
154 |
<?php endforeach; ?>
|
155 |
</p>
|
156 |
|
157 |
<p>
|
158 |
-
<label
|
159 |
<input id="<?php echo $this->get_field_id( 'select_from_popular' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'items_from' ); ?>" value="popular" <?php checked($instance['items_from'],'popular');?> /> <label for="<?php echo $this->get_field_id( 'select_from_popular' ); ?>"><?php _e('Popular Items (WordPress Only)', 'meks-themeforest-smart-widget'); ?></label><br/>
|
160 |
<input id="<?php echo $this->get_field_id( 'select_from_latest' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'items_from' ); ?>" value="latest" <?php checked($instance['items_from'],'latest');?> /> <label for="<?php echo $this->get_field_id( 'select_from_latest' ); ?>"><?php _e('Latest Items', 'meks-themeforest-smart-widget'); ?></label><br/>
|
161 |
<input id="<?php echo $this->get_field_id( 'select_from_user' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'items_from' ); ?>" value="user" <?php checked($instance['items_from'],'user');?> /> <label for="<?php echo $this->get_field_id( 'select_from_user' ); ?>"><?php _e('Specific User(s)', 'meks-themeforest-smart-widget'); ?></label>
|
@@ -219,6 +223,12 @@ class MKS_ThemeForest_Widget extends WP_Widget {
|
|
219 |
<option value="_self" <?php selected('_self',$instance['target']); ?>><?php _e('Same Window', 'meks-themeforest-smart-widget'); ?></option>
|
220 |
</select>
|
221 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
|
223 |
<?php
|
224 |
}
|
46 |
'more_link_txt' => __('View more','meks-themeforest-smart-widget'),
|
47 |
'order' => 'desc',
|
48 |
'target' => '_blank',
|
49 |
+
'exclude' => '',
|
50 |
+
'nofollow' => 0
|
51 |
);
|
52 |
|
53 |
//Allow themes or plugins to modify default parameters
|
100 |
$items = array_slice($items, 0, absint($instance['num_items']) );
|
101 |
$ref = !empty($instance['ref']) ? '?ref='.$instance['ref'] : '';
|
102 |
$target = !empty($instance['target']) ? $instance['target'] : '_blank';
|
103 |
+
|
104 |
+
$nofollow = $instance['nofollow'] ? 'rel="nofollow"' : '';
|
105 |
?>
|
106 |
<ul class="mks_themeforest_widget_ul">
|
107 |
<?php foreach($items as $item) : ?>
|
108 |
+
<li><a href="<?php echo $item['url'].$ref; ?>" title="<?php echo $item['item']; ?>" target="<?php echo $target; ?>" <?php echo $nofollow; ?>><img width="80" height="80" src="<?php echo $item['thumbnail'];?>" alt="<?php echo $item['item']; ?> "/></a></li>
|
109 |
<?php endforeach; ?>
|
110 |
</ul>
|
111 |
<?php if(!empty($instance['more_link_url'])): ?>
|
112 |
<?php $more_text = isset($instance['more_link_txt']) && !empty($instance['more_link_txt']) ? $instance['more_link_txt'] : __('View more', 'meks-themeforest-smart-widget'); ?>
|
113 |
+
<p class="mks_read_more"><a href="<?php echo esc_url($instance['more_link_url']); ?>" target="_blank" class="more" <?php echo $nofollow; ?>><?php echo esc_html($more_text); ?></a></p>
|
114 |
<?php endif; ?>
|
115 |
<?php endif; ?>
|
116 |
|
133 |
$instance['items_type'] = $new_instance['items_type'];
|
134 |
$instance['items_from'] = $new_instance['items_from'];
|
135 |
$instance['target'] = $new_instance['target'];
|
136 |
+
$instance['nofollow'] = isset($new_instance['nofollow']) ? 1 : 0;
|
137 |
return $instance;
|
138 |
}
|
139 |
|
152 |
</p>
|
153 |
|
154 |
<p>
|
155 |
+
<label><?php _e('Item categories to show', 'meks-themeforest-smart-widget'); ?>:</label><br/>
|
156 |
<?php foreach($this->tf_cats as $cat) : ?>
|
157 |
<input id="<?php echo $this->get_field_id( $cat['name'].'_id' ); ?>" type="checkbox" name="<?php echo $this->get_field_name( 'items_type' ); ?>[]" value="<?php echo $cat['name']; ?>" <?php echo in_array($cat['name'], $instance['items_type']) ? 'checked' : ''; ?> /> <label for="<?php echo $this->get_field_id( $cat['name'].'_id' ); ?>"><?php echo $cat['title']; ?></label><br/>
|
158 |
<?php endforeach; ?>
|
159 |
</p>
|
160 |
|
161 |
<p>
|
162 |
+
<label><?php _e('Select items from', 'meks-themeforest-smart-widget'); ?>:</label><br/>
|
163 |
<input id="<?php echo $this->get_field_id( 'select_from_popular' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'items_from' ); ?>" value="popular" <?php checked($instance['items_from'],'popular');?> /> <label for="<?php echo $this->get_field_id( 'select_from_popular' ); ?>"><?php _e('Popular Items (WordPress Only)', 'meks-themeforest-smart-widget'); ?></label><br/>
|
164 |
<input id="<?php echo $this->get_field_id( 'select_from_latest' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'items_from' ); ?>" value="latest" <?php checked($instance['items_from'],'latest');?> /> <label for="<?php echo $this->get_field_id( 'select_from_latest' ); ?>"><?php _e('Latest Items', 'meks-themeforest-smart-widget'); ?></label><br/>
|
165 |
<input id="<?php echo $this->get_field_id( 'select_from_user' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'items_from' ); ?>" value="user" <?php checked($instance['items_from'],'user');?> /> <label for="<?php echo $this->get_field_id( 'select_from_user' ); ?>"><?php _e('Specific User(s)', 'meks-themeforest-smart-widget'); ?></label>
|
223 |
<option value="_self" <?php selected('_self',$instance['target']); ?>><?php _e('Same Window', 'meks-themeforest-smart-widget'); ?></option>
|
224 |
</select>
|
225 |
</p>
|
226 |
+
|
227 |
+
<p>
|
228 |
+
<label for="<?php echo $this->get_field_id( 'nofollow' ); ?>"><input id="<?php echo $this->get_field_id( 'nofollow' ); ?>" type="checkbox" name="<?php echo $this->get_field_name( 'nofollow' ); ?>" value="1" <?php checked($instance['nofollow'], 1); ?> class="widefat" />
|
229 |
+
<?php _e('Add rel="nofollow" to item links', 'meks-themeforest-smart-widget'); ?>
|
230 |
+
</label>
|
231 |
+
</p>
|
232 |
|
233 |
<?php
|
234 |
}
|
languages/meks-themeforest-smart-widget-en_US.mo
CHANGED
Binary file
|
languages/meks-themeforest-smart-widget-en_US.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: MeksHQ <support@mekshq.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -22,121 +22,125 @@ msgid "Meks ThemeForest Smart Widget"
|
|
22 |
msgstr ""
|
23 |
|
24 |
#: ../inc/class-themeforest-widget.php:46
|
25 |
-
#: ../inc/class-themeforest-widget.php:
|
26 |
msgid "View more"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: ../inc/class-themeforest-widget.php:
|
30 |
msgid "Title"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: ../inc/class-themeforest-widget.php:
|
34 |
msgid "Description"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: ../inc/class-themeforest-widget.php:
|
38 |
msgid "Item categories to show"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: ../inc/class-themeforest-widget.php:
|
42 |
msgid "Select items from"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: ../inc/class-themeforest-widget.php:
|
46 |
msgid "Popular Items (WordPress Only)"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: ../inc/class-themeforest-widget.php:
|
50 |
msgid "Latest Items"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: ../inc/class-themeforest-widget.php:
|
54 |
msgid "Specific User(s)"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: ../inc/class-themeforest-widget.php:
|
58 |
msgid "ThemeForest username(s)"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: ../inc/class-themeforest-widget.php:
|
62 |
msgid "For multiple users, separate by comma: i.e. user1,user2,user3"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: ../inc/class-themeforest-widget.php:
|
66 |
msgid "Number of items to show"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: ../inc/class-themeforest-widget.php:
|
70 |
msgid "Order by"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: ../inc/class-themeforest-widget.php:
|
74 |
msgid "Upload date"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: ../inc/class-themeforest-widget.php:
|
78 |
msgid "Last update"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: ../inc/class-themeforest-widget.php:
|
82 |
msgid "Number of sales"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: ../inc/class-themeforest-widget.php:
|
86 |
msgid "Price"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: ../inc/class-themeforest-widget.php:
|
90 |
msgid "Random"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: ../inc/class-themeforest-widget.php:
|
94 |
msgid "Ascending"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: ../inc/class-themeforest-widget.php:
|
98 |
msgid "Descending"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: ../inc/class-themeforest-widget.php:
|
102 |
msgid "Exclude item(s)"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: ../inc/class-themeforest-widget.php:
|
106 |
msgid ""
|
107 |
"Specify item ID to exclude specific item (separate by comma for multiple "
|
108 |
"items): i.e. 8134834,7184572"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../inc/class-themeforest-widget.php:
|
112 |
msgid "Referral user"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../inc/class-themeforest-widget.php:
|
116 |
msgid ""
|
117 |
"Specify username if you want to use items as ThemeForest affiliate links"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: ../inc/class-themeforest-widget.php:
|
121 |
msgid "More link URL"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: ../inc/class-themeforest-widget.php:
|
125 |
msgid "Specify URL if you want to show \"more\" link under the items list"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: ../inc/class-themeforest-widget.php:
|
129 |
msgid "More link text"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: ../inc/class-themeforest-widget.php:
|
133 |
msgid "Open items in"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: ../inc/class-themeforest-widget.php:
|
137 |
msgid "New Window"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: ../inc/class-themeforest-widget.php:
|
141 |
msgid "Same Window"
|
142 |
msgstr ""
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2016-06-13 11:19+0100\n"
|
5 |
+
"PO-Revision-Date: 2016-06-13 11:19+0100\n"
|
6 |
"Last-Translator: MeksHQ <support@mekshq.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
22 |
msgstr ""
|
23 |
|
24 |
#: ../inc/class-themeforest-widget.php:46
|
25 |
+
#: ../inc/class-themeforest-widget.php:112
|
26 |
msgid "View more"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: ../inc/class-themeforest-widget.php:145
|
30 |
msgid "Title"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: ../inc/class-themeforest-widget.php:150
|
34 |
msgid "Description"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: ../inc/class-themeforest-widget.php:155
|
38 |
msgid "Item categories to show"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: ../inc/class-themeforest-widget.php:162
|
42 |
msgid "Select items from"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: ../inc/class-themeforest-widget.php:163
|
46 |
msgid "Popular Items (WordPress Only)"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: ../inc/class-themeforest-widget.php:164
|
50 |
msgid "Latest Items"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: ../inc/class-themeforest-widget.php:165
|
54 |
msgid "Specific User(s)"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: ../inc/class-themeforest-widget.php:169
|
58 |
msgid "ThemeForest username(s)"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: ../inc/class-themeforest-widget.php:171
|
62 |
msgid "For multiple users, separate by comma: i.e. user1,user2,user3"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: ../inc/class-themeforest-widget.php:176
|
66 |
msgid "Number of items to show"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: ../inc/class-themeforest-widget.php:181
|
70 |
msgid "Order by"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: ../inc/class-themeforest-widget.php:183
|
74 |
msgid "Upload date"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: ../inc/class-themeforest-widget.php:184
|
78 |
msgid "Last update"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: ../inc/class-themeforest-widget.php:185
|
82 |
msgid "Number of sales"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: ../inc/class-themeforest-widget.php:186
|
86 |
msgid "Price"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: ../inc/class-themeforest-widget.php:187
|
90 |
msgid "Random"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: ../inc/class-themeforest-widget.php:192
|
94 |
msgid "Ascending"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: ../inc/class-themeforest-widget.php:193
|
98 |
msgid "Descending"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: ../inc/class-themeforest-widget.php:197
|
102 |
msgid "Exclude item(s)"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: ../inc/class-themeforest-widget.php:199
|
106 |
msgid ""
|
107 |
"Specify item ID to exclude specific item (separate by comma for multiple "
|
108 |
"items): i.e. 8134834,7184572"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: ../inc/class-themeforest-widget.php:203
|
112 |
msgid "Referral user"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: ../inc/class-themeforest-widget.php:205
|
116 |
msgid ""
|
117 |
"Specify username if you want to use items as ThemeForest affiliate links"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: ../inc/class-themeforest-widget.php:209
|
121 |
msgid "More link URL"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: ../inc/class-themeforest-widget.php:211
|
125 |
msgid "Specify URL if you want to show \"more\" link under the items list"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: ../inc/class-themeforest-widget.php:215
|
129 |
msgid "More link text"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: ../inc/class-themeforest-widget.php:220
|
133 |
msgid "Open items in"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: ../inc/class-themeforest-widget.php:222
|
137 |
msgid "New Window"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: ../inc/class-themeforest-widget.php:223
|
141 |
msgid "Same Window"
|
142 |
msgstr ""
|
143 |
+
|
144 |
+
#: ../inc/class-themeforest-widget.php:229
|
145 |
+
msgid "Add rel=\"nofollow\" to item links"
|
146 |
+
msgstr ""
|
languages/meks-themeforest-smart-widget.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: MeksHQ <support@mekshq.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -22,121 +22,125 @@ msgid "Meks ThemeForest Smart Widget"
|
|
22 |
msgstr ""
|
23 |
|
24 |
#: ../inc/class-themeforest-widget.php:46
|
25 |
-
#: ../inc/class-themeforest-widget.php:
|
26 |
msgid "View more"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: ../inc/class-themeforest-widget.php:
|
30 |
msgid "Title"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: ../inc/class-themeforest-widget.php:
|
34 |
msgid "Description"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: ../inc/class-themeforest-widget.php:
|
38 |
msgid "Item categories to show"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: ../inc/class-themeforest-widget.php:
|
42 |
msgid "Select items from"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: ../inc/class-themeforest-widget.php:
|
46 |
msgid "Popular Items (WordPress Only)"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: ../inc/class-themeforest-widget.php:
|
50 |
msgid "Latest Items"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: ../inc/class-themeforest-widget.php:
|
54 |
msgid "Specific User(s)"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: ../inc/class-themeforest-widget.php:
|
58 |
msgid "ThemeForest username(s)"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: ../inc/class-themeforest-widget.php:
|
62 |
msgid "For multiple users, separate by comma: i.e. user1,user2,user3"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: ../inc/class-themeforest-widget.php:
|
66 |
msgid "Number of items to show"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: ../inc/class-themeforest-widget.php:
|
70 |
msgid "Order by"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: ../inc/class-themeforest-widget.php:
|
74 |
msgid "Upload date"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: ../inc/class-themeforest-widget.php:
|
78 |
msgid "Last update"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: ../inc/class-themeforest-widget.php:
|
82 |
msgid "Number of sales"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: ../inc/class-themeforest-widget.php:
|
86 |
msgid "Price"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: ../inc/class-themeforest-widget.php:
|
90 |
msgid "Random"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: ../inc/class-themeforest-widget.php:
|
94 |
msgid "Ascending"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: ../inc/class-themeforest-widget.php:
|
98 |
msgid "Descending"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: ../inc/class-themeforest-widget.php:
|
102 |
msgid "Exclude item(s)"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: ../inc/class-themeforest-widget.php:
|
106 |
msgid ""
|
107 |
"Specify item ID to exclude specific item (separate by comma for multiple "
|
108 |
"items): i.e. 8134834,7184572"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../inc/class-themeforest-widget.php:
|
112 |
msgid "Referral user"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../inc/class-themeforest-widget.php:
|
116 |
msgid ""
|
117 |
"Specify username if you want to use items as ThemeForest affiliate links"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: ../inc/class-themeforest-widget.php:
|
121 |
msgid "More link URL"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: ../inc/class-themeforest-widget.php:
|
125 |
msgid "Specify URL if you want to show \"more\" link under the items list"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: ../inc/class-themeforest-widget.php:
|
129 |
msgid "More link text"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: ../inc/class-themeforest-widget.php:
|
133 |
msgid "Open items in"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: ../inc/class-themeforest-widget.php:
|
137 |
msgid "New Window"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: ../inc/class-themeforest-widget.php:
|
141 |
msgid "Same Window"
|
142 |
msgstr ""
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2016-06-13 11:19+0100\n"
|
5 |
+
"PO-Revision-Date: 2016-06-13 11:19+0100\n"
|
6 |
"Last-Translator: MeksHQ <support@mekshq.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
22 |
msgstr ""
|
23 |
|
24 |
#: ../inc/class-themeforest-widget.php:46
|
25 |
+
#: ../inc/class-themeforest-widget.php:112
|
26 |
msgid "View more"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: ../inc/class-themeforest-widget.php:145
|
30 |
msgid "Title"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: ../inc/class-themeforest-widget.php:150
|
34 |
msgid "Description"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: ../inc/class-themeforest-widget.php:155
|
38 |
msgid "Item categories to show"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: ../inc/class-themeforest-widget.php:162
|
42 |
msgid "Select items from"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: ../inc/class-themeforest-widget.php:163
|
46 |
msgid "Popular Items (WordPress Only)"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: ../inc/class-themeforest-widget.php:164
|
50 |
msgid "Latest Items"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: ../inc/class-themeforest-widget.php:165
|
54 |
msgid "Specific User(s)"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: ../inc/class-themeforest-widget.php:169
|
58 |
msgid "ThemeForest username(s)"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: ../inc/class-themeforest-widget.php:171
|
62 |
msgid "For multiple users, separate by comma: i.e. user1,user2,user3"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: ../inc/class-themeforest-widget.php:176
|
66 |
msgid "Number of items to show"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: ../inc/class-themeforest-widget.php:181
|
70 |
msgid "Order by"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: ../inc/class-themeforest-widget.php:183
|
74 |
msgid "Upload date"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: ../inc/class-themeforest-widget.php:184
|
78 |
msgid "Last update"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: ../inc/class-themeforest-widget.php:185
|
82 |
msgid "Number of sales"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: ../inc/class-themeforest-widget.php:186
|
86 |
msgid "Price"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: ../inc/class-themeforest-widget.php:187
|
90 |
msgid "Random"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: ../inc/class-themeforest-widget.php:192
|
94 |
msgid "Ascending"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: ../inc/class-themeforest-widget.php:193
|
98 |
msgid "Descending"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: ../inc/class-themeforest-widget.php:197
|
102 |
msgid "Exclude item(s)"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: ../inc/class-themeforest-widget.php:199
|
106 |
msgid ""
|
107 |
"Specify item ID to exclude specific item (separate by comma for multiple "
|
108 |
"items): i.e. 8134834,7184572"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: ../inc/class-themeforest-widget.php:203
|
112 |
msgid "Referral user"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: ../inc/class-themeforest-widget.php:205
|
116 |
msgid ""
|
117 |
"Specify username if you want to use items as ThemeForest affiliate links"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: ../inc/class-themeforest-widget.php:209
|
121 |
msgid "More link URL"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: ../inc/class-themeforest-widget.php:211
|
125 |
msgid "Specify URL if you want to show \"more\" link under the items list"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: ../inc/class-themeforest-widget.php:215
|
129 |
msgid "More link text"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: ../inc/class-themeforest-widget.php:220
|
133 |
msgid "Open items in"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: ../inc/class-themeforest-widget.php:222
|
137 |
msgid "New Window"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: ../inc/class-themeforest-widget.php:223
|
141 |
msgid "Same Window"
|
142 |
msgstr ""
|
143 |
+
|
144 |
+
#: ../inc/class-themeforest-widget.php:229
|
145 |
+
msgid "Add rel=\"nofollow\" to item links"
|
146 |
+
msgstr ""
|
meks-themeforest-smart-widget.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Meks ThemeForest Smart Widget
|
4 |
-
Plugin URI:
|
5 |
Description: A simple and powerful WordPress plugin with which you can display ThemeForest items as a WordPress widget. Several smart options are provided for selecting and ordering. You can select ThemeForest latest items, popular items or items from one or more specific users. Optionally, you can connect items with your affiliate links as well.
|
6 |
-
Author:
|
7 |
-
Version: 1.
|
8 |
-
Author URI:
|
9 |
Text Domain: meks-themeforest-smart-widget
|
10 |
Domain Path: /languages
|
11 |
*/
|
@@ -31,7 +31,7 @@ Domain Path: /languages
|
|
31 |
|
32 |
define('MTW_PLUGIN_DIR', trailingslashit(plugin_dir_path(__FILE__)));
|
33 |
define('MTW_PLUGIN_URI', trailingslashit(plugin_dir_url(__FILE__)));
|
34 |
-
define ('MKS_TF_WIDGET_VER', '1.
|
35 |
|
36 |
/* Initialize Widget */
|
37 |
if(!function_exists('mtw_widget_init')):
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Meks ThemeForest Smart Widget
|
4 |
+
Plugin URI: https://mekshq.com
|
5 |
Description: A simple and powerful WordPress plugin with which you can display ThemeForest items as a WordPress widget. Several smart options are provided for selecting and ordering. You can select ThemeForest latest items, popular items or items from one or more specific users. Optionally, you can connect items with your affiliate links as well.
|
6 |
+
Author: Meks
|
7 |
+
Version: 1.2
|
8 |
+
Author URI: https://mekshq.com
|
9 |
Text Domain: meks-themeforest-smart-widget
|
10 |
Domain Path: /languages
|
11 |
*/
|
31 |
|
32 |
define('MTW_PLUGIN_DIR', trailingslashit(plugin_dir_path(__FILE__)));
|
33 |
define('MTW_PLUGIN_URI', trailingslashit(plugin_dir_url(__FILE__)));
|
34 |
+
define ('MKS_TF_WIDGET_VER', '1.2');
|
35 |
|
36 |
/* Initialize Widget */
|
37 |
if(!function_exists('mtw_widget_init')):
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Meks ThemeForest Smart Widget ===
|
2 |
Contributors: mekshq
|
3 |
-
Donate link:
|
4 |
Tags: themeforest, envato, marketplace, widget, affiliate, advertising, ad, ads, sidebar
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
|
@@ -16,7 +16,7 @@ A simple and powerful WordPress plugin with which you can display ThemeForest it
|
|
16 |
|
17 |
If you are a ThemeForest author this widget is perfect for you.
|
18 |
|
19 |
-
|
20 |
|
21 |
* Using Envato official API
|
22 |
* Supports all ThemeForest marketplace categories
|
@@ -27,10 +27,10 @@ If you are a ThemeForest author this widget is perfect for you.
|
|
27 |
* Add your affiliate links to ThemeForest items
|
28 |
* Caching system integrated for better performance
|
29 |
|
30 |
-
ThemeForest Smart Widget plugin is created by
|
31 |
|
32 |
-
|
33 |
-
|
34 |
|
35 |
### Available languages
|
36 |
|
@@ -46,7 +46,7 @@ ThemeForest Smart Widget plugin is created by <a href="http://mekshq.com" target
|
|
46 |
|
47 |
== Frequently Asked Questions ==
|
48 |
|
49 |
-
For any questions, issues and suggestions please visit
|
50 |
|
51 |
== Screenshots ==
|
52 |
|
@@ -55,6 +55,10 @@ For any questions, issues and suggestions please visit http://mekshq.com/contact
|
|
55 |
|
56 |
== Changelog ==
|
57 |
|
|
|
|
|
|
|
|
|
58 |
= 1.1.9 =
|
59 |
* Fixed an incompatibility issue with PHP 7
|
60 |
|
1 |
=== Meks ThemeForest Smart Widget ===
|
2 |
Contributors: mekshq
|
3 |
+
Donate link: https://mekshq.com/
|
4 |
Tags: themeforest, envato, marketplace, widget, affiliate, advertising, ad, ads, sidebar
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.9
|
7 |
+
Stable tag: 1.2
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
|
16 |
|
17 |
If you are a ThemeForest author this widget is perfect for you.
|
18 |
|
19 |
+
== Features ==
|
20 |
|
21 |
* Using Envato official API
|
22 |
* Supports all ThemeForest marketplace categories
|
27 |
* Add your affiliate links to ThemeForest items
|
28 |
* Caching system integrated for better performance
|
29 |
|
30 |
+
ThemeForest Smart Widget plugin is created by [Meks](https://mekshq.com)
|
31 |
|
32 |
+
== Live example? ==
|
33 |
+
You can see ThemeForest Smart Widget live example on our [Voice theme demo website](https://mekshq.com/demo/voice)
|
34 |
|
35 |
### Available languages
|
36 |
|
46 |
|
47 |
== Frequently Asked Questions ==
|
48 |
|
49 |
+
For any questions, issues and suggestions please visit https://mekshq.com/contact
|
50 |
|
51 |
== Screenshots ==
|
52 |
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 1.2 =
|
59 |
+
* Added an option to add rel="nofollow" parameter to items
|
60 |
+
* Added image dimensions to item thubmnails (for better page speed score)
|
61 |
+
|
62 |
= 1.1.9 =
|
63 |
* Fixed an incompatibility issue with PHP 7
|
64 |
|