• Resolved moza24

    (@moza24)


    Hi

    I have a problem with apostrophes, from basic WordPress converts the right apostrophes into curved apostrophe when I write an article.
    In WP job manager it does not do the same thing, here is an example there are 2 types of apostrophe in the front

    View post on imgur.com

    is it possible to solve this problem?

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Richard Archambault

    (@richardmtl)

    I think you’re actually seeing this bug:

    https://core.trac.ww.wp.xz.cn/ticket/17926

    Try this plugin and then re-save the job listing. Give that a shot and let me know how it goes!

    https://ww.wp.xz.cn/plugins/wpuntexturizes

    Thread Starter moza24

    (@moza24)

    no me it’s the opposite, in the blog part WP automatically changes the apostrophes but in the WP Job Manager part it is not changed, I would like WP Job Manager changes them also automatically, I want on my complete site the apostrophes be curved

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Oh! Hmm, I don’t know how you could do that. Maybe this will work?

    https://ww.wp.xz.cn/plugins/wp-typography/

    Or maybe this really old plugin? https://ww.wp.xz.cn/plugins/smart-quotes/

    I’d suggest making a full backup of your site before trying these, or trying them on a staging or test site first.

    I can only speak for wp-Typography, but it won‘t change any of your stored content – all typographic adjustments happen on output only.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    @pputzer So do you think wp-Typography could solve his issue? Sounds like you’re only saying “don’t worry about the DB being messed up if you use wp-Typography”, right?

    @richardmtl: Without testing, I can indeed only promise that wp-Typography will not mess up your content and will clean up after itself if you uninstall it. I don’t know what filter hooks are used by WP Job Manager. (The default hooks on which wp-Typography is enabled by default can be seen here. You can also add additional hooks via add_filter( 'my_hook', [ 'WP_Typography', 'process' ] ); or directly call the API in your templates for even greater control.)

    Caveat: wp-Typography has a required minimum PHP version of 5.6.

    I was actually looking to get rid of the curved apostrophes, as my selected font doesn’t support them. So, I added this to my child themes functions.php.

    remove_filter( ‘the_title’, ‘wptexturize’ );

    If you want to use curved apostrophes somewhere that wordpress isn’t doing the conversion for you,

    https://codex.ww.wp.xz.cn/Function_Reference/wptexturize

    Plugin Contributor Richard Archambault

    (@richardmtl)

    I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Problem with single quotes’ is closed to new replies.