WordPress.org

Ready to get started?Download WordPress

Forums

Currencyr
Remove The "GBP" "EUR" etc Tag From Shortcode Conversions (3 posts)

  1. MrCultivator
    Member
    Posted 9 months ago #

    Yo firstly you're the man for making this plugin and I owe you big time.

    One thing I want to do though is remove the currency tag from the tooltip conversion so instead of it showing:

    49.99 GBP

    I want it just to show the converted figure:

    49.99

    How do I remove the GBP tag from the output conversion??

    http://wordpress.org/plugins/currencyr/

  2. MrCultivator
    Member
    Posted 9 months ago #

    not tooltip *shortcode

  3. MrCultivator
    Member
    Posted 9 months ago #

    EDIT: SOLVED

    Remove '$s' from line 758 of "class-currencyr.php"

    $out[] = sprintf( '%s %s', number_format( $a, $this->precision, $this->decimal, $this->thousand ), strtoupper($s) );

Reply

You must log in to post.

About this Plugin

About this Topic