• Resolved jland

    (@jland)


    I’ve been looking for ways to handle the “more” text.

    Right now, my code looks like this:

    <?php the_content('Full Text',' | ','FALSE',''); ?>

    This renders “Full Text | comments…”
    but in a post without using more, it comes out as
    “| comments”.

    Is there a way to not have | show up when there’s no more tag?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just a thought but try this
    <?php the_content('Full Text |','','FALSE',''); ?>

    Thread Starter jland

    (@jland)

    if I do that, then the bar is going to get linked too, and I don’t want it to be included in the link.

    I didn’t actually look up the parameters of the tag before I posted. That’s actually not the correct way to use that tag. Here is the correct way. My guess is that if you look further down your template you’ll see where your comment link is preceded by a |. Just do a quick find of all the | in your template file.

    Thread Starter jland

    (@jland)

    oh my bad. the | wasn’t made by the script in the_content code but by another | further down.

    but then how do I make the | show up IF there’s a more link and not show up if there’s no more link AND not be included as part of the more link?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘a picky “more” problem’ is closed to new replies.