Make WordPress Themes


Ignore:
Timestamp:
06/24/2024 10:08:26 AM (17 months ago)
Author:
themedropbox
Message:

New version of Sydney - 2.39

Location:
sydney/2.39
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • sydney/2.39/js/customizer.js

    r226783 r232480  
    13631363        } );
    13641364    });
     1365
     1366    wp.customize( 'enable_block_templates', function( val ) {
     1367        val.bind( function( to ) {
     1368            $controls = ['block_templates_notice','enable_header_block_template', 'enable_footer_block_template', 'enable_single_block_template', 'enable_page_block_template', 'enable_archive_block_template', 'enable_search_block_template', 'enable_404_block_template'];
     1369            if ( true === to ) {
     1370                showControls( $controls );
     1371            } else {
     1372                hideControls( $controls );
     1373            }
     1374        } );
     1375    } );
    13651376
    13661377} )( jQuery );
Note: See TracChangeset for help on using the changeset viewer.