GitPedia
webredone

webredone/theme-redone

Theme Redone is a custom WordPress theme starter/framework with its own Gutenberg blocks solution and a CLI that speeds up the block creation process.

4 Releases
Latest: 3y ago
v.1.1.0 Bug fixes, additions, and min required PHP version changed(PHP ^8.0)v1.1.0Latest
nikola-wdnikola-wd·3y ago·November 26, 2022
GitHub

📋 Minimum required PHP version changed to ^8.0

  • Along with this change. Latte has been upgraded to version: 3.0.3, and Tracy Debugger to version: 2.9.4
  • Fixed bugs caused by PHP version upgrade
  • With PHP v8.0, we now have support for named arguments
  • ___

📦 `tr_get_media()` function, when called synchronously, now prints only the image, without the 2 wrapper divs that are actually needed only for the async call, to prevent the CLS and calculate the space required for the image that would be loaded asynchronously.

  • ___

`TrRepeater` component now has a new feature that enables its nested elements to be represented in a grid in the admin. The same way as the root attributes' fields grid works (the only difference is that when setting up the grid, the property name in the `repeater`'s `field_meta` object is called `fields_grid`, and not `grid` ). (Up until now, only the `repeater_items` could be represented as a grid, but with this update, each 'repeater_item`'s child element can be represented as part of the grid). **Note that this only works for the first-level repeaters**.

  • With this update, the example `repeater-fields-grid` block has been created, and we can see this feature used on the `breadcrumbs` repeater fields of this block.
  • ___
Release v1.0.2 - slider latte component now supports custom WP_Queriesv1.0.2
nikola-wdnikola-wd·3y ago·September 18, 2022
GitHub

Added support for the _slider.latte component to accept an instance of the WP_Query as the alternative to the array.

  • _Note that when using the slider component with the WP_Query, the "slide_q" block is used as opposed to the "slide" block, which is used with regular arrays_
  • Can be used like this for example:
  • ```latte
  • {var $posts_query = new WP_Query(
  • array(
  • 'post_type' => 'post',
  • 'posts_per_page' => 6,
  • 'orderby' => 'DESC',
  • + 19 more
Release v1.0.1v1.0.1
nikola-wdnikola-wd·3y ago·September 2, 2022
GitHub

Improved a11y for the tabs and accordion components **Full Changelog**: https://github.com/webredone/theme-redone/compare/v1.0.0...v1.0.1

Theme Redone | Release 1 (PHP ^7.4)v1.0.0
nikola-wdnikola-wd·3y ago·August 14, 2022
GitHub