• Hey Zack,

    I’ve been through the documentation and these forums a bit as well and I don’t see anything about displaying the units alongside the temperature.

    Would you be able to tell me what I’m missing?

    I thought I might be able to go into the high-low.html template and add it myself manually, but I’m not familiar with the syntax of the Twig template engine.

    Thanks a lot,
    Mike

    https://wordpress.org/plugins/wunderground/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter emailmike1994

    (@emailmike1994)

    I should add the shortcode I’m using just in case that would provide a clue as to what I’m doing wrong:

    [wunderground location="Dalanzadgad, Mongolia" location_title="Dalanzadgad, Mongolia" iconset="Elemental" numdays="3" layout="simple" measurement="c" showdata="daynames,highlow,icon,text,conditions"]

    Hi Mike, I needed the same thing but managed to figure it out how.

    In wunderground/inc/class-template.php, on lines ~72~73,

    change

    'high' => __('High %d°', 'wunderground'),
    'low' => __('Low %d°', 'wunderground'),

    To your liking. The %d displays the number digits, the ° displays a degree character. To show C or F unit, type it after °

    the degree character codes got displayed 😛 I meant this:

    °

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Displaying Units (F/C)’ is closed to new replies.