Title: shortcode not working in coding
Last modified: February 13, 2023

---

# shortcode not working in coding

 *  Resolved [dasword](https://wordpress.org/support/users/dasword/)
 * (@dasword)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/shortcode-not-working-in-coding/)
 * The shortcode is not displaying in html snippets and universal snippets. Recently
   text snippets have been published and can handle shortcode, but currently it 
   is full of bug that unable to save most of the time, can I know how to make shortcode
   display in html snippets instead of only displaying something [wpcode=”123″] 
   something like this?
    -  This topic was modified 3 years, 3 months ago by [dasword](https://wordpress.org/support/users/dasword/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/shortcode-not-working-in-coding/#post-16465111)
 * Hi [@dasword](https://wordpress.org/support/users/dasword/),
 * If you want the shortcode to be interpreted in Universal snippets you have to
   add it as PHP code:
 *     ```wp-block-code
       <?php echo do_shortcode( '[wpcode id="123"]' ); ?>
       ```
   
 * There is no built-in way to execute shortcodes in HTML snippets at this time 
   but I have made a note to consider adding that in a future version.
 * You mentioned you are having issues with Text snippets – we can try to help figure
   those out, please reach out using the form at [https://wpcode.com/contact](https://wpcode.com/contact)
   we’ll gladly take a look.

Viewing 1 replies (of 1 total)

The topic ‘shortcode not working in coding’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/shortcode-not-working-in-coding/#post-16465111)
 * Status: resolved