This file contains 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
/* Medium Layout: 1280px. */ | |
@media only screen and (min-width: 992px) and (max-width: 1200px) { | |
} | |
/* Tablet Layout: 768px. */ | |
@media only screen and (min-width: 768px) and (max-width: 991px) { | |
} |
This file contains 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 | |
function portfolios_shortcode($atts){ | |
extract( shortcode_atts( array( | |
'expand' => '', | |
), $atts) ); | |
global $paged; | |
$posts_per_page = 6; | |
$settings = array( | |
'showposts' => $posts_per_page, |
This file contains 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
<? | |
$name=$_POST['name']; | |
$Email=$_POST['email']; | |
$website=$_POST['url']; | |
$message=$_POST['message']; | |
$body .= "Name: " . $name . "\n"; | |
$body .= "Email: " . $Email . "\n"; | |
$body .= "Website: " . $website . "\n"; | |
$body .= "Message: " . $message . "\n"; |
This file contains 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
// owl dot number enable | |
var i = 1; | |
$('.owl-carousel .owl-dot').each(function(){ | |
$(this).text(i); | |
i++; | |
}); | |
//way two |
This file contains 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 for dynamic title***************************************************************************// | |
<title><?php bloginfo('name'); ?></title> | |
///***php for images and jequery slider******************************************************// | |
<?php echo get_template_directory_uri(); ?>/ | |
//php for css***********************************************// |
This file contains 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 | |
/*this is for init default jquery*/ | |
function various_theme_jquery() { | |
wp_enqueue_script('jquery'); | |
} | |
add_action('init', 'various_theme_jquery'); | |
/*this is to enqueue js and css*/ |
This file contains 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(); ?> | |
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<div class="post-header"> | |
<div class="date"><?php the_time( 'M j y' ); ?></div> | |
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> | |
<div class="author"><?php the_author(); ?></div> | |
</div><!--end post header--> | |
<div class="entry clear"> | |
<?php if ( function_exists( 'add_theme_support' ) ) the_post_thumbnail(); ?> |
OlderNewer