Converting woo_get_image to the_post_thumbnail
-
IM using the Woo Headlines Theme and I am trying to convert the code for the posts featured image to wordpress default one and not woothemes featured image.
The problems I am having is I can get the pictures resized or aligned. I also can get the css wrap box around it like in the themes default image.
Right now Im using <?php the_post_thumbnail(‘thumbnail ‘.$GLOBALS[‘align’]); ?>
and I have these functions in my functions.phpadd_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 200, 200, true ); // Normal post thumbnails
add_image_size( ‘single-post-thumbnail’, 400, 9999 ); // Permalink thumbnail sizeHAs anybody accomplished this? If so could you help me.
- The topic ‘Converting woo_get_image to the_post_thumbnail’ is closed to new replies.