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('woocommerce_form_field_args','wc_form_field_args',10,3); | |
function wc_form_field_args( $args, $key, $value = null ) { | |
/*********************************************************************************************/ | |
/** This is not meant to be here, but it serves as a reference | |
/** of what is possible to be changed. /** | |
$defaults = 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
//include this code on functions. php for register a custom post type | |
function imran_slider_custom_post(){ | |
// register_custom_post_type | |
register_post_type('imran_post_type_name', array( | |
'labels' => array( | |
'name' => __( 'Sliders', 'textdomain' ), | |
'singular_name' => __( 'Slider', 'textdomain' ), | |
'add_new' => _x( 'Add New Slider', 'textdomain' ), | |
'add_new_item' => __( 'Add New Slider', 'textdomain' ), |
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
@media only screen and (min-width: 992px) and (max-width: 1200px) { | |
} | |
@media only screen and (min-width: 768px) and (max-width: 991px) {} | |
} |
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
01. Autoprefixer | |
02. Beautify *** | |
03. Brackets CSS Class Code hint *** | |
04. Documents Toolbar *** | |
05. Dramatic Error Highliting *** | |
06. Emmet *** | |
07. Errors Explorer | |
08. Indent Guides *** | |
09. Lorem picsum *** | |
10. More CSS Code Hints *** |
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
.top { | |
box-shadow: 0 -5px 5px -5px #333; | |
} | |
.right { | |
box-shadow: 5px 0 5px -5px #333; | |
} | |
.bottom { | |
box-shadow: 0 5px 5px -5px #333; | |
} |
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
a[href^="http://maps.google.com/maps"]{display:none !important} | |
a[href^="https://maps.google.com/maps"]{display:none !important} | |
.gmnoprint a, .gmnoprint span, .gm-style-cc { | |
display:none; | |
} | |
.gmnoprint div { | |
background:none !important; | |
} |
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
<script> | |
var myCenter=new google.maps.LatLng(51.508742,-0.120850); | |
function initialize() | |
{ | |
var mapProp = { | |
center:myCenter, | |
scrollwheel: false, | |
zoom:5, | |
zoomControl:false, |
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
smoothScroll.init({ | |
offset: 80 | |
}); | |
var windowWidth = $(window).width(); | |
if(windowWidth < 768){ | |
smoothScroll.init({ |
NewerOlder