WordPress Posts + Category Widget

WordPress Posts + Category Widget 1.1.2

No permission to download
Best practice: Add width/height attribute to post images, especially helps with page scrolling
  1. Performance: adds lazy loading attribute
  2. SEO: adds alt text to image you set from WP media library, otherwise falls back to the post title
Version 1.1 adds some much-needed cleanup and new quality of life features to the WP Posts Widget.



New widget options
  1. Image size option: You can now choose the image size instead of just being restricted to the thumbnail. New sizes: Thumbnail, Medium Large, Large, Full. Medium is still the default, so no visual changes after upgrade
  2. Hide images: Maybe you just want a compact list of posts, you can now remove the image from the same select box
  3. Refresh interval: Instead of checking for new posts on every page load a cache has now been added to the widget. The default is to check every 5 minutes, and you can adjust it from the widget settings (set 0 for no cache).
Improvements
  1. More accurately escapes and cleans up text as received from your blog (security enhancement)
  2. Only the minimal amount of fields needed are saved to cache, not full posts
  3. Fix widget settings admin form inconsistencies when 0 is entered
  4. Added minimum requirements and license to addon

Upgrading from 1.0.0​

Install over the existing addon. No action is needed. Existing widgets keep their settings and work as before. Review the new Image size and Refresh interval fields if you want to change the defaults.
Fixes hashes.json in addon zip file to remove modified files warning.
Back
Top Bottom