WordPress Function

  1. Jquery Include

    <?php wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ); ?>

2. Thumbnail Image

<?php the_post_thumbnail();?>

<?php  the_post_thumbnail(‘thumbnail’);  ?>

<?php  the_post_thumbnail(‘medium’);   ?>

<?php the_post_thumbnail(‘large’);      ?>

<?php the_post_thumbnail(‘full’);?>

    <?php the_post_thumbnail( array(100,100) );?>
3. Get Template Url 
    <?php get_template_directory(); ?> 
    <?php get_template_directory_uri(); ?>
0

Leave a Reply

Your email address will not be published.
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>