problem with

Posted in: Newsmag
Post count: 6

HI!! I`m trying to show time at home but it’s impossible for me. I can see the date, but not the time. What can I do?? Thanks!!

Post count: 3343

Hi,

I’m not sure what you mean? Do you want the current date in the top menu like here: http://screencast.com/t/KG1G4cmicMww

Go to Theme Panel -> Header and there open the Top menu section and enable the Show date option http://screencast.com/t/HqADpGic39q

Thanks!

Post count: 6

hI!! Not really, I’d like to show the creation time of each post to show it beside the date of the post, at home page.

Thanks!!

Post count: 780

Hi,

this is standard WordPress functionality, you can change the date and time format from here: http://screencast.com/t/l1Hsa1fgcFvW

I’ve entered this to add the time in the format like “19:32” . You can also change the format as you like using this: http://php.net/manual/en/function.date.php

M j, Y - G:i
Post count: 6

Hi!! Thkas a lot but this do not solve my problem. For example, I can read at the code of td_module_1.php this string: <?php echo $this->get_date();?>

In other wordpress projets I usually can read <?php the_time(‘F – j – Y’); ?> <?php the_time() ?>

But with Newsmag this doesn’t work.

I’d like to show the date and the time when the post was write.

I’m lost…what can I do??

Thanks!!

Post count: 780

Hi,

the main function that show the time for all modules is here:

/includes/wp_booster/td_module.php

http://screencast.com/t/KJKCcElcI

the theme is using this function from WordPress to show the time: https://codex.wordpress.org/Function_Reference/get_the_time

But the solution from my previous reply works, I’ve tested it: http://screencast.com/t/XRdHBbeKV (it’s with a 24 hour format but it’s easy to change to a AM/PM one)

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.