If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
September 29, 2010 at 11:50 pm #1371
Hi, loving the theme, and using it on a new blog my wife and i are setting up. Just one question so far.
When I add a caption to the images so they display on the slideshow I don;t seem to be able to use apostrophes ( ‘ ), the text will just cut off at the first one.
The sentence ” This is from Linda’s blog ” will display simply as ” This is from Linda “
Obviously the ‘ is being interpreted as an instruction.. not sure if this is a theme problem, or just a general thing with WordPress that I haven’t come across before.October 1, 2010 at 3:17 pm #35023
Apostrophes ( ‘ ) are used in PHP code and having them as part of the text content can cause problems as it stops the script at that point. In some cases, this would cause a Parse Error to occur and you’d get a white screen instead of the page loading.
Try adding a backslash ( ) before the character (in PHP code that’s how you force an apostrophe to appear in an echo (print to screen) statement which removes the conflict with the code.
If this doesn’t work can you point me to a page where this problem occurs, I’ll have a look at the underlying code and see if I can help.
JamesOctober 18, 2010 at 12:20 pm #35024
Still not working for me. Check out the 5th image on this page: http://playtogetherstaytogether.co.uk/?p=16October 18, 2010 at 2:13 pm #35025
Try to use & #39; or & apos; (without space between & and # or & and a) instead of an apostrophe ( ‘ ).October 18, 2010 at 7:37 pm #35026October 19, 2010 at 7:33 am #35027January 19, 2012 at 10:53 am #35028
this may sort the problem for apostrophes, but what about the é, è à ù etc…
where can i find a list of the replacement codes for these ?
btw : I’m trying to sort this out for Propulsion, maybe there is another trick for that them ?
thanks for advising.
JohnJanuary 19, 2012 at 4:30 pm #35029January 22, 2012 at 1:49 pm #35030
thanks, that was very helpful and it worked.
Would be nice to include a correction of that problem on a wishlist for upcoming theme though.
johnJanuary 23, 2012 at 7:26 am #35031
The topic ‘Use of apostrophes in Image Captions.’ is closed to new replies.