Hello and thanks for the plugin (It is very light!):
I found the way to print the date/time in every post, changing the lines 71, 72 y 73 in the file simple-ajax-chat-form.php
<li class="sac-chat-message sac-static sac-user-<?php echo $name_class; ?>"> <span><?php echo stripslashes($url); ?> : </span> <p><?php the_time('j \d\e\ F, Y \-\ g:i a'); ?></p><?php echo convert_smilies("" . stripslashes($r->text)); ?> </li>
But the date/time only appear if I refresh the site (www.rneradio.cl)
How can make the date/time appear at the same time of the post (without need to refresh the page)?
- The topic ‘Display date/time in every message’ is closed to new replies.