get_the_title & ’ & switch (1 post)

  1. Igor Yavych
    Posted 4 years ago #

    Some I've got a little problem. I need to get title of post and then depending on title (using switch) some actions are done.
    To get title I use get_the_title function, but received title doesn't trigger case of switch. If I just write
    $episode_title="title here"
    case is triggered as it is supposed to.
    Title is "Queen’s Blade: Rebellion" and I suspect problem is because of ’. I also tried using html code for this thing which is apparently called "Right single quotation mark" and case still wasn't triggered. Does anyone knows any solution?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.