WordPress.org

Plugin Directory

Changeset 575243


Ignore:
Timestamp:
07/20/12 18:26:53 (21 months ago)
Author:
wpsmith
Message:

-fixes simple sidebar integration

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

Legend:

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

    r546361 r575243  
    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.2 
     7Version: 0.6.3 
    88Author: Travis Smith 
    99Author URI: http://www.wpsmith.net/ 
  • genesis-custom-post-types-archives/trunk/lib/functions.php

    r566395 r575243  
    150150 * Remove simple sidebars support 
    151151 */ 
    152 function remove_ss_support() { 
     152function replace_ss_support() { 
    153153    gcpta_remove_function( 'ss_do_sidebar' ); 
    154154    gcpta_remove_function( 'ss_do_sidebar_alt' ); 
     155    add_action( 'genesis_sidebar', 'gcpta_do_sidebar' ); 
     156    add_action( 'genesis_sidebar_alt', 'gcpta_do_sidebar_alt' ); 
    155157} 
    156158 
Note: See TracChangeset for help on using the changeset viewer.