WordPress.org

Support

Support » Themes and Templates » ALA’s dynamic image replacement problem

ALA’s dynamic image replacement problem

  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • All I’m seeing is your “simple theme”. I don’t know what to look for.

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

    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.

    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)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ALA’s dynamic image replacement problem’ is closed to new replies.