Theme Redone Versions Save

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.

v1.1.0

1 year ago

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.

Previously deregistered WP core blocks, their CSS and other de-registers, and CSS overwrites have now been removed, and all the WP CORE blocks can now be used by default.

v1.0.2

1 year ago

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

Added the "after_loop" block as well, which can be used to insert the pagination, for example.

Can be used like this for example:

{var $posts_query = new WP_Query(
  array(
    'post_type' => 'post',
    'posts_per_page' => 6,
    'orderby' => 'DESC',
  )
)}

{embed 
  tr_part('_slider'), 
  class: 'slider--test', 
  slides: $posts_query
}
  {block slide_q}
    <div style="box-shadow: 0 0 0 1px blue">
      <h5>{the_title()}</h5>
    </div>
  {/block}

  {block after_loop}
    <div style="padding: 10px; box-shadow: 0 0 0 1px orange;">
      <strong>pagination can be added here</strong>
    </div>
  {/block}
{/embed}

v1.0.1

1 year ago

Improved a11y for the tabs and accordion components

Full Changelog: https://github.com/webredone/theme-redone/compare/v1.0.0...v1.0.1

v1.0.0

1 year ago