Releases: justcoded/wordpress-theme-framework
JustPostPreview plugin support bug fixes
Plugin template hierarchy hook fixed to load templates from "views" directory
Ajax Load More feature
Now you can use Load More ajax buttons from the box.
Usage:
- add "new JustLoadMore();" inside Theme::support_plugins() method
- use "cpt_next_posts_link()" helper function to print Load more link. You should use 3rd parameter as 'data-selector="" data-container=""'
Where:
- selector: css-style selector (by class/id) of container with ajax loaded content (Example: ".items")
- container (optional): css-style selector (by class/id) of the container to insert new html to (Example: "#content")
Hotfix: PageBuilderWidget fatal error fix
Merge pull request #3 from justcoded/develop Hotfix: PageBuilderWidget raise fatal error when Site Origin Widgets Bundle is off
Page Builder design options hotfixes
Page Builder v2.5 moved all styles from Design options into separate css block. We removed this css block to disable page builder styles, so now we need to generate new inline styles for these options.
This were fixed in this release.
Furthermore, rwd attachment background function were added into support, when printing the row/widget background.
Register widgets hook
Updated hook which call register_widgets method. Now it's widgets_init.
Page Builder v2.5+ support
- Refactor: Update Page Builder classes to work with new Site Origin Page Builder 2.5+
- New: Added version folder prefix for Page Builder to be able to have different patches inside in future.
- New: Page Builder Row/Widget layouts changed structure to container - style container (instead of wrapper - container) to match origin Page Builder logic
- New: Base class for quick widgets creating based on Site Origin Widgets Bundle pack
- New: Autoptimize class has new exceptions for Wordfence plugin by default.
SVG uploads
By default WordPress blocks SVG uploads. This patch enables SVG uploads and also adds control to add more mime types to allowed mime types.
Wordpress Coding standards
Code updated* to match the latest wordpress coding standards checks (WPCS 0.11 with PHP code sniffer 2.8.1).
- updated where possible. we're checking according to our own patches ruleset.
Autoptimize support class patches
= Version 1.1.1 =
* Improvements: Support of Autoptimize plugin improved, added more hooks. Set to move jquery.js, CF7 scripts first, just before optimized cached file.