Hi, i would like to display the excerpt under each thumbnails on the Homepage. I have already added the code <?php the_excerpt(); ?> in the correct place in the theme-functions-php but the excerpts are not displayed. Here is the full function: function sc_thumbnails() { ?> <ul id="thumbnails"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <li> <div class="thumbnail"> <?php global $post; $memberships = array(); if (function_exists('im_get_poducts')) { $membership = im_get_poducts(); foreach ($membership as $member) { $member_id = IM_MEMBER_ID . $member->PID; $memberships[] = get_post_meta($post->ID, $member_id, false); } } $values = is_array_empty($memberships); if (!$values) { ?> <a href="<?php the_permalink(); ?>"> <img class="free-ribbon" src="<?php echo get_template_directory_uri(); ?>/images/free-ribbon.png" alt="<?php the_ID(); ?>-free-ribbon"/> </a> <?php } else { ?> <a href="<?php the_permalink(); ?>"> <img class="premium-ribbon" src="<?php echo get_template_directory_uri(); ?>/images/premium-ribbon.png" alt="<?php the_ID(); ?>-premium-ribbon"/> </a> <?php } ?> <?php if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) { ?> <a href="<?php the_permalink(); ?>"> <?php inkthemes_get_thumbnail(275, 186); ?></a> <?php } else { ?> <a href="<?php the_permalink(); ?>"> <?php inkthemes_get_image(275, 186); ?> </a> <?php } ?> <a href="<?php the_permalink() ?>"><span></span></a> </div> <div class="clear"></div> <h6><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php echo get_the_title(); ?></a></h6> <?php the_excerpt(); ?> </li> <?php endwhile; endif; ?> </ul> <?php } The excerpt-code is bold. What do I have to Change? Thanl you for your help and regards Jens
Hi Jens, Please send us your website WordPress login details at [email protected] along with the thread link. Also, provide us some edited screenshot of your requirement. If you are unable to create screenshots then you can use www.screenpresso.com that will help you to create screenshots. Thanks, Praveen