Title: __CODE__ markup
Last modified: February 28, 2021

---

# __CODE__ markup

 *  Resolved [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * (@jonathanmoorebcsorg)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/__code__-markup/)
 * when replacing __CODE__ why not add a little markup for it, eg instead of:
    `
   $price_html = str_replace('__CODE__', $this->current_currency, $txt);` use: `
   $price_html = str_replace( '__CODE__', '<span class="ccy-code">' . $this->current_currency.'
   </span>', $txt );`
 * This would make the currency codes easier to target for css etc

Viewing 1 replies (of 1 total)

 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/__code__-markup/#post-14117409)
 * Hello
 * Ok! I will pass your idea to the developers

Viewing 1 replies (of 1 total)

The topic ‘__CODE__ markup’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/__code__-markup/#post-14117409)
 * Status: resolved