Viewing 4 replies - 1 through 4 (of 4 total)
  • I am also looking for this fix. And is it possible to remove actual day from the 7 day forecast? Or at least name it today and not by the name of the day.

    I’m looking for some fix also. Actually I’m trying to find some piece of code in plugin where can I change this…

    Temporary fix

    Edit the following file on this path:
    /wp-content/plugins/wunderground/templates/snippets/title.html

    FROM

    {% if showdata.daynames is not empty %}
    	{% if forecast.title is not empty %}
    		<{{tag}} class="wu-day-title">{{ forecast.title }}</{{tag}}>
    	{# Sometimes PWS stations don't have the title available #}
    	{% elseif summary.date.weekday is not empty %}
    		<{{tag}} class="wu-day-title">{{ summary.date.weekday }}</{{tag}}>
    	{% else %}
    		<{{tag}} class="wu-day-title">{{ strings.currently }}</{{tag}}>
    	{% endif %}
    {% endif %}

    TO

    {% if showdata.daynames is not empty %}
    	{% if summary.date.weekday is not empty %}
    		<{{tag}} class="wu-day-title">{{ summary.date.weekday }}</{{tag}}>
    	{% elseif forecast.title is not empty %}
    		<{{tag}} class="wu-day-title">{{ forecast.title }}</{{tag}}>
    	{# Sometimes PWS stations don't have the title available #}
    	{% else %}
    		<{{tag}} class="wu-day-title">{{ strings.currently }}</{{tag}}>
    	{% endif %}
    {% endif %}

    THEN wait cca 30-60 mins for Wunderground cache refresh, and finally voilà since change just ‘names of days’ in a title…

    meky01,

    Your solution is working, thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change tomorrow in dayname’ is closed to new replies.