v3.0.0
Enhancements:
- Refactored how social feed widgets are generated via the
[ucf-social-feed]shortcode, and how customization options are applied to them.- Customization options for feeds will now be fetched from Curator directly if a Curator API key is set in the plugin's settings.
- Individual widget settings can still be overridden using the new
options_fileshortcode attribute, and settings in the provided JSON file will take precedence over settings fetched from Curator. Theoptions_fileattribute will accept either an attachment ID or a direct URL to a JSON file. See Curator's widget documentation for information on how to structure options. - Added the new
typeattribute to replace what we were using previously on thelayoutattribute (for defining whether the widget should be "Waterfall", "Grid", etc). Thelayoutattribute should now be used for overrides to how widget markup is generated, but we've added some backward compatibility for existing shortcodes that still use thelayoutattribute for this. - 3 new layouts have been added:
scrollbox,scrollbox_sm, andscrollbox_lg, which wrap the generated widget in a scrollabledivat larger screen widths.
- Added the ability to specify a default feed ID, feed type, and widget version in plugin settings. Curator widget CSS/JS is now enqueued based on the widget version specified.
- Added a transient flush button to the plugin settings page, which will flush and re-fetch cached Curator feed customization data from Curator's API.
- Added basic compatibility with the WP Shortcode Interface plugin.
Breaking changes:
- The
grid-rowsandgrid-widthshortcode attributes on[ucf-social-feed]have been removed. You should now apply these overrides within Curator directly or by using the newoptions_fileattribute.