WordPress Themes Directory Adds Style Variation Previews

WordPress Themes Directory Adds Style Variation Previews

Posted by WP Tavern on October 21, 2022 at 8:36 am
kitty kitty CATegory News
WordPress.org theme previews just got a major improvement this week with the addition of Style Variation previews. The previews now appear on block themes that include style variations. Themes that have more variations than what fits in the space beneath the preview pane will display all variations in a carousel with little arrows to navigate to the next ones. Here’s an example with the Pixl theme from Automattic that contains seven brightly colored variations: It’s also possible to see a selected style variation loaded into the theme preview now. Clicking the ‘Preview’ button will allow users to scroll and explore the theme with their selected style variation applied. “These style variations, designed by theme authors and packaged in block themes, help users have a diverse set of approaches to their site design allowing them to find one that aligns with their goals,” Automattic-sponsored Meta team contributor Steve Dufresne said. “This feature helps to highlight the flexibility of modern WordPress themes and it’s time to have it baked into the theme directory experience.” The new style variation previews are fetched from the themes’ /styles/{variation_name}.json files, so theme authors do not have to do anything to make the previews work. They will automatically display…

…Full post on WP Tavern
Read Full

Similar Posts

Leave a Reply