KosherDev got new comments feature.
0 Comments | Posted by Moishe Beshkin in News, Reviews
It was one of the TODO tasks, that I wanted to fulfill and at last I have done it.
Now, users of KosherDev.com can reply just to the certain comment on a topic.
Thanks to Ajax Comments-Reply plugin by zhiqiang.
Still I had to do some improvements on the jq theme and Ajax Comments-Reply plugin.
I corrected a little bit comments php code, so that it suit Jewish date display plugin.
I wonder why, but zhiqiang used the following code for display of Author, date and time:
At <\?php echo mysql2date('Y.m.d H:i', $c->comment_date);\?>, <\?php echo get_comment_author_link();\?> said:
I consider that there is no any special need on this as soon as we have WordPress function like comment_author_link(), comment_date(), php comment_time()
So, I changed all the code on Author, date and time display to the native of jq theme:
<\?php if ($comment->user_id) echo 'Author comment by '; \?> | <\? comment_date() \?> at <\?php comment_time() \?>
Besides, I had to change css of jq theme not to break labels display in comment window:
label {/*display:block;*/ margin:0 0 5px 0;}
I commented display, and now labels are not break in the add comment view.
Popularity: 2% [?]


Twitter
Facebook
RSS