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(document).ready(function($){ | |
$(".all-portfolios").isotope({ | |
itemSelector: '.single-portfolio', | |
layoutMode: 'fitRows', | |
}); | |
$('ul.filter li').click(function(){ | |
$("ul.filter li").removeClass("active"); | |
$(this).addClass("active"); |
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 | |
// WP_Query arguments | |
$args = array ( | |
'post_type' => 'post', | |
'post_status' => 'publish', | |
'posts_per_page' => 10, | |
'nopaging' => true, | |
'order' => 'ASC', | |
'orderby' => 'menu_order', |
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 | |
function custom_post_taxonomy(){ | |
register_taxonomy( | |
'service_category', // unic name | |
'Service', // আপনি যে custom post এর আন্ডারে taxonomy করছেন সেই custom post এর register_post_type টি এখানে দিতে হবে । | |
array( | |
'label' =>'Service Category', // Display name |
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 | |
function register_custom_posts(){ | |
register_post_type('services', | |
array( | |
'labels' =>array( | |
'name' =>('Services'), // Display Name | |
'singular-name' =>('Service'), |
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_theme_support('post-formats',array('gallery', 'aside', 'image', 'audio', 'video')); | |
add_theme_support('post-thumbnails'); | |
add_image_size('protfolio-thumb',330,250,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
<?php | |
if ( ! function_exists( 'theme_function_name' ) ) : | |
function theme_function_name(){ | |
// style sheet dynamic | |
wp_enqueue_style('bootstrap', get_template_directory_uri().'/css/bootstrap.min.css', array(), '3.1.0', 'all'); | |
wp_enqueue_style('flipmart-main-css', get_stylesheet_uri() ); | |
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 | |
// function.php | |
function double_shortcode($atts, $content = null){ | |
extract( shortcode_atts( array( | |
'category' => '', | |
'count' => '', | |
'title' => '', | |
'des' => '', |
OlderNewer