• Hello people, i would appreciate some help with a problem i just cant solve.

    Here is the bit of code that displays my excerpt:

    <?php the_excerpt(); ?><a href="<?php the_permalink(); ?>" title="Continue Reading: <?php the_title(); ?>">...</a>

    I have linked the “…” so that it clicks through to the full post. The problem is that the “…” seem to break under the excerpt and i cant figure a way of getting it to stay on the same line of the excerpt. Has anybody had this problem if so is there a way to solve this? cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • without some slightly tricky css its going to be on the next line because that is how it works. why not change the text on the next line from “…” to something more descriptive – try this for starters

    <?php the_excerpt(); ?><a href="<?php the_permalink(); ?>" title="Continue Reading: <?php the_title(); ?>">Continue Reading</a>

    Thread Starter craig-h

    (@craig-h)

    Thank you stvwlf, I was going to have “Continue Reading” but i think the audience of the site will know to click the article header or the “…” and the reason i am using the … is because it looks better with my site style.

    do you know what causes it to “break”? I tried looking through the wp-code and See if there was any <br /> etc but had no luck.

    Cheers

    Thread Starter craig-h

    (@craig-h)

    Some one must know a fix for this, there must some sort of <p> tag or <br /> in the code that i cant see.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘excerpt problems PLEASE HELP!’ is closed to new replies.