Excerpt, show custom field under the title and between the excerpt
-
Dear users!!!
First of all I would like to express my delight of using this theme and I am really thankful to its superb author!I am wondering whether is it possible in content.php to add a line of code to add another part of the_content, for example if my post has a few <div></div> areas, I would like to show a specific <div> in post preview on a homepage
So on the blog homepage below the title part and in between the excerpt part I would want to show for example a “subtitle” or a custom field
How would I do that?
I think that I need to add something here
<div class=”post-meta group”>
<p class=”post-category”><?php the_category(‘ / ‘); ?></p>
<p class=”post-date”><?php the_time(‘j M, Y’); ?></p>
</div><!–/.post-meta–><h2 class=”post-title”>
” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?>
</h2><!–/.post-title–><?php if (ot_get_option(‘excerpt-length’) != ‘0’): ?>
<div class=”entry excerpt”>
<?php the_excerpt(); ?>
</div><!–/.entry–>
- The topic ‘Excerpt, show custom field under the title and between the excerpt’ is closed to new replies.