Page 1 of 1

Variable to show "how long ago" was content added?

Posted: Thu Mar 30, 2017 2:05 pm
by Ramp
Hi,

What variable I should use to show how long ago was the content added rather than just a date?


Also, how do I use google api to translate my categories, because your wiki says nothing about it at all or if it does nor me nor my russian friend understand it :)

Re: Variable to show "how long ago" was content added?

Posted: Wed Apr 05, 2017 9:47 am
by admin

Re: Variable to show "how long ago" was content added?

Posted: Wed Apr 05, 2017 9:49 am
by Ramp
Already sorted the translation thing. Even tho, I've got one problem.

I use category_custom_var1 for category name translations and I use the variable in Meta title and meta description. So category ALL shows <!--CATEGORY_CUSTOM_VAR1-->

How do I make it write something else? I don't know where I can set this custom var1 for all new and all best.

Re: Variable to show "how long ago" was content added?

Posted: Wed Apr 05, 2017 9:55 am
by admin
if ($_GET['group_name'] == '') {
all
} else {
something else
}