Cornerstone Version 7

  • Cornerstone 7.2.6 - June 6, 2023
    • Bugfix: Deprecated Search Modal's search tab styling did not work
    • Bugfix: Custom Fonts were returning 'regular' as font-style instead of 'normal'
  • Cornerstone 7.2.5 - May 23, 2023
    • Feature: var() can be used in the color picker or as a global color
    • Feature: Looper repeat property can use Dynamic Content
    • Feature: Custom Loopers args field can use Dynamic Content
    • Bugfix: If a global color was a 3 letter hex the opacity slider would not work
    • Bugfix: Accordions "enter" keybinding was conflicting with browser accessibility
    • Bugfix: Statbar element's direction property only worked for left and up
  • Cornerstone 7.2.4 - May 8, 2023
    • Feature: Dynamic Content specific to the Post slug ({{dc:post:slug}})
    • Updated: Updated Google Fonts list
    • Bugfix: If you moved an element yourself through JS, it would cause the events attached to be removed and never placed back onto the element
    • Bugfix: Jetpack installed caused background videos not to display properly
    • Bugfix: Parallax backgrounds were not calculating themselves unless a scroll event occured
    • Bugfix: Parallax backgrounds were running on the main thread
    • Bugfix: Yoast would not work if the classic editor was installed
    • Bugfix: Yoast would not usually work in Chrome due to a race condition with Gutenburg
    • Bugfix: WPML would not work if the default language was in a directory
    • Bugfix: OEmbed code did not check if property was defined
  • Cornerstone 7.2.3 - April 24, 2023
    • Bugfix: Toogle hash was mistakenly removed from Tabs
    • Bugfix: Remove possibility of a Fatal error when WPML has translations for a layout, but the layout no longer exists
    • Bugfix: If a Google Font was used as in the Font pallete it would load in every single font weight. It now loads in the normal and bold, and any font weight you use dynamically on your pages
  • Cornerstone 7.2.2 - April 17, 2023
    • Bugfix: Remove possibility of a Fatal error when trying to use an ACF field as a date, when the field is not a date
    • Bugfix: Site imports were not importing Custom CSS or Global Colors properly
    • Bugfix: Google Maps passes a null function callback to the API string to prevent the error message when not passing a callback to Google
    • Bugfix: Enough passive listeners or explicit mark as non-passive in our JS to pass Google lighthouse audit tests. Performance numbers usually improved by 2 points
    • Bugfix: It was possible if your sticky header was caught in a resize event that it would shrink twice if it was in the stuck state
    • Bugfix: Sticky headers were not resizing properly on the frontend depending on how the WP toolbar changes height
    • Bugfix: In a unit slider, if Inherit is the only choice it will display a list when you click on the "...". Previously it showed you could click it, but nothing would happen
    • Bugfix: Toogle hash was mistakenly removed from the Accordion revamp project
    • Bugfix: String conditions that used "0" would be marked as empty and never be valid to be used as a needle for "String In" or "String not in" conditionals
    • Bugfix: If you are trying to deleted an already deleted document it will give you a better error message
  • Cornerstone 7.2.1 - April 11, 2023
    • Bugfix: iOS 12 essential support through replacement of String.prototype.replaceAll, String.prototype.matchAll, and a polyfill for Array.prototype.flat. Please contact us if you still have issues with iOS 12. Please note that WordPress does not support iOS 12 anymore so your mileage may vary when using other plugins
    • Bugfix: get_children looper provider will check post_status == "published"
  • Cornerstone 7.2.0 - April 10, 2023
    • Feature: Lottie element
    • Feature: Tabs have a new tab element type which can accept child elements. Tabs also have looper support. Tabs had a slight rework to support with loopers. Accordions were already setup for it
    • Feature: Accordions have a new tab element type which can accept child elements. Accordions also have looper support.
    • Bugfix: Fixes to sticky bars with Rev Slider ended up breaking certain cases of the sticky bars
    • Bugfix: WPML migration from Pro5 to Pro6 redone. This relied on WPML at first, and now it will use raw SQL updates to move our post_types to separate
    • Bugfix: Pro5 to Pro6 has option to do the migration through Raw SQL. Depending on your plugins changing the post_type causes many issues so doing raw SQL update bypasses what the plugins will mess up. Define to `true` `CS_MIGRATE_UNTYPED_USE_RAW_UPDATE`
    • Bugfix: Component shortcode was broken in numerous instances including, sliders, any deferred rendering type (off-canvas, modal), flex box types, and using global colors or fonts
    • Bugfix: Cornerstone Standalone CSS reset was not working when using component shortcode
  • Cornerstone 7.1.10 - March 29, 2023
    • Feature: `cornerstone_enqueue_styles` has been added back into Cornerstone Standalone to remove our default inline styling
    • Feature: If you place a Dynamic Content string into the `fallback` value of a dynamic content it will try to render the fallback as dynamic content
    • Updated: Keybinding "ctrl+alt+j" Opens the currently inspected elements Parameters JSON window
    • Updated: fix to scroll events which makes them more performant, and more passive listeners
    • Updated: Parameter groups have the same processing as a single parameter. If you used a global font inside a group it would return you our ID (like a global color ID) instead of the actual parameter value.
    • Updated: The dynamic content input was overlaying over the image selector when in the breakpoint editor
    • Updated: The timeout for requesting remote assets has been moved to 30 seconds as opposed to 5 seconds
    • Updated: Our script startups use requestAnimationFrame instead of setTimeout as a means for asyncronousity
    • Updated: If you are using dynamic content inside a Looper Provider JSON editor it will stop linting and will not force your JSON to be valid
    • Bugfix: Sliders in Marquee mode works differently. It no longer lets you enter a transition and all marquees are forced into “Linear 0ms” mode. This was the workaround for getting marquee to work and since it will force this, the workaround is no longer needed. Transition was never really valid here as marquee is a contious speed.
    • Bugfix: Audit and cleanup up of some state based performance issues in the App.
    • Bugfix: Using an ACF dynamic field with `type='date'` would not work depending on your acf return format
    • Bugfix: Sticky bars will check if the height of the document has changed and will act accordingly. This occured in some Rev Slider installs where the slider resized slowly
    • Bugfix: Sticky bars transition will fallback to a timeout if there is something blocking the transition of our sticky bar. This occured in some Rev Slider installs where the slider was actively blocking scrolling
  • Cornerstone 7.1.9 - March 20, 2023
    • Updated: Parameter data is not pasted when using "Paste Styles" on a component
    • Updated: For the following keybindings on Mac, subsitute CTRL with Command and Alt with Option
    • Updated: Keybinding "ctrl+alt+m" Opens the element manager window
    • Updated: Keybinding "ctrl+alt+d" Opens the Dev Toolkit window
    • Updated: Keybinding "ctrl+alt+c" Opens the Global Code Editors window
    • Updated: Keybinding "ctrl+alt+x" Opens the Max window
    • Updated: Keybinding "ctrl+alt+p" Opens the Global Parameters window
    • Updated: Throttling of internal scroll events in the preview viewer
    • Bugfix: Our WPML integration will use home url and not site url, we process the /cornerstone/ slug different when WPML is installed
    • Bugfix: A fontweight parameter required a font family parameter as well or else it would crash
    • Bugfix: The 404 plugin did not style properly the inner content of a Single layout
    • Bugfix: Inline editor was removing new lines on completion
    • Bugfix: If no valid Contact Form 7 form was found the app would crash. This caused the "Creative Contact Form" templates to never be inserted properly
    • Bugfix: PHP 8 multiplication math in style sheet generation was invalid due to unstrict float value type
    • Bugfix: Bear with me, inside the default consumer of an archive if you added a Looper Provider that was also a consumer, at the end of that Provider + Consumer combo the consumer would reset two steps back causing any dynamic calls to be the top level post and not the current post to consume
  • Cornerstone 7.1.8 - March 15, 2023
    • Feature: `cs_wordpress_dashboard_url` and `cs_wordpress_dashboard_url_can_edit` filters added to control the dashboard links in the app
    • Feature: There is a link to view all demo sites to the right side of the demo site name
    • Updated: "Template Inserted" text changed to "Template inserted at the bottom of this document!"
    • Updated: Dynamic content processes the entire row layout instead of individual columns. Allows you to have a dynamic content value that is multiple columns like "50% 50%"
    • Updated: The hide UI keybinding (ctrl+shift+a) will also hide all floating windows and floating pickers
    • Updated: {{dc:url:param}} will also check encoded values (&) if no value is found in URL
    • Updated: Max will display in the templates tab even if no document is open
    • Updated: On an author page, author dynamic content will use the current author if not consuming a post
    • Bugfix: Revert of our touch handlers until Android off-canvas support and known scenarios that break are fixed
    • Bugfix: ACF repeaters get_size() function was invalid causing any condition using "Provider Output" with the repeater to have a fatal error
    • Bugfix: Most onLoad events in our frontend libraries were firing twice
  • Cornerstone 7.1.7 - March 10, 2023
    • Bugfix: Sticky bars did not set the height spacer correctly when the sticky bar's height was set to auto. This has a been a problem for a while, but is more apparent now that sticky bars position themselves at the top correctly
    • Bugfix: Sticky bars did not check content created outside the header to determine it's sticky trigger position
  • Cornerstone 7.1.6 - March 6, 2023
    • Feature: Custom attributes for all elements support arrays as well as json, this was a partial bug fix as it was possible to have an element with custom attributes as an array if you imported a certain template
    • Feature: OEmbed Theme Options to either disable for internal links or disable entirely allowing
    • Feature: Image controls now have a text input to change the source
    • Feature: Cornerstone now has a favicon! Disable with the filter `cs_app_favicon_enabled` and change with the filter `cs_app_favicon`
    • Feature: Ajax cart notification now resets it's state upon a page redirection
    • Updated: Ajax cart notification's z-index has been raised
    • Updated: The grammar of the template tab was changed to "Current Document Type" instead of "You are working on a"
    • Updated: On mobile all toggle events are handled through `touchstart` to improve iOS interaction time
    • Updated: Further performance improvements to our scroll event and resize events
    • Bugfix: Row Resizer could not resize if it was inside a looper or inside a dropzone like column
    • Bugfix: Sticky bars were not initializing themselves as fixed despite being at the top of the page
    • Bugfix: Sticky bars were not detecting the proper trigger heights when the page started on a scroll anchor
    • Bugfix: Sticky bars did not allow for a bar with no animation transitions
    • Bugfix: Scroll based effects were flickering due to their state not initializing correctly on launch
    • Bugfix: Missing conditions rules for underline theme options
    • Bugfix: WPML Layout types (archive, single, woocommerce etc) retain their language data when going from Pro5 to Pro6. Please still run your Pro5 to Pro6 upgrade in staging if you have WPML and let us know if you have any issues
  • Cornerstone 7.1.5 - February 27, 2023
    • Bugfix: Drag and drop was broken due to new toggle state detection code
  • Cornerstone 7.1.4 - February 27, 2023
    • Updated: The "View Details" button on the plugin page for Cornerstone was going to a plugin page not run by Themeco. This button now redirects you to https://theme.co/cornerstone if our Cornerstone is installed
    • Feature: cs_component shortcode has support for parameters via the shortcode attributes. Example `[cs_component id='...' parameterName='Test']`
    • Feature: Filters to change default view partials. `cs_get_partial_view` and `cs_get_partial_view_{ELEMENT_NAME}` this existed in Pro4, but was removed somewhere in Pro5
    • Feature: Custom filter for ignoring certain documents `cs_document_list_ignore`, simply add your post ids to the array passed to the filter
    • Feature: There is now a checkbox to either enable or disable the thumbnail generation for all template creations. This is disabled by default as thumbnail generation only works properly in Chrome and because it is a heavy action that slows down the page signficantly
    • Feature: All Elements now support an array for `valid_parent`
    • Updated: Single and Archive are now labeled as "Single Layout" and "Archive Layout" respectively. Uses same localization key as before so only english will be changed
    • Updated: Anchor preview has been moved to the bottom of the inputs and removed entirely for URLs types as it was redundant for URL
    • Updated: The save template button is now green to reflect the type of action it is
    • Bugfix: The last version setups all Javascript elements asyncronously improving speed. As a result some elements that get deleted right away were causing JS warnings, but no major issues discovered from new performance upgrades
    • Bugfix: It was possible with the inline editor to get yourself in an inbetween state of editing and not editing resulting in the UI becoming more unresponsive
    • Bugfix: When using WPML if your settings was using ?lang the home page would not render in Cornerstone if you were viewing the homepage on a different language other than the default.
    • Bugfix: WP Cost Estimation was displaying a validation method which is not valid for Pro users
    • Bugfix: Classic elements can be dragged and dropped if they are inside a classic column
    • Bugfix: Off Canvas improperly detected it's current state, so placing x-active on a toggleable element was not setting the initial state as active
    • Bugfix: Post Parent dropdown was limiting at 5. It is not controlled by `cs_locator_limit` which defaults to 100
    • Bugfix: Looping inside a looper on a WooCommerce Archive caused the post_id to reset to the Shop post id
    • Bugfix: Pasting styles was pasting show conditions
  • Cornerstone 7.1.3 - February 20, 2023
    • Feature: Cornerstone Theme Options launch button added to both WordPress toolbar and sidebar
    • Feature: Permission for disabling or enabling updating preferences in Cornerstone. Enabled by default to match prior behaviour
    • Feature: `type="image"` type added for Dynamic Content for expanding WordPress attachments to full Urls. Example `{{dc:p:image_parameter type='image'}}`
    • Feature: Constant `CS_TSS_IGNORE_VARIABLE_CREATION` added to bypass CSS variable creation when using Dynamic Content in custom element CSS, useful for when using Dynamic Content in a background-image
    • Feature: cs_component shortcode support for parameters (EX `[cs_component id='...' parameters='YOUR_JSON']`), see https://theme.co/docs/component-builder-overview#component-shortcode
    • Updated: Performance upgrades to frontend off canvas elements, and scrolling based effects like sticky bars
    • Bugfix: Cornerstone Standalone validation was not sending any requests to Themeco
    • Bugfix: Cornerstone Standalone was not working with V2 Rows and Columns elements. These are enabled by default now
    • Bugfix: Cornerstone Standalone css was intrusive and overwritting theme CSS, EX woocommerce templates built outside of Cornerstone were getting styled by Cornerstone
    • Bugfix: Cornerstone Standalone had theme options that were part of an expiremental mode, standard standalone theme options are placed instead
    • Bugfix: Cornerstone Standalone was not exporting font family and other font based CSS variables
    • Bugfix: Some scroll position linked effect warnings have been removed
    • Bugfix: cs_component shortcode outputs most of it's styles, however there are still issues with interactions, flexbox, and off canvas types (dropdowns, modals)
  • Cornerstone 7.1.2 - February 13, 2023
    • Updated: Column default z-index is 1 to remove issues with background content appearing behind the background
    • Bugfix: Hotfix to remove error when max wasn't registered
  • Cornerstone 7.1.1 - February 13, 2023
    • Feature: Cornerstone "Launch" button added to the top bar of the WordPress admin toolbar
    • Feature: xToggleGetId function added to window, use to grab the toggle id from a DOM Element
    • Feature: Max clear cache button useful for getting new courses
    • Bugfix: max-width set to assignment select box to prevent overflow
    • Bugfix: WPML was overwriting the content of translations if saving a "page" post type from the default language
    • Bugfix: Layouts like Archive were not inserting section templates correctly
    • Bugfix: Starter site was not installing correctly
  • Cornerstone 7.1.0 - February 6, 2023
    • Feature: Max release. Templates & Training. Right In Your Builder. See https://theme.co/max
    • Updated: Default window popup size is increased
    • Bugfix: ACF Dynamic field dropdowns are fixed as well as a number of other dynamic content dynamic fields
    • Bugfix: Component section templates were not being added to a page properly
    • Bugfix: Check ReflectionParameter has method named hasType before using to prevent fatal error
    • Bugfix: Retina image rounding was failing on PHP 8 because of round() function being sent a string
  • Cornerstone 7.0.7 - January 30, 2023
    • Bugfix: Hotfix to make sure that old shortcodes are loaded even if classic elements is not turned on
  • Cornerstone 7.0.6 - January 30, 2023
    • Feature: Cornerstone Standalone support for classic elements
    • Feature: WooCommerce Archive and Singles, Post and Components have starter templates in the themeco tab
    • Feature: Cross-sell element now has a type selector which will allow you choose "cart" (the default and how this element has always worked) or "product" which is new and will let you display the products cross-sells
    • Feature: New filter to disable Cornerstone custom fields map `cs_use_custom_fields_map`
    • Updated: Dev toolkit button have been moved to the bottom toolbar
    • Bugfix: WPML Rejuvination, Creating new translations works, layouts were not getting assigned properly based on language, language was not changing between tabs if the language was different, some of our post types were not configured to translate in WPML, our WPML integration was running even if WPML was not installed
    • Bugfix: grid-auto-flow was being passed an invalid value of "sparse"
    • Bugfix: Archives and singles in the preview were not viewable depending on the settings for your frontpage
    • Bugfix: WooCommerce archives were conflicting with search pages that used `product_type=product`
    • Bugfix: The target dropdown for links using the inline-editor was behind the popup window
    • Bugfix: Icon picker was not showing a valid tab if you had disabled `solid` font awesome type
    • Bugfix: AltGr was unable to be used in a regular text field due to keybindings, AltGr now never affects the key bindings
    • Bugfix: Icon picker was not giving a valid default icon depending on your font awesome settings
    • Bugfix: When a dropdown menu did not have an href it caused the first item in the dropdown menu to appear active
  • Cornerstone 7.0.5 - January 16, 2023
    • Bugfix: Hotfix release to revert the background upper layer z-index change. We will be creating a new layer to satisfy the request of having a layer to cover content like a dark seethru color over your entire content
  • Cornerstone 7.0.4 - January 16, 2023
    • Feature: Global Colors that are Hex values will work with the alpha slider in color picker
    • Feature: Breadcrumbs will display the post title of the archive page and not the post type label
    • Feature: Nav Menus created in WordPress will render Dynamic Content, use the filter `cs_use_dynamic_content_in_nav_menu` and set to false if this is conflicting with another plugin
    • Feature: Top Level element types like sections were hidden in the element library
    • Feature: Element Library added a "Plus" icon to add given element to a new region
    • Feature: Error message when trying to export and php-zip is not installed
    • Updated: Element Manager popup has been localized
    • Bugfix: jQuery was being queued in the wrong spot giving a warning
    • Bugfix: Navigating off-canvas was preventing scrolling after
    • Bugfix: Classic Feature box animation were not working past the first animation
    • Bugfix: One page navigation fixes like auto-closing off-canvas and smooth scrolling to anchored content
    • Bugfix: Debug code was output when using strings as an expression IE `(JOIN / SUBSCRIBE)`
    • Bugfix: Using the default template for a post was not working in the builder if you were using a WordPress template
    • Bugfix: Color picker was reseting it's hue value if you dragged the color outside of it's bounds
    • Bugfix: WooCommerce Archives that had a looper in them would not properly change the `post` Dynamic Content variables.
    • Bugfix: Trailing slashes added to legacy site import to prevent sites without request redirects
    • Bugfix: Background Upper z-index was off requiring you to set content inside the box to have a negative z-index
    • Bugfix: Contact Form 7 Spinner / Ajax Loader had a class name change and is changed on our end. Upgrade Contact Form 7 if you lose the loading spinner
    • Bugfix: Safari mac Save Document popup was hidden behind the live preview
    • Bugfix: z-index of Upper Background layer was too low
    • Bugfix: Gutenburg requiring React 18 was crashing Cornerstone
    • Bugfix: Templates "Create" permission was not being properly set in the admin permissions page
    • Bugfix: Legacy Navigation Collapsed's padding was also controlled by the "Sub Links" padding
  • Cornerstone 7.0.3 - January 6, 2023
    • Feature: Components now have a shortcode `[cs_component id='...']` to access from across wordpress similar to global blocks
    • Bugfix: Frontend images were displaying when there was no image src
    • Bugfix: Individual tabs were not being hidden by their breakpoints
    • Bugfix: Old Navigation Layered was not being hidden by it's breakpoints
    • Bugfix: Google Font weights were not loading properly
    • Bugfix: Site import for everything, but the starter site was not importing page data
    • Bugfix: Individual tabs were not being hidden by their conditions
    • Bugfix: Legacy Site Importing was not importing fonts and font weights
  • Cornerstone 7.0.2 - December 30, 2022
    • Bugfix: Custom Fonts were not falling back to family name when font family stack was not set
    • Bugfix: Bar content scrolling buttons were being hidden improperly
    • Bugfix: Searching by site name in the creator pane was not working, site installs still do not work for post content only colors and settings
    • Bugfix: Sticky headers that had hidden view breakpoints were leaving empty space on the page in their empty breakpoints
    • Bugfix: WooCommerce Taxonomy archives were getting defined as single layouts and not working as a result
  • Cornerstone 7.0.1 - December 27, 2022
    • Feature: Filter `cs_use_wordpress_page_template` added to default to Cornerstone template when editing a page created outside of Cornerstone. Default is true set to false to always use Cornerstone default template
    • Feature: Dynamic Content `{{dc:url:full_path}}` added which combines site URL and current path
    • Feature: Inspector Breakout Mode fully released. Use `ctl+alt+b` to enter this mode in the inspector to display all controls as text fields. Currently not available for checkbox fields
    • Updated: Google Fonts list
    • Updated: Release notes URL
    • Bugfix: Fatal error when editing page created outside of Cornerstone and page assigned elsewhere
    • Bugfix: Under construction plugin would have a fatal error when using a custom page
    • Bugfix: Under construction plugin gave undefined index warnings when upgrading
    • Bugfix: Duplicated Component Workspaces would not properly export components
    • Bugfix: Retina images with odd numbers would give invalid width and heights with decimals
    • Bugfix: Typing text would not render properly without suffix or prefix in the preview
    • Bugfix: Z index of code editor linter tooltips was too low
  • Cornerstone 7.0.0 - December 20, 2022
    • Feature: Component Builder
    • Feature: Parameters
    • Feature: Masking Effects
    • Updated: Holding CMD / Ctrl will allow any element to be added top level
    • Updated: When Inspecting an element, children are presented using a scoped version of the Outline
    • Updated: Dynamic Content now works in Element CSS
    • Updated: The “Exit” link in the Document Navigation now always goes to the root WordPress admin page—contextual links can be used under Outline → Settings on pages, posts, et cetera using the arrow found across from the “General” label
    • Updated: New “Go Up One Level” navigation button in the Inspector Workspace header that allows users to quickly traverse up a tree of Elements (found next to the Element Manager cog)
    • Updated: Changed the color used for empty dropzones / “Choose a Layout” / receiving styles in the live preview so that it better works across dark backgrounds
    • Updated: Remove hash_scrolling_offset and scrollspy_offset JS hooks and implement single fixed_top_offset hook
    • Updated: Added hash_scrolling_config to expose access to duration and easing for hash scrolling
    • Updated: Self-hosted videos now have options for object-fit and object-position
    • Updated: jQuery is no longer loaded unless using the classic slider element, ilightbox, or classic element tooltips
    • Updated: Added cs_disable_wp_extraneous filter to optionally disable Gutenburg and emoji detection output
    • Updated: New script for disabled offscreen scrolling to avoid layout shift
    • Bugfix: Fixed link active state not updating for final one page navigation items when reaching bottom of page
    • Bugfix: Fix no-js class not being replaced with js on load
    • Bugfix: Fix Classic Counter and Text Type elements not updating
    • Bugfix: Fix Classic Google Maps Hue control
    • Bugfix: Fix Column Fill setting always using lowest responsive styling value
    • Bugfix: Fix Gravity Forms AJAX setting not working in Form Integration element
    • Bugfix: Fix Interaction effect animations only running once