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
---------------------------------------------------------------------------------------------- | |
Database Connection | |
---------------------------------------------------------------------------------------------- | |
// Error Reporting Turn On | |
ini_set('error_reporting', E_ALL); | |
//error_reporting('0'); | |
// Setting up the time zone |
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
/*mrm-button */ | |
div.owl-carousel.mrm-button {} | |
div.owl-carousel.mrm-button div.owl-controls {} | |
div.owl-carousel.mrm-button div.owl-controls div.owl-pagination{} | |
div.owl-carousel.mrm-button div.owl-controls div.owl-pagination div {} | |
div.owl-carousel.mrm-button div.owl-controls div.owl-pagination div.owl-page:hover, div.owl-carousel.mrm-button div.owl-controls div.owl-pagination div.active {} | |
/* | |
$(".client-carousel").owlCarousel({ | |
singleItem: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
global $woocommerce; | |
//remove breadcrumb | |
remove_action('woocommerce_before_main_content','woocommerce_breadcrumb',20); | |
// Breadcumbs custom style(div or ul) | |
add_filter( 'woocommerce_breadcrumb_defaults', 'flipmart_woocommerce_breadcrumbs' ); | |
function flipmart_woocommerce_breadcrumbs() { | |
return 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
1. call scrollup.js on your file | |
2. call css code on style.css | |
3. active scroll up |
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
jQuery('.main_menu ul li a[href^="#"]').on('click',function (e) { | |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | |
&& location.hostname == this.hostname) { | |
var $target = $(this.hash); | |
$target = $target.length && $target | |
|| $('[name=' + this.hash.slice(1) +']'); | |
if ($target.length) { | |
var targetOffset = $target.offset().top; | |
$('html,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
<?php | |
if( is_category() ){ | |
single_cat_title(); | |
}elseif( is_tag() ){ | |
single_tag_title(); | |
}elseif( is_author() ){ | |
the_post(); | |
echo 'Author Archive: '.get_the_author(); | |
rewind_posts(); | |
}elseif( is_day() ){ |
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 | |
<?php if () : ?> | |
<?php else : ?> | |
<?php endif; ?> | |
<?php echo get_template_directory_uri(); ?> | |
<?php the_post_thumbnail('add_image_size'); ?> |
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 if(have_posts()) : ?> | |
<?php while(have_posts()) : the_post(); ?> | |
<h3><?php the_title(); ?></h3> | |
<?php the_content(); ?> | |
<?php endwhile; ?> | |
<?php else : ?> | |
<h2>404 Not Found !</h2> | |
<?php endif; ?> | |
<?php if(function_exists('wp-pagenavi')){wp-pagenavi();} else {include('navigation.php');} ?> |