Hey all!
I don’t know why does it happen but it’s totally strange to me:
If i use Get_the_time(), The output (date) is correctly positioned, No problem, check this:
But if i use the_time(), then the output refuses to get into the right position:
I’m really confused and I have to use the_time() function in order to do some conversions,
What’s the Cause?
Any solutions?
Thank you all!
This might not be relevant, but you shouldn’t be able to just switch out those functions.
The “get_the_time” function, as far as I know, returns the time as a value that PHP can manipulate. The “the_time” function is supposed to actually echo the time onto the page.
Hey mate,
Sounds interesting, but actually get_the_time() prints the date to the screen , no need to use Echo or similar functions
what do you think ? what could be the cause?
I was more asking for the full html output and CSS that styles it, rather than the PHP. The final result on-screen will be down to the HTML/CSS, not the PHP.