Problem adding custom post type thumbbnails to home template.
Im trying to insert a thumbnail image from a custom post type in my home page template (home.php).
So far, Ive got the list of pages with links but the thumbnail image does not show. I use the same code in a sidebar so i know it should work.
any clue why this doesnt show the thumbnail image?
<a href="slug, ‘series’ ); ?>” class=”seriestitle”>
$wpq = array( ‘post_type’ => ‘tutorials’, ‘taxonomy’ => ‘series’, ‘term’ => $series->slug, ‘order’ => ‘ASC’ );
$series_posts = new WP_Query ($wpq);
posts as $post ) : ?>
<a href="ID ); ?>” class=”serieslink”>
- The topic ‘Problem adding custom post type thumbbnails to home template.’ is closed to new replies.