Uwe Jacobs
Forum Replies Created
-
Forum: Plugins
In reply to: [OWM Weather] German Translation wronStimmt, das ist ein Tippfehler.
I am going to fix this translation with the next release. I will also look into the line break.
Thanks for reporting this issue.
Forum: Plugins
In reply to: [OWM Weather] Place all the weather info on top barGreat. Thanks for the update.
Forum: Plugins
In reply to: [OWM Weather] Place all the weather info on top barI was able to get to your site and check things out. I will provide an update to OWM Weather shortly that fixes the date and time value for your special case. Once you have installed the update, replace the contents of custom1.php with this:
<?php echo '<style>.owmw-main-symbol.owmw-symbol-svg { margin-top: -30px; }</style>'; echo '<table id="owmw-custom-navbar"><tbody><tr>'; echo '<td class="owmw-custom-date">' . esc_html($owmw_data["today_day"]) . '</td>'; echo '<td class="owmw-custom-symbol">' . wp_kses($owmw_html["now"]["symbol"], $owmw_opt['allowed_html']) . '</td>'; echo '<td class="owmw-custom-temperature">' . esc_html($owmw_data["temperature"] . $owmw_data["temperature_unit_character"]) . '</td>'; echo '<td class="owmw-custom-location">' . esc_html($owmw_data["name"]) . '</td>'; echo '</tr></tbody></table>';
Forum: Plugins
In reply to: [OWM Weather] Place all the weather info on top barI don’t have access to wp.haldway.com.
Forum: Plugins
In reply to: [OWM Weather] Place all the weather info on top barThe owm-weather/content-owmweather-custom1.php file should look something like that to get close to your desired layout. I added an id for the table and classes for each element so you can fine-tune via CSS.
<?php echo '<table id="owmw-custom-navbar"><tbody><tr>'; echo '<td class="owmw-custom-date">' . date("F d, Y H:i", $owmw_data[timestamp]) . '</td>'; echo '<td class="owmw-custom-symbol">' . $owmw_html[now][symbol] . '</td>'; echo '<td class="owmw-custom-temperature">' . $owmw_data[temperature] . $owmw_data[temperature_unit_character] . '</td>'; echo '<td class="owmw-custom-location">' . $owmw_data[name] . '</td>'; echo '</tr></tbody></table>';
Forum: Plugins
In reply to: [OWM Weather] Place all the weather info on top barI suggest creating a custom template from scratch instead trying to force an existing template via CSS. This way you have full control over the contents, order, and layout. The fields you need for your specific layout are:
- $owmw_data[timestamp]
- $owmw_html[now][symbol]
- $owmw_data[temperature]
- $owmw_data[temperature_unit_character]
- $owmw_data[name]
Let me know in case you need anything else.
Forum: Plugins
In reply to: [OWM Weather] Incorrect or Odd Data Unable to CorrectDo you have a URL where I could look at the issue?
Forum: Plugins
In reply to: [OWM Weather] Best way to remove “current” title?Thanks for confirming and posting your CSS.
Forum: Plugins
In reply to: [OWM Weather] Best way to remove “current” title?Hi,
Below CSS code should bring you close to your desired layout. Enter it in the Weather post settings under the Layout tab. It hides the “Current” header and pulls the info card all the way to the left..fs-3.opacity-75.mt-3 { display: none; } .owmw-current-infos.card { margin-right: 0; margin-left: 0; }
I’ll add more options for these in one of the next releases.
Forum: Reviews
In reply to: [OWM Weather] OWM Weather – It works.Thanks for your kind review, Pepper.
Unfortunately, the Geo-location is reported by the browser and OWM Weather has no control over it. You can check the reported location at https://ujsoftware.com/owm-weather-blog/geo-and-ip-location-test/.Forum: Reviews
In reply to: [OWM Weather] Wow! amazingThanks for your kind review!
Forum: Plugins
In reply to: [OWM Weather] City from custom field?The functionality has been added to version 5.6.11. Please update to this version and then use ‘@address’ in the “search by city name” field.
Forum: Plugins
In reply to: [OWM Weather] City from custom field?In the next couple of days. I am already testing it in a development environment.
Forum: Plugins
In reply to: [OWM Weather] City from custom field?Hi,
WordPress plugins sanitize all input fields to prevent the execution of any malicious code.
In one of the next releases, I am going to add a feature that allows using a custom field name for the city input. Then you would enter “@address” in the city name field and the plugin reads the custom field “address” to get to the city name.
Forum: Plugins
In reply to: [OWM Weather] PHP Fatal errorThanks for reporting the issue. Please update to version 5.6.10 and try again.