Konstantin Pankratov
Forum Replies Created
-
Forum: Plugins
In reply to: [Date counter] Display current time UTCHi, unfortunately there is no such option, it just takes the timezone set in Settings > General > Timezone
Hi, the plugin should work properly, even regardless of WP version.
I’m assuming you’re just pasting this string as plain text and not in the Shortcode block:Forum: Plugins
In reply to: [Date counter] Change font?Hey, the font on your site can be controlled by CSS, the plugin itself just adds text without any HTML tags.
Forum: Plugins
In reply to: [Date counter] Proper localtimeHey,
in the beginning, the plugin gets the time zone, which is set in WordPress itself Settings > General > Timezone.
If it cannot, it gets the system time zone that is set on the server or hosting.To display the time zone that the plugin gets you could use “e” in the format in the shortcode like this:
[CurrentDatetime format="H:i (e)"]
Forum: Plugins
In reply to: [Date counter] Counter years, months and daysHey! Something like that, just change the start date to your own!
[DatetimeDifference startDate="31.11.2020" endDate="now" format="y years, m months and d days"]
Instead of “y” the years will be displayed, instead of “m” the months, instead of “d” the days, any other text inside the format parameter you could change to suit your needs.
Or you could use 3 separate shortcodes:
[DatetimeDifference startDate="31.11.2020" endDate="now" format="y"]
[DatetimeDifference startDate="31.11.2020" endDate="now" format="m"]
[DatetimeDifference startDate="31.11.2020" endDate="now" format="d"]
- This reply was modified 2 years ago by Konstantin Pankratov.
Forum: Plugins
In reply to: [Date counter] Calculating 182 agoUnfortunately this plugin does not have this feature.
Forum: Reviews
In reply to: [Date counter] Love it…It looks like we have the same time zone (CET), I just checked and it gives me 179.
Input: https://snipboard.io/iYgkzG.jpg
Output: https://snipboard.io/PdHGfM.jpgMake sure that you have the correct time zone selected in the WordPress dashboard > Settings > General: https://snipboard.io/Y60ErS.jpg
Forum: Reviews
In reply to: [Date counter] Love it…Also using the shortcode, like:
[TotalDatetimeDifference startDate="31.12.2020" endDate="now" format="h"]
This will output the number 4728, which is how many hours have passed since 12.31.2020.
You can put different values in the format to calculate the DateTime difference in them:
y – for years
m – for months
w – for weeks
d – for days
h – for hours
i – for minutes
s – for secondsForum: Reviews
In reply to: [Date counter] Love it…I appreciate it!
I added this functionality in the last update (v2.0.2), so you can update the plugin!
Forum: Plugins
In reply to: [Date counter] Changed Format Creating ProblemDoes this mean I have to change [DateCounter format=”currentYear”] to [DateCounter format=”Y”] manually in every single post?
Of course, nothing needs to be changed, leave it like
[DateCounter format="currentYear"]
Everything should work as before.
Forum: Plugins
In reply to: [Date counter] Changed Format Creating Problem@bishes Hi!
I am sorry, I added backwards compatibility, but made a mistake.Please update the plugin, it should now work!
@bishes Hi, upgrade to a new 1.0.5 version, this should fix your problem!
Forum: Plugins
In reply to: [Date counter] Not working…yet!@inkmuser Hi, the shortcode itself works fine, I want to pay your attention to a quotation marks you are using, they are curved, they won’t work.
" - normal ” - curved
To fix that use normal quotes:
[DateCounter startDate="2003-06-08" endDate="2021-02-25" format="%y.%m"]
I hope this helps you!
Forum: Plugins
In reply to: [Date counter] Shortcode stopped working?@tipsfudotcom The plugin supports custom date format, here’s how it works:
[DateCounter startDate="2020-03-15" endDate="Now" format="%h:%I:%S, %d.%m"]
Years – %y
Months – %m
Days – %d
Hours – %h
Minutes – %I
Seconds – %SHere’s a php.net manual for more info.
Forum: Plugins
In reply to: [Date counter] TImezone SettingsHi!
I apologize for the late response and thank you for the good idea, the plugin now uses the WordPress settings to determine the time zone, not the system settings.So you can update the plugin and enjoy!