Title: Short code not working
Last modified: August 22, 2016

---

# Short code not working

 *  Resolved [jayford](https://wordpress.org/support/users/jayford/)
 * (@jayford)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/short-code-not-working-27/)
 * Hi,
 * Great plugin sir.
 * I tried to put this plugin in my header but it won’t work.
 * I used this code <?php echo do_shortcode(‘[woocs width=’50px’] ‘); ?> but it 
   returns an error.
 * Thank you so much
 * [https://wordpress.org/plugins/woocommerce-currency-switcher/](https://wordpress.org/plugins/woocommerce-currency-switcher/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [RealMag777](https://wordpress.org/support/users/realmag777/)
 * (@realmag777)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/short-code-not-working-27/#post-5788599)
 * Hello
    You have wrong syntax? use next please: <?php echo do_shortcode(“[woocs
   width=’50px’]”); ?>
 * Quotes makes sense 😉

Viewing 1 replies (of 1 total)

The topic ‘Short code not working’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-currency-switcher/assets/icon-256x256.png?rev
   =2844633)
 * [FOX - Currency Switcher Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-currency-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-currency-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-currency-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-currency-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-currency-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-currency-switcher/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [RealMag777](https://wordpress.org/support/users/realmag777/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/short-code-not-working-27/#post-5788599)
 * Status: resolved