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
| // Menu item spacing | |
| array( | |
| 'id' => 'nice-supplementary-menu-item-padding-lr', | |
| 'title' => __( 'Menu Item Horizontal Spacing', 'nice' ), | |
| 'desc' => __( 'Controls left & right spacing of each menu item.', 'nice' ), | |
| 'type' => 'spinner', | |
| 'default' => 20, | |
| 'step' => 1, | |
| 'max' => 250, | |
| 'display_value' => 'select', |
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
| add_filter('redux/options/{REDUX_OPTION_NAME}/sections', 'addSections' ); | |
| function addSections( $sections ) { | |
| $sections[] = array( | |
| 'title' => __( 'SECTION NAME', 'redux-framework-demo' ), | |
| 'desc' => __('DESCRIPTION GOES HERE', 'redux-framework-demo'), | |
| 'icon' => 'el-icon-paper-clip', | |
| 'fields' => array( | |
| ) |
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
| on Visit Scroll to # link |
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
| Get products from 2 or more categories |
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
| /* | |
| Gist from plugin "Disable Emojis" | |
| Yo'll get it from WordPress repository "https://plugins.svn.wordpress.org/disable-emojis/" | |
| */ | |
| /** | |
| * Disable the emoji's | |
| */ | |
| function disable_emojis() { | |
| remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); |
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 | |
| /** | |
| * Get a list of email subscribers. | |
| * | |
| * @return object The HTTP response that comes as a result of a wp_remote_get(). | |
| */ | |
| function css_t_subscribers() { | |
| // Do we have this information in our transients already? | |
| $transient = get_transient( 'css_t_subscribers' ); |
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
| /** | |
| * YouTube <iframe> video | |
| * | |
| * Set 40% volume for YouTube <iframe> video | |
| */ | |
| var DebugLog = false, // For debugging | |
| YouTubeID = 'YOUTUBE_IFRAME_ID', // Set YouTube <iframe> id | |
| YouTubeVolume = 40; // Set volume from 1 to 100 |
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
| { | |
| "kind": "webfonts#webfontList", | |
| "items": [ | |
| { | |
| "kind": "webfonts#webfont", | |
| "family": "ABeeZee", | |
| "category": "sans-serif", | |
| "variants": [ | |
| "regular", | |
| "italic" |
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 | |
| /** | |
| * Get wordpress.org Theme Details | |
| * | |
| * @see https://codex.wordpress.org/WordPress.org_API#Themes | |
| */ | |
| /** | |
| * Show Theme Details | |
| * |
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
| Hello [THEME_AUTHOR], | |
| Thanks for uploading the theme. | |
| When your theme reaches to the top of the [https://themes.trac.wordpress.org/report/2 Review Queue], the reviewer will be assigned and review process will follow procedures found in the [https://make.wordpress.org/themes/handbook/review/required/ Theme Review Handbook]. | |
| The ticket will be closed as `not-approved` if the theme has more than `5 distinct issues`. So, Please check your theme against Theme Review Guidelines to avoid closing of the ticket. | |
| '''Note: This is not a theme review.''' |
OlderNewer