• Resolved Caleb Weeks

    (@calebweeks)


    Hello Yoast Team, ??

    Question: Do you know if it would be possible to change the “inch marks” in the breadcrumbs to “smart quotes”?

    Screenshot: https://cl.ly/c32bf400dce0

    The smart quotes are achieved on a Mac by pressing “Option+Left Bracket” and “Option+Shift+Left+Bracket” (for the close quote).

    Thanks for writing back whenever able, as able! It may not be possible (and that’s okay!) but I thought I’d ask.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jerlyn

    (@jerparx)

    Hi @calebweeks!

    For Yoast Breadcrumbs, unfortunately, there is no way to modify the inch marks to smart quotes (“ ”) from within the plugin. However, if you are a developer, you can go to /plugins/wordpress-seo-premium/frontend in your server, edit the file class-breadcrumbs.php and look for the following line of code (usually line 408):

    WPSEO_Options::get( 'breadcrumbs-searchprefix' ) . ' "' . esc_html( get_search_query() ) . '"',

    Change the 2 inch quotes into smart quotes as shown in this screenshot.

    NOTE: This is for advanced users and developers. Incorrect modifications might result in a broken plugin. Also, any modification done to this file will get overwritten when the plugin is updated.

    • This reply was modified 5 years, 12 months ago by Jerlyn.
    Thread Starter Caleb Weeks

    (@calebweeks)

    Thanks @jerparx!

    Happy to know where this code lives.

    Question: Can you think of any way to modify this without directly editing the plugin code? Perhaps via a function of some kind?

    YOAST SEO gets regular updates and I would be constantly (manually) editing this, haha.

    Thank you for your reply(!), and no expectation on my follow up question here in this note. I know this is a freely supported forum and even getting a reply is kind enough, so no worries.

    Thanks, @jerpax! ??

    • This reply was modified 5 years, 12 months ago by Caleb Weeks.
    MariusG

    (@marius_codeinwp)

    Hi Caleb,

    Unfortunately, we do not know of any other way. However, if you believe this would be useful to others as well, then you can submit a feature request.

    ?Please let us know if you have any other questions or need any help.

    Thread Starter Caleb Weeks

    (@calebweeks)

    Thanks, @marius_codeinwp!

    Feature Request submitted. Thanks for that tip!

    I think it is just a quick edit rather than an entire request, but it may be that the team specifically wanted inch marks instead of quotation marks. Either way, thank you, again! ??

    • This reply was modified 5 years, 11 months ago by Caleb Weeks. Reason: Added link to Feature Request on Github
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change Breadcrumb “inch marks” to quotation marks (smart quotes)’ is closed to new replies.