Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Adding Comment CSS
- Pastebin Link for CSS: http://pastebin.com/VaxfkmMe
- functions.php
- For enable comment
- function comment_scripts(){
- if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
- }
- add_action( 'wp_enqueue_scripts', 'comment_scripts' );
- For enable featured image
- add_theme_support( 'post-thumbnails', array( 'post' ) );
- for enable crop feature
- set_post_thumbnail_size( 200, 200, true );
- add_image_size( 'post-image', 150, 150, true );
- post-loop.php
- Using Featured Image
- <?php the_post_thumbnail('post-image', array('class' => 'post-thumb')); ?>
- Tutorial Link: http://rrfoundation.net/342
- Source Theme Download Link: http://sdrv.ms/T4THqZ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement