[wp-hackers] is_day documentation
Chetan Kunte
ckunte at gmail.com
Fri Oct 31 13:56:01 GMT 2008
Thanks again, Otto.
--
Chetan, ckunte.com
On Fri, Oct 31, 2008 at 2:52 PM, Otto <otto at ottodestruct.com> wrote:
> Also, these would be the wrong functions to use to determine what the
> current day is (which is what I assume you want for "holiday logos").
>
> For that, you would use simple PHP code:
> http://php.net/manual/en/function.getdate.php
>
> Example:
>
> $today = getdate();
> if ($today["mon"] == 12 && $today["mday"] == 25) echo "Merry Xmas!";
>
>
>
> On Fri, Oct 31, 2008 at 8:49 AM, Otto <otto at ottodestruct.com> wrote:
>> Documentation on these is here:
>> http://codex.wordpress.org/Conditional_Tags
>>
>> On Fri, Oct 31, 2008 at 8:46 AM, Chetan Kunte <ckunte at gmail.com> wrote:
>>> Hi -
>>>
>>> I am trying to write a very simple code/script to auto-generate
>>> holiday logos for my site. In this connection, I am looking for some
>>> documentation on how tags such as is_day() work (Currently there is
>>> virtually no usable documentation available: viz., parameters, and
>>> examples, in particular.)
>>>
>>> Could someone please help?
>>> --
>>> Chetan, ckunte.com
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list