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 | |
//---------------------------------------------------------- | |
'.get_the_title().' | |
'.get_the_content().' | |
'.get_the_excerpt().' | |
'.get_the_author().' // author এর নাম আনার জন্য | |
'.get_author_posts_url(get_the_author_meta('ID')).' // author এর নাম এর সাতে লিঙ্ক আনার জন্য | |
'.get_avatar(get_the_author_meta('ID'), 60).' // avata থেকে user এর ছবি আনার জন্য | |
'.get_the_date().' |
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 : ?> |
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 single_shortcode( $atts, $content = null ) { | |
extract( shortcode_atts( array( | |
'title' => '', | |
'des' => '', |
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' => '', |
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 | |
add_theme_support('post-formats',array('gallery', 'aside', 'image', 'audio', 'video')); | |
add_theme_support('post-thumbnails'); | |
add_image_size('protfolio-thumb',330,250,true); | |
?> |