This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * How to link into the WordPress Customizer | |
| */ | |
| Simple Link: | |
| <a href="<?php echo esc_url( admin_url( 'customize.php' ) ); ?>">Link to Customizer</a> | |
| Link to Panel: | |
| $query['autofocus[panel]'] = 'nav_menus'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * debouncedresize: special jQuery event that happens once after a window resize | |
| * | |
| * latest version and complete README available on Github: | |
| * https://github.com/louisremi/jquery-smartresize/blob/master/jquery.debouncedresize.js | |
| * | |
| * Copyright 2011 @louis_remi | |
| * Licensed under the MIT license. | |
| */ | |
| var $ = jQuery; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** Ninja Forms */ | |
| function delight_ninja_forms() { | |
| if ( function_exists('ninja_forms_get_all_forms') ) { | |
| $nfs = ninja_forms_get_all_forms(); | |
| } | |
| $nforms = array( '' => __('Select a Form', 'TEXT-DOMAIN') ); | |
| if( !empty( $nfs ) ) { | |
| foreach($nfs as $form){ |
NewerOlder