Changelog

= 1.4.2 =

  • Fix – an issue with shortcodes not working in our text block
  • Fix – template editor – an issue where clearing a color setting (to make it unset / transparent) was causing defaults to be loaded instead
  • Fix – a PHP warning on activation
  • New – support for WPML + Advanced Translation Editor

= 1.4.1 =

  • Fix – Templates – add alt text to featured images
  • New – Templates – comment count element
  • New – Templates – excerpt options – limit the manual excerpt length and hide the “read more” text
  • New – Templates + Layouts admin pages – integration with editor styles (for themes that support it) – only available with the latest Gutenberg plugin v10.6 (coming soon in WP core)

= 1.4.0 =

  • Fix – Layouts – ensure layouts are not affected by global pagination when pagination is set to “none”
  • Fix – Templates – default settings had some spacing issues
  • Fix – Templates – an issue where the “image source” option was not displaying if the post didn’t have a featured image
  • Fix – Templates – save the last preview content source when saving the template editor via the admin page
  • Fix – Templates – link block – when a background had a gradient set it wasn’t applied to the hover / focus styles
  • Fix – Templates – Taxonomy block – a php warning when no taxonomy was selected
  • Improvement – added a specific class to the results when used with Search & Filter to allow for multiple search forms + results on a page
  • Improvement – modals are now larger and more responsive
  • New – Modal feature – sync preview width – modals editors now inherit the width of the layout they were launched from (for better previews)
  • New – Layouts – access saved layouts directly via the layout block – edit and create new layouts via the layout editor modal or use the block inspector.
  • New – Layouts – add template information to posts edit screen
  • New – Templates – added line height to the Typography panel
  • New – Templates – added new shortcode for displaying an individual post template with a single post (matches behaviour of the post template block)
  • Upgrade notice – we have changed the name of our layout shortcode – it is now – your previous shortcodes will continue to work for some time.

= 1.3.1 =

  • Fix – layout issue with excerpt display (when the excerpt automatically adds the read more link)
  • Fix – an issue with transients not being used correctly when there are multiple layouts on the same page
  • Fix – an issue with tax_query not being set properly
  • Fix – an issue with pagination not working correctly on the front page
  • Fix – issues with before/after text in the custom field element
  • Fix – an issue with the gradient sample template css
  • Improvement – increase template editor max preview width to 1000px
  • New – support html as a custom field type
  • New – offset query paramater (works with pagination)
  • New – post type element

= 1.3.0 =

  • Release notes – https://codeamp.com/update-custom-layouts-1-3-0/
  • Fix – some query issues when taxonomy query was disabled (but the settings were still being applied)
  • Fix – some instances where our assets were not being supplied the correct version number, and consequently remained cached after an update
  • Fix – author gravatar was not scaling with font size
  • Fix – various issues to do with popovers and tooltip alignment
  • Fix – regenerate CSS feature was not fully regenerating the CSS
  • Fix – by default, select display name in author element rather than full name (full name can be empty)
  • Fix – actions were not firing (filters were ok) – we were mixing back slash and forward – now all filters + actions use forward slashes only
  • Update – required WP version to 5.7
  • Update – sample templates – addition of taxonomies + new spacing controls
  • Update – admin icons for some template elements
  • New – Filters + actions for frontend elements
  • New – change container size of a block to be full width or wrap to content (new toolbar button)
  • New – “fill last row” layout option – you can now stretch the last row of a grid if results do not fill all of the columns
  • New – Custom Field element – display the value of a custom field in your templates as a string (restrict by words/characters) or formatted number (with decimals), or a formatted date (custom formatting options)
  • New – Taxonomies element – list any combination of taxonomy terms in your templates
  • New – allow unit types for margins, padding and border radius – upgrade components to use BoxControl

= 1.2.1 =

  • Fix – an issue when using the query restrictions the first time (in a new layout)
  • Fix – an issue with the S&F integration and Polylang
  • Fix – issues with custom classes on the layout block and layout shortcode
  • Fix – issues with the font size selector
  • Fix – a layout glitch when dragging the first element into a template
  • Fix – prevent saving of a new template via modal, until a title has been set
  • Improvement – when creating a new template via the modal, auto select it in the layout after saving
  • New – no results message – add your own message to display when the query settings return no results

= 1.2.0 =

  • Improvement – Change the label of the “Custom Layout” block to “Posts Layout”
  • New – “Post Template” Block – Drop into an FSE Query block or use the post selector to display any post with any template
  • New – Query options for Layouts – select multiple post types and restrict by tag/category/taxonomy

= 1.1.7 =

  • Fix – a JS error when launching the template editor modal
  • New – the template editor modal now uses the query from the layout to display the set of posts for previews
  • New – responsive columns – choose how many columns to show for Mobile, Tablet and Desktop
  • New – settings page to set responsive breakpoints + regenerate CSS

= 1.1.6 =

  • Fix – missing files from bad commit

= 1.1.5 =

  • Fix – issue with the order paramters on the frontend
  • Fix – issue with the sticky post paramater on the frontend
  • Fix – issue with block align not working on the frontend
  • Fix – add loaders/placeholders to layout block + admin page
  • Fix – an issue with CSS not loading due to a https bug in wp_uploads_url()

= 1.1.4 =

  • New – Add visual editing to the layout admin page

= 1.1.3 =

  • Fix – an issue with Post Title not being displayed correctly

= 1.1.2 =

  • Fix – an issue with CSS generation
  • Fix – Rename “Custom Layouts” block to “Custom Layout”
  • New – Show a default image icon when no image is present + allow color to be changed

= 1.1.1 =

  • Fix – Enable link on featured image was not working
  • Fix – Modal template title not showing up correctly
  • Fix – Grid spacing not working
  • Fix – Border color not being set properly
  • Fix – Update CSS file when templates are drafted / trashed / deleted
  • Improvement – store queried IDs in transients (they will get complex eventually)
  • Improvement – update icon (still room for improvement)
  • Improvement – Theme colours + gradients now available in template editor admin page with WP 5.7 or Gutenberg 9.7+
  • Improvement – Update all frontend class names to use BEM naming conventions for predictable and reliable naming (we do increase the specificity, though)
  • New – Gradient picker for background colors
  • New – Alpha transparency for all color pickers
  • New – Create new templates directly from the layout block
  • New – Equal height rows (when not using masonry)
  • New – Featured Image options – set image size, ratio and fit mode
  • New – Add support for layout block alignment (supports wide and full width)
  • New – Demo templates

= 1.1.0 =

  • New – Gutenberg Integration – New block + modal editor
  • Layout Block – build layouts using the new layout block
  • Modal Template Editor – get the full template editor as a modal from within the layout block
  • Fix – update version number whenever templates are saved to prevent caching of frontend CSS
  • Fix – remove admin-ajax dynamic CSS and opt to use inline CSS as a fallback instead
  • Fix – store generated CSS in post meta for faster loading, and only regenerate the updated templates when needed
  • General UI fixes

= 1.0.1 =

  • Fix – issue with imagesLoaded & re-initialising the layout on frontend
  • Fix – issue with frontend date formatting when “custom” was chosen (thanks @paaljoachim)
  • Fix – issues with the padlock unsetting in our dimension controls
  • Fix – allow for multiple layouts on a single page + support for multiple masonry instances

= 1.0.0 =

  • Initial version.