I am having a small problem with the excerpt and ‘read more’ function.
My theme is a custom theme and i am trying to fix this problem without using a plugin (but if i have to use a plugin then i will)…
My ‘read more’ link must sit on the same line as my excerpt, but my excerpt is totally separate to the post copy which is why i cant use the ‘more’ tag on the posts.
So instead i am placing;
<a href="<?php echo get_permalink(); ?>"> Read more » <?php echo get_the_title(); ?></a>
<?php the_excerpt(); ?>
The problem i am facing now is that the ‘read more’ link comes on the next line, but i really want it to be placed on the same line as the excerpt…
I understand this is not easy because the excerpt function is automatically placed into a <p>…
I am wondering if there is any way round this? That is without changing the core functions of wordpress.. of course there might be a way to do it there, but when i upgrade i will have to do it again..
I would be very grateful if anyone out there has a solution for this, because i have search everywhere without luck…
- The topic ‘Excerpt and 'read more' on the same line?’ is closed to new replies.