Last active
December 4, 2016 15:58
-
-
Save mustafix/ede1ce0122d7a76ef0eb8304674ef6b7 to your computer and use it in GitHub Desktop.
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().' | |
'.get_permalink().' | |
'.do_shortcode( get_the_title() ).' | |
'.do_shortcode( get_the_content() ).' | |
'.do_shortcode($content).' | |
'.do_shortcode('[t_thumb category="'.$category.'"]').' | |
//---------------------------------------------------------- | |
$protfolio_thumb = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'protfolio-thumb' ); | |
'.$protfolio_thumb[0].' | |
$variable=get_the_post_thumbnail($post->ID, 'variable', true); | |
//custom field ব্যবহার করার জন্য | |
$idd = get_the_ID(); | |
$variable = get_post_meta($idd, 'variable', true); | |
<i>fa-fa- '.$variable.' ?></i> | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment