• I am using one of the Title Images plugins and I have a slash in each title that happens to have an apostrophe (‘) or quotes (“) in the title. It shows up with ugly slashes in the headline.
    I know there is a function stripslashes() but I don’t know where to edit and stick this thing to get rid of my slashes.
    Help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter davedorm

    (@davedorm)

    OK, thanks to Skippy on the #wordprss channel in IRC, we have a fix for the slashes.
    Add this before the image_title call
    <?php $post->post_title = stripslashes($post->post_title); ?>
    Did the trick. Yup, yup, yup!

    I’m a little late posting here actually..
    A few versions ago I fixed that little bug in TitleImages2, so nobody needs to worry about this anymore.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slashes in Title Images’ is closed to new replies.