5.4.3 Released

  • Improvement: Added new option “auto” for “progress” argument [wlt-calories progress=”auto”] shortcode. It will display the calories for the aim specified by the user e.g. if they select Lose Weight it will show the calories required to lose.
  • Improvement: Added new option “auto” for “progress” argument wlt-macronutrients progress=”auto”] shortcode. It will display the relevant macroN for the aim specified by the user e.g. if they select Lose Weight it will show the calories required to lose.

5.4 Released – Support for Gravity Forms!

  • Improvement: Added support for Gravity Forms – read more: https://weight.yeken.uk/gravity-forms/
  • Improvement: Added filter to modify allowed wlt-if fields (wlt-filter-if-allowed-fields)
  • Improvement: Added filter to allow new wlt-if conditions to be added (wlt-filter-if-condition-[field name])
  • Bug fix: Ensured object is countable before trying to count() it.
  • Security fix: Added rel=”noopener noreferrer” to all links that open in a new window ( i.e. target=”_blank” )

5.3 Released

  • Improvement: Added filter to allow Activity Levels to be overridden (wlt-filter-activity-levels)
  • Improvement: Added filter to allow Aims to be overridden (wlt-filter-aims)
  • Improvement: Added filter to allow BMR calculation to be overridden (wlt-filter-bmr-calculation)
  • Improvement: Added filter to allow Macro calculation per meal to be overridden (wlt-filter-macros-[key])
  • Improvement: Added filter to allow Macro calculations per total to be overridden (wlt-filter-macros-[key]-total)
  • Improvement: Added filter to allow all Macro calculations to be overridden (wlt-filter-macros)
  • Improvement: Added filter to display an additional field below gender on user preferences form (wlt-filter-user-settings-below-gender)
  • Improvement: Added filter to change a user’s setting (‘wlt-filter-user-setting-[key])
  • Improvement: Added filter to allow calories to be overridden (wlt-filter-calories-lose)
  • Improvement: Added filter to allow calories to maintain weight to be overridden (wlt-filter-calories-maintain)
  • Improvement: Added filter to allow calories to lose weight to be overridden (wlt-filter-calories-lose)
  • Improvement: Added filter to allow table rows to be filtered in Harris Benedict tables (wlt-filter-harris-benedict-rows)
  • Improvement: Added filter to allow default macros to be specified and override WLT plugin. (wlt-filter-macros-custom)
  • Improvement: Added filter to allow specify what types of calories should be converted into macros. wlt-filter-macros-calculate)
  • Improvement: Added filter to allow specify what types of macros should be displayed. wlt-filter-macros-display)

5.2.12 Released

  • Improvement: Refactored User preferences code so it can be extended.
  • Improvement: Added new filters “wlt-filter-admin-user-sidebar-top”, “wlt-filter-admin-user-sidebar-middle” and “wlt-filter-admin-user-sidebar-bottom” to allow developers to add HTML to user sidebar in “Manage Data”.
  • Improvement: Added new filter “wlt-filter-js-ws-ls-config” to allow developers to filter JS config.
  • Improvement: Added new filter “wlt-filter-user-settings-below-aim” to allow developers to add to the User settings page.
  • Improvement: Added the filters ‘wlt-filter-user-settings-db-formats’ and ‘wlt-filter-user-settings-save-fields’ to allow a developer to save other user preference fields.
  • Bug fix: Stopped [wlt-calories] and [wlt-macronutrients] throwing an error when the user was logged out. Thanks @MARKONEX
  • Big fix: Fixed a bug where “Your modifications have been saved” message was always being shown on [wlt-table] shortcode.
  • Database schema changes for future releases.

5.2.8 Released

  • Improvement: Added a new “About You” field called “Aim”. This allows the user (or Admin) to specify their aim e.g. maintain, gain, or lose weight.
  • Improvement: Expanded [wlt-if] to include a new field of “aim”. Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Calorie caps can now be disabled by setting them to 0.
  • Improvement: jQuery validation added to prompt the user to upload a smaller image if above file size limit.
  • Improvement: New setting to limit the file size of images being uploaded.
  • Improvement: Added check to ensure [wlt] shortcode is only placed once on a page or post.
  • Improvement: An email is set to the Admin email address when the license expires.
  • Improvement: License expire notifications are now sent to YeKen.
  • Improvement: New hook “wlt-hook-license-expired” is fired when a license expires.
  • Improvement: Removed setting “Advanced data tables?”. This has been moved onto the shortcode themselves. See [wlt] argument “disable-advanced-tables”. Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Removed setting “Display in tabs?”. This has been moved onto the shortcode themselves. See [wlt] argument “disable-tabs”. Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Merged and tidied up “User Experience” and “General” setting tabs.
  • Improvement: Updated Chart.js to 2.7.0. Read more: https://github.com/chartjs/Chart.js/releases/tag/v2.7.0
  • Bug fix: Ensured the string “photo” can be translated on [wlt] shortcode.
  • Bug fix: Fixed issue where the width of chart lines was being effected by the chart “width” attribute.
  • Removed “width” argument from [wlt-chart]. The attribute wasn’t used.
  • Notifications from YeKen are on by default and disabled when
  • Updated Languages.