Home Forums Free Themes Travel Gem Change the Font of Currency

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #90881
    Travelclub
    Participant

    Hi,

    How can I change the Currency language OF Qatari Riyal from Arabic to English?

    #90886
    wensolutions
    Keymaster

    Hello @travelclub,

    To change the Currency language, you have to go through the child theme.

    To know how you can create and activate the child theme, please refer to below given link:

    https://wptravel.io/how-to-create-a-child-theme/

    After activating the child theme in your child theme functions.php file add below given code.

    function wp_travel_customize_currency( $currency ) {
    $currency['QAR'] = 'English';
    return $currency;
    }
    
    add_filter( 'wp_travel_currency_symbols','wp_travel_customize_currency' );

    Here change the “English” to your desired text.

    Hope this helps.

    Best Regards!!

    #90942
    Travelclub
    Participant

    Thanks for assisting, it worked!!

    #90987
    wensolutions
    Keymaster

    Hello @travelclub,

    Glad we could help you.

    If you have any issues further then please let us know.

    Thank you.

    Best Regards!!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.