Builder/Release Notes/4.0.11

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
(Created page with "'''Version:''' 4.0.11 '''Released:''' 2012-12-07 '''Release Type:''' Feature Enhancement, Bug Fix '''Description:''' This release adds a new theme support named `builder-...")
 
 
Line 8: Line 8:
 
'''Description:'''
 
'''Description:'''
  
This release adds a new theme support named `builder-disable-stylesheet-cache`. This theme support can be used to disable the process that caches the generate stylesheet for a Layout. By disabling the cached stylesheet, the entire stylesheet will instead by added directly to the page content in a `style` tag. Since this adds to the size of the page and adds a small amount of additional processing overhead (due to needing to regenerate the stylesheet on each page load), it is only recommended that this theme support is added to sites that have a significant issues using the caching feature (such as the site breaks without disabling the cache).
+
This release adds a new theme support named <code>builder-disable-stylesheet-cache</code>. This theme support can be used to disable the process that caches the generate stylesheet for a Layout. By disabling the cached stylesheet, the entire stylesheet will instead by added directly to the page content in a <code>style</code> tag. Since this adds to the size of the page and adds a small amount of additional processing overhead (due to needing to regenerate the stylesheet on each page load), it is only recommended that this theme support is added to sites that have a significant issues using the caching feature (such as the site breaks without disabling the cache).
  
To make use of this new theme support, simply add the following to your child theme's `functions.php` file after the `<?php` line:
+
To make use of this new theme support, simply add the following to your child theme's <code>functions.php</code> file after the <code><?php</code> line:
  
 
<pre class="brush:php">
 
<pre class="brush:php">

Latest revision as of 17:39, December 7, 2012

Version: 4.0.11

Released: 2012-12-07

Release Type: Feature Enhancement, Bug Fix


Description:

This release adds a new theme support named builder-disable-stylesheet-cache. This theme support can be used to disable the process that caches the generate stylesheet for a Layout. By disabling the cached stylesheet, the entire stylesheet will instead by added directly to the page content in a style tag. Since this adds to the size of the page and adds a small amount of additional processing overhead (due to needing to regenerate the stylesheet on each page load), it is only recommended that this theme support is added to sites that have a significant issues using the caching feature (such as the site breaks without disabling the cache).

To make use of this new theme support, simply add the following to your child theme's functions.php file after the <?php line:

add_theme_support( 'builder-disable-stylesheet-cache' );

A small bug fix is also included in this release. It removes a possible notice that could be displayed on some sites in the event that the generated stylesheet file cannot be saved.

Files Updated:

  • lib/builder-core/
  • lib/layout-engine/
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox