I am using the theme 'Css Gallery' by os designer. I want to show some excerpt from the post below each image. Is it possible? http://freelogosdownload.com
Short answer is Yes, it can be achieved. Within the post loop, (I see this is WordPress) add the "text" (I assume this would be a custom field value or the post excerpt) right above the following lines: <div class="clear"></div> </div><!-- Item Div --> Code (markup):
Thanks guys. But I was wondering if it is possible to show different text below different images. Right now, whatever text is entered above the code gets displayed below every images.
To have different text show under each image, save that text in form of custom post field, and then use the following code to output the values: echo get_post_meta($post->ID, 'enter_custom_field_name_here', true); PHP:
you can always set a div class for it to be able to do that. By the way, what would you like to include in? Caption? or just standard text?
Did some googling and came accross this code <div class="excerpt"> <?php the_excerpt('Read the rest of this entry »'); ?> </div> PHP: and my job is done. Thanks guys, I thought it was impossible!