Releases: modfin/mfn-wp-plugin
Releases · modfin/mfn-wp-plugin
MFN WP Plugin new features
- Now it is possible to change the post_type slug/name in consts.php which will update it dynamically throughout the plugin
- MFN News Feed Widget: Added new 'preview' feature which allows you to show an excerpt of the news item in the main press releases list
MFN Archive Widget: Added new functionality
- Added a couple of more CSS classes to the report items list for more flexible styling, amongst others: mfn-report-group-id-{groupid} and mfn-report-lang-{lang} to simplify for example exclusion by using CSS
- Added possibility to drop X number of items from start of the list
- Replaced CSS 'hide' for showyear and showdate with instead boolean option
- Adjusted report item grouping - Now items are only grouped in .mfn-report-items when year is present
- Did some minor refactoring
New features and overall fixes
- Added backwards compatibility for determine_locale() function
- MFN Archive Widget: Added limit property to make it possible to decide how many reports to show in the list
- MFN News Feed Widget: Added "group by year" feature
- MFN News Feed Widget: Now the year list is populated depending on the current locale in WP which is more dynamic
- Updated plugin/widget descriptions
- Did some all around code refactoring/cleanup
MFN Archive Widget: Generic titles update
- Adjusted showgenerictitles to use report lang instead
MFN Archive Widget: Option to group by report fiscal year
Major update for the Report archive widget:
Option to group report archive by report fiscal year, instead of publish_date of press release.
- 'usefiscalyearoffset' to enable/disable fiscal year based grouping.
- 'fiscalyearoffset' should be set to "0" if its fiscal year starts in January (most companies) or for example set to "4" if its fiscal year starts in May (January + 4 months = May)
- Add 'showgenerictitle' option to use the report type to create a generic title, instead of using the press release title.
- Extra: And a 'showthumbnail' that uses the MFN storage proxy to display PDF thumbnails.
Additional fixes:
- Fixed a translation error
- Added div container surrounding the approve checkbox to enable more flexible styling
Date format language update and actions added
-
MFN News Feed - Updated date format to automatically translate to the current WP-language
-
Also added actions (do_action): mfn_before_upsertitem, mfn_after_upsertitem, mfn_before_posthook, mfn_after_posthook to make it possible to add own action callbacks to run at these events
Report archive widget: DB backwards compatibility fix
-
Updated/optimized query and code for retrieving reports to the archive for MySQL DB backwards compatibility
-
Updated sorting functionality further for the report archive widget
Hotfix: Fixed tag translation issue
- Fixed issue with wrongly mapped translation for 'English' tag
Hotfix: MFN news feed widget
- Fixed issue with non closing div(s) causing problems when adding news list to columns
Hotfixes: MFN news feed widget
- Fixed issue with link not working for news item when WP site URL is in a subfolder.
- Also updated two FI translations