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
| /* Written by Batz Bar http://amaze.website/set-color-of-address-bar-in-wordpress/ | |
| based on this stackoverflow answer http://stackoverflow.com/questions/26960703/how-to-change-the-color-of-header-bar-and-address-bar-in-newest-android-chrome-v */ | |
| add_action('wp_head','color_address_bar'); | |
| function color_address_bar() { | |
| // Set here your html color. You could find a color picker here http://www.colorpicker.com/ | |
| //$color ="#ed1c24"; | |
| $color ="#ed1c24"; |
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 | |
| /* | |
| Plugin Name: Preserve Page and Taxonomy Hierarchy on Edit Menus Screen | |
| Version: 0.1 | |
| Plugin URI: https://core.trac.wordpress.org/ticket/18282 | |
| Description: Disables paging for hierarchical post types and taxonomies on Edit Menus screen to preserve proper hierarchy in meta boxes. | |
| Author: Sergey Biryukov | |
| Author URI: http://profiles.wordpress.org/sergeybiryukov/ | |
| */ |
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
| /*---------- Global Slider ----------*/ | |
| $('#mls-slider') | |
| .on('init', function(event, slick){ | |
| }).on('beforeChange', function(event, slick){ | |
| }).on('afterChange', function(event, slick){ | |
| }).slick({ | |
| mobileFirst: true, |
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
| // http://wpmunchies.com/ | |
| // Move Yoast Meta Box to bottom | |
| function yoasttobottom() { | |
| return 'low'; | |
| } | |
| add_filter( 'wpseo_metabox_prio', 'yoasttobottom'); |
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
| // PHPStorm | |
| // it works, after all... | |
| // define IF local ELSE live | |
| define('ALEXTHEME_LOCAL', false); | |
| // define | |
| if (ALEXTHEME_LOCAL) { | |
| define('ALEXTHEME_DIR', __DIR__); | |
| } |
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
| //https://woocommerce.wordpress.com/2017/02/28/adding-support-for-woocommerce-2-7s-new-gallery-feature-to-your-theme/ | |
| add_action( 'after_setup_theme', 'dc_woocommerce_setup' ); | |
| function dc_woocommerce_setup() { | |
| //add_theme_support( 'wc-product-gallery-zoom' ); | |
| add_theme_support( 'wc-product-gallery-lightbox' ); | |
| add_theme_support( 'wc-product-gallery-slider' ); | |
| } |
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
| /* | |
| * ScrollMagic | |
| * 2017 | |
| */ | |
| var logo_normal = DD.logo.normal, | |
| logo_black = DD.logo.black, | |
| logo_white = DD.logo.white; | |
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
| __ | |
| _e | |
| __ngettext:1,2 | |
| _n:1,2 | |
| __ngettext_noop:1,2 | |
| _n_noop:1,2 | |
| _c, | |
| _nc:4c,1,2 | |
| _x:1,2c | |
| _ex:1,2c |
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 | |
| /* | |
| Plugin Name: sFTP sending file via ssh2_scp_send | |
| Plugin URI: https://decom.ba | |
| Description: send CSV file over PHP | |
| Version: 17.0.0 | |
| Author: Decom | |
| Author URI: https://decom.ba | |
| Text Domain: language.. | |
| Domain Path: /languages |