wsameer
Forum Replies Created
-
OK finally done all changes for localtime. This time new version should work correctly.
If even after setting the “Local time instead of UTC/GMT” option you’re getting UTC/GMT, the browser is possibly caching the page. Try doing Hard Refresh (Ctrl + F5) of the page.
Also request to reinstall plugin as there was a bug in calculation of current time in the local time option.
Have added ‘Local time instead of UTC/GMT’ option to the latest version. Enabling the option displays times in current timezone instead of UTC/GMT.
Forum: Plugins
In reply to: [Planetary Position] No webP-format availableHappy to know your site has this plugin working okay. There were some some issues in initial versions, which are mostly fixed now.
The webp format is actually less size than png. Not sure if its widely supported. However, if you want to change to another format / file, the file “load.js” in “widgets” folder will need changing of names of files in images folder (file names are Case-Sensitive).
1772: tab = tab + "<img src='"+plugUrl+"../images/nax7.png' />"; 1795: tab = tab + "<img src='"+plugUrl+"../images/zodiac-wheel9.png' />";
Replace “nax7.png” and “zodiac-wheel9.png” with the webp versions in those 2 lines of “load.js”, and that’s it (of course, the webp files need to be in “images” folder of plugin).
The plugin has very basic options, and setting a custom image file for zodiac wheels is not among them. But those 2 lines above are all the change thats needed for custom images.
Best Regards, Sammer
Forum: Plugins
In reply to: [Planetary Position] Insert DateSorry. Date and Time support would lead to Place support and then it would be a full Birth charting plugin.
Forum: Plugins
In reply to: [Planetary Position] depracated php errorYou can alter code functions to add static to their definition or remove DEPRECATED option.
Adding static to non static function can be issue for $this variable. Substitute with “self::$instance” where $this is placed.
I am not getting the DEPRECATED non-static warning so asking you to make code changes as you see fit.
Forum: Plugins
In reply to: [Planetary Position] depracated php errorJust did a fresh wordpress install and apparently i was mistaken thinking that wordpress came with jquey files.
It doesn’t so have added the required jquery files to plugin.
Check with latest download which contains the required jquery files.
Forum: Plugins
In reply to: [Planetary Position] depracated php errorShortcode should be used in post / page, because it sometimes does/sometimes dont work in sidebar or footer. For use in Sidebar/Footer, drag the “Planetary Position Widget” and put it in the specific sidebar location. I work with Classic Wdgets so current Block method of putting an exsiting widget to sidebar may be different.
Hope that works for you.
Forum: Plugins
In reply to: [Planetary Position] PHP fatal errorOh well, if there was some further customization required (because right now there’s just 2 options), they could be suggested and done quickly.
Forum: Plugins
In reply to: [Planetary Position] PHP fatal errorI found the solution to shortcode not working. Paste these 2 lines of code at end in the wordpress theme’s functions.php file.
add_filter( 'widget_text', 'shortcode_unautop'); add_filter( 'widget_text', 'do_shortcode');
That should make the [planets] shortcode work in Custom HTML widget.
Forum: Plugins
In reply to: [Planetary Position] PHP fatal errorSome themes don’t execute the shortcode in “Custom HTML” widget. Alternative is to use the “Planetary Position Widget” instead of shortcode. The shortcode DOES WORK in posts and pages though.
Forum: Plugins
In reply to: [Planetary Position] PHP fatal errorI got this as a warning instead of error, maybe your config is set to mark warnings as errors.
A bug in initialization of default_options variable (which was set to NULL instead of array() ).
Now fixed.
Hope you like the plugin, and i will appreciate feedback.