I have recently bought a theme, where I want to modify some things. The theme makes use of shortcodes. One of these shortcodes is adding the most recent posts. In these most recent posts is the date not included.
I want to add the date, but I found out that these shortcodes are in shortcodes.php, written in some kind of HTML DOM parser??? I tried to add some code, I found out how to make a div and span, but when I add the_time() in the code,it will show up outside of this div and span. I don't know how to fix it.
$html .= '<div class="infop"><span class="time"> '.the_time().'</span></div>';