WordPress.org

Ready to get started?Download WordPress

Forums

ALA's dynamic image replacement problem (5 posts)

  1. skeen
    Member
    Posted 8 years ago #

    Hi peoples.

    I am having some trouble with ALA's dynamic image replacement script. Curly quotes seem to be screwing up the header, not rendering it as an image.

    It was originally fine...I don't know what's changed. Check it out.

  2. Michael Bishop

    Posted 8 years ago #

    All I'm seeing is your "simple theme". I don't know what to look for.

  3. skeen
    Member
    Posted 8 years ago #

    You'll notice that the text '"exclusive' and 'charity"' aren't being rendered as images due to their curly quotes.

  4. Instead of using <?php the_title(); ?> or whatever to display the post's title, try using this code:

    <?php echo $post->post_title; ?>

    Pretty sure that'll cause the title to be outputted with no formatting applied to it such as curly quotes.

  5. Michael Bishop

    Posted 8 years ago #

    AH, sorry. I think the OP wants to have the curly quotes in the post. may have to escape the quotes inside the string (like I really know what I'm talking about)

Topic Closed

This topic has been closed to new replies.

About this Topic