<article class="home-article-bottom"> <div class="home-article-images-bottom"> <?php if (function_exists('wpjam_has_post_thumbnail')) { ?> <a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "> <?php wpjam_post_thumbnail(array(220, 140), $crop = 1); ?> </a> <?php } else { ?> <a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "> <?php the_post_thumbnail('home-article-images-bottom', array('alt' => trim(strip_tags($post->post_title)))); ?> </a> <?php
} else { ?> <article class="entry"> <div class="entry-thumb"> <?php if (function_exists('wpjam_has_post_thumbnail')) { ?> <a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "> <?php wpjam_post_thumbnail(array(140, 100), $crop = 1); ?> </a> <?php } else { ?> <a href="<?php the_permalink(); ?> "> <?php the_post_thumbnail('mobile-images', array('alt' => trim(strip_tags($post->post_title)), 'title' => trim(strip_tags($post->post_title)))); ?> </a> <?php }
?> </a> </h2> <div class="home-article-images-top"> <?php if (function_exists('wpjam_has_post_thumbnail')) { ?> <a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "> <?php wpjam_post_thumbnail(array(480, 280), $crop = 1); ?> </a> <?php } else { ?> <a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "> <?php the_post_thumbnail('home-article-images-top', array('alt' => trim(strip_tags($post->post_title)))); ?>
$postslist = get_posts('numberposts=8&order=DESC&orderby=comment_count'); foreach ($postslist as $post) { ?> <li> <div class="sidebar-default-box-images"> <?php if (function_exists('wpjam_has_post_thumbnail')) { ?> <a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "><?php wpjam_post_thumbnail(array(80, 60), $crop = 1); ?> </a> <?php } else { ?> <a href="<?php the_permalink(); ?> " title="<?php the_title_attribute(); ?> "> <?php the_post_thumbnail('default-box-images', array('alt' => trim(strip_tags($post->post_title)))); ?>
function wpjam_manage_posts_custom_column_show_thumbnail($column_name, $id) { if ($column_name == 'thumbnail') { wpjam_post_thumbnail(array(60, 60)); } }