WordPress.org

Plugin Directory

Changeset 617078


Ignore:
Timestamp:
10/24/12 23:31:00 (18 months ago)
Author:
wpsmith
Message:

Simple Sidebars support fix.

Location:
genesis-custom-post-types-archives/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • genesis-custom-post-types-archives/trunk/genesis-cpt-archives.php

    r617069 r617078  
    55Plugin URI: http://www.wpsmith.net/genesis-custom-post-types-archives 
    66Description: Allows you to customize Genesis Custom Post Type archive pages for solid SEO. 
    7 Version: 0.6.5 
     7Version: 0.6.6 
    88Author: Travis Smith 
    99Author URI: http://www.wpsmith.net/ 
  • genesis-custom-post-types-archives/trunk/lib/gcpta-settings.php

    r546318 r617078  
    652652     
    653653} 
     654 
     655/** 
     656 * Does this Genesis install have the 3 column layouts deactivated? 
     657 * 
     658 * This function checks to see if the Genesis install still has active 3 column layouts. Since 
     659 * child themes and plugins can deregister layouts, we need to know if they have deregistered the 3 column layouts. 
     660 * 
     661 * @since 0.9.2 
     662 */ 
     663if ( !function_exists( 'ss_has_3_column_layouts' ) ) { 
     664function ss_has_3_column_layouts() { 
     665 
     666    $_layouts = (array) genesis_get_layouts(); 
     667    $_layouts = array_keys( $_layouts ); 
     668    $_3_column = array_intersect( $_layouts, array( 'content-sidebar-sidebar', 'sidebar-content-sidebar', 'sidebar-sidebar-content' ) ); 
     669 
     670    return ! empty( $_3_column ); 
     671 
     672} 
     673} 
  • genesis-custom-post-types-archives/trunk/readme.txt

    r617069 r617078  
    4444== Changelog == 
    4545 
    46 = 0.6.5 = 
     46= 0.6.5-0.6.6 = 
    4747* Removed duplicate sidebars from simple sidebars support. 
     48* Fixed simple sidebars support, admin error. 
    4849 
    4950= 0.6.1 = 
Note: See TracChangeset for help on using the changeset viewer.