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
<body oncontextmenu ="return false;"> </body> |
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
(function($){ | |
$(".site-slider").owlCarousel({ | |
loop: true, | |
items: 1, | |
autoplay:true, | |
nav:true, | |
dots: false, | |
// navText: ['<i class="fas fa-angle-left"></i>, <i class="fas fa-angle-right"></i>'], |
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
/*------------------------------------- | |
Window load function | |
-------------------------------------*/ | |
$(window).on('load', function () { | |
// Page Preloader | |
$('.preloader-img').fadeOut('slow', function () { | |
$(this).remove(); | |
}); |
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
$('.classname').each(function () { | |
$(this).prop('Counter',0).animate({ | |
Counter: $(this).text() | |
}, { | |
duration: 2000, | |
easing: 'swing', | |
step: function (now) { | |
$(this).text(Math.ceil(now)); | |
} | |
}); |
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
<!-- tab area start --> | |
<div class="row"> | |
<div class="col-xl-12"> | |
<div class="tanry-shops-tab-menu"> | |
<!-- Nav tabs --> | |
<ul class="nav"> | |
<?php $all_terms = get_terms(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
// Function | |
function cb_get_embedded_media( $type = array() ){ | |
$content = do_shortcode( apply_filters( 'the_content', get_the_content() ) ); | |
$embed = get_media_embedded_in_content( $content, $type ); | |
if( in_array( 'audio' , $type) ): | |
$output = str_replace( '?visual=true', '?visual=false', $embed[0] ); | |
else: | |
$output = $embed[0]; |
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
{ "keys": ["ctrl+shift+r"], "command": "reindent", "args": {"single_line":false}} | |
prefernces>key binding |
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
<!-- shapehost sidebar search --> | |
<div class="shapehost-sidebar-search"> | |
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> | |
<input type="search" id="<?php echo $unique_id; ?>" class="search-field" placeholder="<?php echo esc_attr_x( 'Search and type enter …', 'placeholder', 'shape' ); ?>" value="<?php echo get_search_query(); ?>" name="s" > | |
<button type="submit" class="search-submit"><i class="fa fa-search"></i></button> | |
</form> | |
</div> | |
<!-- shapehost sidebar search end--> |
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 | |
add_action( 'wp_enqueue_scripts', 'custom_disable_theme_js' ); | |
function custom_disable_theme_js() { | |
Fusion_Dynamic_JS::deregister_script('avada-comments'); | |
Fusion_Dynamic_JS::deregister_script('avada-general-footer'); | |
Fusion_Dynamic_JS::deregister_script('avada-mobile-image-hover'); | |
Fusion_Dynamic_JS::deregister_script('avada-quantity'); | |
Fusion_Dynamic_JS::deregister_script('avada-scrollspy'); | |
Fusion_Dynamic_JS::deregister_script('avada-select'); |
NewerOlder