• Resolved mustafa dertli

    (@mustafa-dertli)


    Hello I have done this in the wp admin general settings and the date and time settings are: 2018-02-12Y-m-d, 18:16 but it looks like this on February 12, 2018 at the homepage.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 26 total)
  • hannah

    (@hannahritner)

    Hey,
    That is the theme default. You would need to override in a child theme.

    Hannah

    Thread Starter mustafa dertli

    (@mustafa-dertli)

    Hello I have never used the child’s touch. Tell me how to do it.

    You can read about and download a child theme from here:

    https://www.kadencethemes.com/child-themes/

    -Kevin

    Hey,
    Are you referring to the box where the number is shown above the month and year like here: http://themes.kadencethemes.com/virtue/

    Or something else? Your link doesn’t seem to be working.

    Thread Starter mustafa dertli

    (@mustafa-dertli)

    Hi I am talking about the date in the top right corner of blog posts.

    ok, that is not using a normal call to date since the output determines the design. And that is why your general settings would have no effect there.

    And to be clear it’s not this output “February 12, 2018” Which is Why I was confused. The output is the day and then under the month and year. Not month, with the day and year under.

    So if you want to remove that box with the day on the top and month and year below you would have to use a child theme. Edit templates/post-date.php file

    Hope that helps!

    Thread Starter mustafa dertli

    (@mustafa-dertli)

    Hi VIRTUE how to add and edit children-based templates / post-date.php file not found.

    So first you would open the parent theme. Then go to the “templates” folder then copy the “post-date.php” file.

    You then go to your child theme create a “templates” folder. Then past that post-date.php file into it. You only need to add that one file in the templates folder.

    Now that post-date.php file in your child theme is going to override the parent theme so there you can edit the date output to however you want it to be.

    Does that make sense?

    Thread Starter mustafa dertli

    (@mustafa-dertli)

    Hi, I created the “post-date.php” file. 2018-02-13 20:18
    How do I arrange a code for the date and time view?

    Thread Starter mustafa dertli

    (@mustafa-dertli)

    Hi I changed post-date.php this way, but it did not

    <div class=”postmeta updated color_gray”>
    <div class=”postdate bg-lightgray headerfont” itemprop=”datePublished”>
    <span class=”postday”><?php echo get_the_date(‘Y’); ?></span>
    <?php echo get_the_date(‘m-d’);?>
    </div>
    </div>

    Please post a link to your site.

    Can you make sure you have your child theme activated?
    can you make sure your created “post-date.php” file is in the templates folder of your child theme

    Thread Starter mustafa dertli

    (@mustafa-dertli)

    https://beylikduzutesisatci.org

    Yes, my child is on site and active

    Can you clear your cache and turn off minify so I can see it active.

    Can you make sure you created “post-date.php” file is in the templates folder of your child theme?

    Ben

    Thread Starter mustafa dertli

    (@mustafa-dertli)

    I cleaned it but it did not

    I wonder can you answer this question:

    Can you make sure you created “post-date.php” file is in the templates folder of your child theme?

    Perhaps you can send a screen shot showing the child theme files?

Viewing 15 replies - 1 through 15 (of 26 total)

The topic ‘Date and Time error’ is closed to new replies.