Title: Shortcode not working
Last modified: September 28, 2026

---

# Shortcode not working

 *  Resolved [helixear](https://wordpress.org/support/users/helixear/)
 * (@helixear)
 * [3 days, 1 hour ago](https://wordpress.org/support/topic/shortcode-not-working-489/)
 * WordPress 7.1.1 in french with [Twenty Twenty-Five](http://localhost:8888/wp_caulet/wp-admin/themes.php)
   and no plugin
   Local with MAMP
 * Hi there,
   I am trying to insert a shortcode block into a page with arguments 
   that uses  the usual quotes ” (&quot;). When displayed, the code is altered and
   does not work: the quotes have been replaced by closing French quotation marks(»),
   and the shortcode fails to function.Your personal AI assistant told me that the
   typographic transformation would be responsible and that it was a wp real limitation.
   Is there a solution ?
 * ![](https://i0.wp.com/www.caulet.ch/images/Shortcode-misinterpreted.jpg)

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

 *  [Abdul Wahab Taqi](https://wordpress.org/support/users/abdulwahabtaqi/)
 * (@abdulwahabtaqi)
 * [3 days ago](https://wordpress.org/support/topic/shortcode-not-working-489/#post-19031519)
 * This doesn’t look like expected WordPress shortcode behavior. WordPress should
   preserve straight quotes inside a Shortcode block.
 * Could you confirm whether the quotes are already changed immediately after saving
   the post, or only when the page is displayed?
 * Also, does the same shortcode work correctly if you:
    - insert it using a **Custom HTML** block,
    - paste it in the **Code Editor** (`⋮ → Code editor`),
    - or temporarily switch your site language to English?
 * That would help determine whether the conversion is coming from the editor, the
   French locale/typography, or the rendering stage.
 *  [Abdul Wahab Taqi](https://wordpress.org/support/users/abdulwahabtaqi/)
 * (@abdulwahabtaqi)
 * [3 days ago](https://wordpress.org/support/topic/shortcode-not-working-489/#post-19031520)
 * the straight quotes (`"`) are being replaced with French typographic quotes (`»`).
   Shortcodes require **straight ASCII quotes**, so once they’re changed, the shortcode
   parser no longer recognizes the attributes.
 *  Thread Starter [helixear](https://wordpress.org/support/users/helixear/)
 * (@helixear)
 * [2 days, 2 hours ago](https://wordpress.org/support/topic/shortcode-not-working-489/#post-19032343)
 * Thank you Abdul for your suggestions. I apologize, as it seems the “display-posts”
   shortcode was available by default only to WordPress.com users—which I am not!
   
   In any case, your suggestion to switch the site language was the right one. I
   ended up installing the “display-posts-shortcode” plugin, and everything is working
   fine now. Have a nice day.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-not-working-489%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

## Tags

 * [rendering](https://wordpress.org/support/topic-tag/rendering/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [helixear](https://wordpress.org/support/users/helixear/)
 * Last activity: [2 days, 2 hours ago](https://wordpress.org/support/topic/shortcode-not-working-489/#post-19032343)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
