Ultimate Posts Widget - Version 2.1.4

Version Description

  • Plugin has been updated up to WordPress 5.4
Download this release

Release Info

Developer upwsupport
Plugin Icon wp plugin Ultimate Posts Widget
Version 2.1.4
Comparing to
See all releases

Code changes from version 2.1.3 to 2.1.4

.gitignore CHANGED
@@ -2,3 +2,5 @@
2
  node_modules
3
  .sass-cache
4
  *.tmp
 
 
2
  node_modules
3
  .sass-cache
4
  *.tmp
5
+ package-lock.json
6
+ .DS_Store
LICENSE.md DELETED
@@ -1,7 +0,0 @@
1
- Copyright (c) Boston Dell-Vandenberg
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,10 +1,24 @@
1
- # Ultimate Posts Widget
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  The ultimate widget for displaying posts, custom post types or sticky posts with an array of options to customize the display.
4
 
5
  Designed for both the average user and developer, Ultimate Posts Widgets aims to provide flexibility and ease of use for displaying any kinds of posts within your widget areas. An array of widget options are available as well as hooks, filters and custom templates for more advanced customization.
6
 
7
- ## Options
8
 
9
  * Filter by categories
10
  * Filter by current category
@@ -28,21 +42,21 @@ Designed for both the average user and developer, Ultimate Posts Widgets aims to
28
  * Add widget title link
29
  * Change excerpt length (in words)
30
  * Order by date, title, number of comments, random or a custom field
 
 
 
31
 
32
- ## More Information
33
 
34
- * For help use [wordpress.org](http://wordpress.org/support/plugin/ultimate-posts-widget/)
35
- * Fork or contribute on [Github](https://github.com/bostondv/ultimate-posts-widget/)
36
- * Follow me on [Twitter](http://twitter.com/bostondv/)
37
- * View my other [WordPress Plugins](http://profiles.wordpress.org/bostondv/)
38
 
39
- ## Support
40
 
41
- Enjoy this plugin? [Send a tip to support development](http://bostondv.com/tips/).
42
 
43
- ## Frequently Asked Questions
44
 
45
- #### Filters
46
 
47
  **upw_enqueue_styles** *(boolean)*
48
  Allows changing whether to load the template CSS file(s).
@@ -53,7 +67,7 @@ Allows changing the WP_Query arguments for the widget.
53
  **upw_custom_template_path** *(string)*
54
  Allows changing the default custom template path.
55
 
56
- #### Templates
57
 
58
  **legacy**
59
  As of version 2.0.0 we changed the widget HTML markup. For installs prior to 2.0.0 you can use the legacy template to retain the old HTML markup and compatibility.
@@ -66,7 +80,7 @@ As of version 2.0.0 you can now provide your own custom template files. To do th
66
 
67
  Then, in the widget settings under the *Display* tab, choose *Custom* from the *Template* drop down. In the *Custom Template Name* field that appears and enter the file name of your template (excluding .php). For example, if your template is named `custom.php` then enter `custom` in the *Custom Template Name* field.
68
 
69
- #### Images sizes
70
 
71
  *As of version 2.0.0, the plugin no longer supports setting custom image sizes from the widget options panel.*
72
 
@@ -80,7 +94,7 @@ Example:
80
 
81
  `<?php add_image_size( 'my-custom-size', 800, 600, false ); ?>`
82
 
83
- #### Thumbnail images are not displaying
84
 
85
  *As of version 2.0.0 timthumb is no longer used.*
86
 
@@ -96,7 +110,7 @@ This plugin uses the [timthumb library](http://www.binarymoon.co.uk/projects/tim
96
 
97
  **Still stuck?** See [additional troubleshooting tips](http://www.binarymoon.co.uk/2010/11/timthumb-hints-tips/) from the timthumb author.
98
 
99
- ## Screenshots
100
 
101
  1. Example with TwentyTwelve theme with the default widget options
102
  2. General options tab
@@ -104,22 +118,49 @@ This plugin uses the [timthumb library](http://www.binarymoon.co.uk/projects/tim
104
  4. Filter options tab
105
  5. Order options tab
106
 
107
- ## Changelog
 
 
 
 
 
 
 
 
 
108
 
109
- ### 2.0.7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  * Tested update WordPress 4.8
111
 
112
- ### 2.0.6
113
  * Fix PHP notice (thanks @rhyswynne)
114
  * Search custom template both in child theme and in parent (thanks @groucho75)
115
 
116
- ### 2.0.5
117
  * Adds menu order sort by option
118
 
119
- ### 2.0.4
120
  * Updated class constructor for WordPress 4.3 compatibility (thanks @JustB)
121
 
122
- ### 2.0.3
123
  * Adds link to thumbnail images
124
  * Adds option to show all categories, tags, or types for better usability
125
  * Improve spacing and font sizes on some themes for the standard template
@@ -127,17 +168,17 @@ This plugin uses the [timthumb library](http://www.binarymoon.co.uk/projects/tim
127
  * Add option to display full size post thumbnail
128
  * Remove post_class() from legacy template for better backwards compatibility
129
 
130
- ### 2.0.2
131
  * Reverts back to using `widget_title` filter
132
  * Fixes number of posts setting to allow unlimited amounts
133
  * Adds instance and widget ID variables to filters for more control
134
 
135
- ### 2.0.1
136
  * Fixes issue loading multiple widgets on the same page and using the same template
137
  * Adds a default title to the widget for new instances
138
  * Documentation improvements
139
 
140
- ### 2.0.0
141
 
142
  * Added a new standard template and custom template support
143
  * Added basic CSS styles for better formatting
@@ -160,30 +201,30 @@ This plugin uses the [timthumb library](http://www.binarymoon.co.uk/projects/tim
160
  * If you used custom thumbnail settings you will need to update them. You can now choose from pre-defined sizes available to WordPress. If you need an additional image size please see [how to add image sizes](http://codex.wordpress.org/Function_Reference/add_image_size).
161
  * Date formatting has changed, you will need to update your settings. By default it uses WordPress' date/time options.
162
 
163
- ### 1.9.0
164
 
165
  * Adds option to order by custom field (thanks @enekochan)
166
  * Remove "Permalink to:" from link titles (thanks @wirelessgizmo)
167
  * Swedish translation (thanks @brstp)
168
 
169
- ### 1.8.1
170
 
171
  * Add content display option
172
 
173
- ### 1.8
174
 
175
  * Add custom field display
176
  * Re-organized widget options
177
  * Use proper alt tag for image thumbnails
178
  * Better title attribute for links
179
 
180
- ### 1.7
181
 
182
  * Added show author option
183
  * Added class to highlight current post
184
  * Fixed PHP error notices
185
 
186
- ### 1.6
187
 
188
  * Added localization support
189
  * Added show post categories option
@@ -192,65 +233,61 @@ This plugin uses the [timthumb library](http://www.binarymoon.co.uk/projects/tim
192
  * Improved filter controls for sticky posts
193
  * Bug fixes
194
 
195
- ###1.5.1
196
 
197
  * Upgrade timthumb to 2.8.11
198
  * Load "Large" size post thumbnails which should eliminate large image errors
199
  * Improved FAQ for thumbnail troubleshooting
200
 
201
- ### 1.5
202
 
203
  * Adds crop mode option
204
  * Add show published time option
205
  * Now uses date / time format settings
206
  * Bug fixes
207
 
208
- ### 1.4.5
209
 
210
  * Updates screenshot
211
 
212
- ### 1.4.4
213
 
214
  * Fixes show_readmore function
215
  * Adds more button link option
216
 
217
- ### 1.4
218
 
219
  * Cleaner widget options
220
  * Code refactoring and fixes
221
  * Adds order by option
222
 
223
- ### 1.3
224
 
225
  * Sticky posts only now optional
226
 
227
- ### 1.2
228
 
229
  * Added post type filter option.
230
  * Code cleanup.
231
  * Better selection mechanism for categories.
232
 
233
- ### 1.1
234
 
235
  * Added category filter option.
236
 
237
- ### 1.0
238
 
239
  * First release.
240
 
241
- ## Upgrade Notice
242
 
243
- ### 2.0.0
244
 
245
  This is a major update and includes some breaking changes. New templates have been introduced, a few fields have changed, and thumbnails have been modified. See the changelog for details.
246
 
247
- ## Installation
248
 
249
  1. Download and extract the zip archive
250
  2. Upload `ultimate-posts-widget` folder to `/wp-content/plugins/`
251
  3. Activate the plugin through the 'Plugins' menu in WordPress
252
  4. Add the widget to a sidebar and configure the options as desired
253
-
254
- ## About
255
-
256
- Made with <3 by [Boston Dell-Vandenberg](http://bostondv.com).
1
+ === Ultimate Posts Widget ===
2
+ Contributors: cl272
3
+ Donate link: https://sellcodes.com/5U4SICyc
4
+ License: MIT
5
+ License URI: http://opensource.org/licenses/MIT
6
+ Tags: widget, recent posts, custom post types, sticky posts, featured image, post thumbnail, excerpts, category, custom fields, list pages, widget query, microformats, customizable widget, categories widget, tags widget, excerpt, widget templates, post author, post date, custom query, ultimate posts, comments, orderby, comment count
7
+ Requires at least: 3.5
8
+ Tested up to: 5.4
9
+ Stable tag: 2.1.4
10
+
11
+ The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
12
+
13
+ == Description ==
14
+
15
+ UPDATE: Plugin ownership changed for this plugin. We are currently evaluating possible enhancements for it. Stay tuned! If you have any suggestions yourself, please let us know in the Support Forum.
16
 
17
  The ultimate widget for displaying posts, custom post types or sticky posts with an array of options to customize the display.
18
 
19
  Designed for both the average user and developer, Ultimate Posts Widgets aims to provide flexibility and ease of use for displaying any kinds of posts within your widget areas. An array of widget options are available as well as hooks, filters and custom templates for more advanced customization.
20
 
21
+ = Options =
22
 
23
  * Filter by categories
24
  * Filter by current category
42
  * Add widget title link
43
  * Change excerpt length (in words)
44
  * Order by date, title, number of comments, random or a custom field
45
+ * Exclude current post from the list
46
+
47
+ = Documentation =
48
 
49
+ See the [FAQ tab](https://wordpress.org/plugins/ultimate-posts-widget/faq/) for documentation on custom templates, hooks, common issues, and more.
50
 
51
+ = Support =
 
 
 
52
 
53
+ For help please ask in the [Support Forum](http://wordpress.org/support/plugin/ultimate-posts-widget/)
54
 
55
+ Enjoy this plugin? [Send a tip to support development](https://sellcodes.com/5U4SICyc).
56
 
57
+ == Frequently Asked Questions ==
58
 
59
+ = Filters =
60
 
61
  **upw_enqueue_styles** *(boolean)*
62
  Allows changing whether to load the template CSS file(s).
67
  **upw_custom_template_path** *(string)*
68
  Allows changing the default custom template path.
69
 
70
+ = Templates =
71
 
72
  **legacy**
73
  As of version 2.0.0 we changed the widget HTML markup. For installs prior to 2.0.0 you can use the legacy template to retain the old HTML markup and compatibility.
80
 
81
  Then, in the widget settings under the *Display* tab, choose *Custom* from the *Template* drop down. In the *Custom Template Name* field that appears and enter the file name of your template (excluding .php). For example, if your template is named `custom.php` then enter `custom` in the *Custom Template Name* field.
82
 
83
+ = Images sizes =
84
 
85
  *As of version 2.0.0, the plugin no longer supports setting custom image sizes from the widget options panel.*
86
 
94
 
95
  `<?php add_image_size( 'my-custom-size', 800, 600, false ); ?>`
96
 
97
+ = Thumbnail images are not displaying =
98
 
99
  *As of version 2.0.0 timthumb is no longer used.*
100
 
110
 
111
  **Still stuck?** See [additional troubleshooting tips](http://www.binarymoon.co.uk/2010/11/timthumb-hints-tips/) from the timthumb author.
112
 
113
+ == Screenshots ==
114
 
115
  1. Example with TwentyTwelve theme with the default widget options
116
  2. General options tab
118
  4. Filter options tab
119
  5. Order options tab
120
 
121
+ == Changelog ==
122
+
123
+ = 2.1.4 =
124
+ * Plugin has been updated up to WordPress 5.4
125
+
126
+ = 2.1.3 =
127
+ * Hotfixed issue
128
+
129
+ = 2.1.2 =
130
+ * Serval improvements
131
 
132
+ = 2.1.1 =
133
+ * Added possibility to exclude current post from the list
134
+ * Tested update WordPress 5.3.3 (beta)+
135
+
136
+ = 2.1.0 =
137
+ * Added possibility for changing custom message when no posts.
138
+ * Increased stability of the plugin
139
+ * Fixed filtering
140
+ * Tested update WordPress 5.3.2+
141
+
142
+ = 2.0.9 =
143
+ * Replaced deprecated code
144
+
145
+ = 2.0.8 =
146
+ * Plugin revival
147
+ * Feedback system integrated
148
+ * Readme updated
149
+
150
+ = 2.0.7 =
151
  * Tested update WordPress 4.8
152
 
153
+ = 2.0.6 =
154
  * Fix PHP notice (thanks @rhyswynne)
155
  * Search custom template both in child theme and in parent (thanks @groucho75)
156
 
157
+ = 2.0.5 =
158
  * Adds menu order sort by option
159
 
160
+ = 2.0.4 =
161
  * Updated class constructor for WordPress 4.3 compatibility (thanks @JustB)
162
 
163
+ = 2.0.3 =
164
  * Adds link to thumbnail images
165
  * Adds option to show all categories, tags, or types for better usability
166
  * Improve spacing and font sizes on some themes for the standard template
168
  * Add option to display full size post thumbnail
169
  * Remove post_class() from legacy template for better backwards compatibility
170
 
171
+ = 2.0.2 =
172
  * Reverts back to using `widget_title` filter
173
  * Fixes number of posts setting to allow unlimited amounts
174
  * Adds instance and widget ID variables to filters for more control
175
 
176
+ = 2.0.1 =
177
  * Fixes issue loading multiple widgets on the same page and using the same template
178
  * Adds a default title to the widget for new instances
179
  * Documentation improvements
180
 
181
+ = 2.0.0 =
182
 
183
  * Added a new standard template and custom template support
184
  * Added basic CSS styles for better formatting
201
  * If you used custom thumbnail settings you will need to update them. You can now choose from pre-defined sizes available to WordPress. If you need an additional image size please see [how to add image sizes](http://codex.wordpress.org/Function_Reference/add_image_size).
202
  * Date formatting has changed, you will need to update your settings. By default it uses WordPress' date/time options.
203
 
204
+ = 1.9.0 =
205
 
206
  * Adds option to order by custom field (thanks @enekochan)
207
  * Remove "Permalink to:" from link titles (thanks @wirelessgizmo)
208
  * Swedish translation (thanks @brstp)
209
 
210
+ = 1.8.1 =
211
 
212
  * Add content display option
213
 
214
+ = 1.8 =
215
 
216
  * Add custom field display
217
  * Re-organized widget options
218
  * Use proper alt tag for image thumbnails
219
  * Better title attribute for links
220
 
221
+ = 1.7 =
222
 
223
  * Added show author option
224
  * Added class to highlight current post
225
  * Fixed PHP error notices
226
 
227
+ = 1.6 =
228
 
229
  * Added localization support
230
  * Added show post categories option
233
  * Improved filter controls for sticky posts
234
  * Bug fixes
235
 
236
+ = 1.5.1 =
237
 
238
  * Upgrade timthumb to 2.8.11
239
  * Load "Large" size post thumbnails which should eliminate large image errors
240
  * Improved FAQ for thumbnail troubleshooting
241
 
242
+ = 1.5 =
243
 
244
  * Adds crop mode option
245
  * Add show published time option
246
  * Now uses date / time format settings
247
  * Bug fixes
248
 
249
+ = 1.4.5 =
250
 
251
  * Updates screenshot
252
 
253
+ = 1.4.4 =
254
 
255
  * Fixes show_readmore function
256
  * Adds more button link option
257
 
258
+ = 1.4 =
259
 
260
  * Cleaner widget options
261
  * Code refactoring and fixes
262
  * Adds order by option
263
 
264
+ = 1.3 =
265
 
266
  * Sticky posts only now optional
267
 
268
+ = 1.2 =
269
 
270
  * Added post type filter option.
271
  * Code cleanup.
272
  * Better selection mechanism for categories.
273
 
274
+ = 1.1 =
275
 
276
  * Added category filter option.
277
 
278
+ = 1.0 =
279
 
280
  * First release.
281
 
282
+ == Upgrade Notice ==
283
 
284
+ = 2.0.0 =
285
 
286
  This is a major update and includes some breaking changes. New templates have been introduced, a few fields have changed, and thumbnails have been modified. See the changelog for details.
287
 
288
+ == Installation ==
289
 
290
  1. Download and extract the zip archive
291
  2. Upload `ultimate-posts-widget` folder to `/wp-content/plugins/`
292
  3. Activate the plugin through the 'Plugins' menu in WordPress
293
  4. Add the widget to a sidebar and configure the options as desired
 
 
 
 
css/upw-admin.min.css CHANGED
File without changes
css/upw-theme-standard.min.css CHANGED
File without changes
js/upw-admin.min.js CHANGED
File without changes
readme.txt CHANGED
@@ -5,8 +5,8 @@ License: MIT
5
  License URI: http://opensource.org/licenses/MIT
6
  Tags: widget, recent posts, custom post types, sticky posts, featured image, post thumbnail, excerpts, category, custom fields, list pages, widget query, microformats, customizable widget, categories widget, tags widget, excerpt, widget templates, post author, post date, custom query, ultimate posts, comments, orderby, comment count
7
  Requires at least: 3.5
8
- Tested up to: 5.3
9
- Stable tag: 2.1.3
10
 
11
  The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
12
 
@@ -120,8 +120,14 @@ This plugin uses the [timthumb library](http://www.binarymoon.co.uk/projects/tim
120
 
121
  == Changelog ==
122
 
 
 
 
123
  = 2.1.3 =
124
- * Roll back
 
 
 
125
 
126
  = 2.1.1 =
127
  * Added possibility to exclude current post from the list
5
  License URI: http://opensource.org/licenses/MIT
6
  Tags: widget, recent posts, custom post types, sticky posts, featured image, post thumbnail, excerpts, category, custom fields, list pages, widget query, microformats, customizable widget, categories widget, tags widget, excerpt, widget templates, post author, post date, custom query, ultimate posts, comments, orderby, comment count
7
  Requires at least: 3.5
8
+ Tested up to: 5.4
9
+ Stable tag: 2.1.4
10
 
11
  The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
12
 
120
 
121
  == Changelog ==
122
 
123
+ = 2.1.4 =
124
+ * Plugin has been updated up to WordPress 5.4
125
+
126
  = 2.1.3 =
127
+ * Hotfixed issue
128
+
129
+ = 2.1.2 =
130
+ * Serval improvements
131
 
132
  = 2.1.1 =
133
  * Added possibility to exclude current post from the list
ultimate-posts-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ultimate Posts Widget
4
  Plugin URI: http://wordpress.org/plugins/ultimate-posts-widget/
5
  Description: The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
6
- Version: 2.1.3
7
  Author: Clever Widgets
8
  Author URI: https://themecheck.info
9
  Text Domain: upw
@@ -19,7 +19,7 @@ analyst_init(array(
19
  ));
20
 
21
 
22
- if ( !class_exists( 'WP_Widget_Ultimate_Posts' ) ) {
23
 
24
  class WP_Widget_Ultimate_Posts extends WP_Widget {
25
 
3
  Plugin Name: Ultimate Posts Widget
4
  Plugin URI: http://wordpress.org/plugins/ultimate-posts-widget/
5
  Description: The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
6
+ Version: 2.1.4
7
  Author: Clever Widgets
8
  Author URI: https://themecheck.info
9
  Text Domain: upw
19
  ));
20
 
21
 
22
+ if (!class_exists('WP_Widget_Ultimate_Posts')) {
23
 
24
  class WP_Widget_Ultimate_Posts extends WP_Widget {
25