Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @s4ow7ime

    Participant

    tell me please where the problem might be there?
    The code works, all that to him, and the result is displayed, but then when nothing is displayed on the page.

    <?php
    function YearTextArg($year2) {
        $m2 = substr($year2,-1,1);
        $l2 = substr($year2,-2,2);
        return $year2. ' ' .((($m2==1)&&($l2!=11))?'a':((($m2==2)&&($l2!=12)||($m2==3)&&($l2!=13)||($m2==4)&&($l2!=14))?'s':'d'));
    }
    echo YearTextArg(date('Y')-1880);
    ?>

    @s4ow7ime

    Participant

    thanks

    @s4ow7ime

    Participant

    why time activity under the nickname does not respond to the time change in WordPress settings? And in the time of the tape activity responds to changes.

    @s4ow7ime

    Participant

    You added recently a new plugin.
    Deactivate it. Personal unchanged in activity((, but WordPress has changed in the settings, the time was correct.
    You added recently a custom function.
    Deactivate it. Nothing change.
    You haven’t tested with a twenty theme.
    Change on twenty theme. Nothing change.

    @s4ow7ime

    Participant

    but under the nickname activity time independent of time, changes in WordPress settings

    @s4ow7ime

    Participant

    Did you checked your WordPress time settings ?
    yes
    if i change on UTC its
    Universal time (UTC) is 2017-02-02 10:10:22. Local time is 2017-02-02 10:10:22.
    if i change on Moscow its
    Universal time (UTC) is 2017-02-02 13:11:50. Local time is 2017-02-02 16:11:50.
    if i change on UTC+3 its
    Universal time (UTC) is 2017-02-02 12:14:27. Local time is 2017-02-02 15:14:27.

    What is your server time ?
    10:08:27 02.02.2017
    On my computer its (my local timezone 13:09)
    Do you use a new plugin ?
    yes
    Have you changed your theme ?
    no
    Have you add a custom function somewhere ?
    yes
    Have you tested by using a twenty theme ?
    no

    I assume that the problem is hidden in WordPress, but plug-ins that change the time I did not install. Who faced with podobonoy problem?

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar