Home › Forums › General Issues › Apostrophe/single quote issue › Reply To: Apostrophe/single quote issue
Old question, but some additional information. WP is converting the single quote in the title to a special character for display, while the ACF field is not. What you’ll need to do in this case is hunt down the filters that WP is applying to post titles and apply them to the ACF field using an acf/update_value filter to make sure that the values match.
You might want to think about using a relationship or post object field because these fields store the post ID of the related post(s). This is easier to query for and will not cause problems in the future should the title of the post change or WP decides to treat them differently.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.