Notifications
Clear all

Displaying abbreviated months please

7 Posts
2 Users
1 Likes
2,402 Views
Posts: 10
Topic starter
(@powcom)
Active Member
Joined: 6 years ago

Could we show abbreviate months in the widgets dates please

Just the three char months, eg December will appear Dec. You know, in PHP date() M style.

We sometimes have quite long commentors names, which then bump the date to the next line, which looks messy. For example 'Michael the horizontal cat' - 

With the abbreviated month it'd appear like so:

 

6 Replies
Astghik
Posts: 5912
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

Hi @powcom,

Please note that wpDiscuz Widgets gets the time format from WordPress. Please navigate to Dashboard > Settings > General admin page, change "Date Format" value, put the following "j, M Y" in Custom input.

wigets
Reply
1 Reply
(@powcom)
Joined: 6 years ago

Active Member
Posts: 10

That's great to know - Thanks.

For our articles having the full date is important (for search primarily and reader convenience), but we'd like to use the abbreviated version on the Widget. Can you show me how I could do that please.

Reply
Astghik
Posts: 5912
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

I'm sorry, but it is not possible yet. However we'll take it under consideration for future releases. 

Reply
1 Reply
(@powcom)
Joined: 6 years ago

Active Member
Posts: 10

I appreciate that. Thanks. I guess alternative approach might be to limit the number of characters of the commentor's name that are displayed?

Reply
Astghik
Posts: 5912
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

I suggest using the following CSS code:

#widget-comments-container .like-count-first.wpdiscuz-widget-comment .wpdiscuz-widget-about-comment-right li{
max-width: 50%
}

Put this CSS code in Dashboard > Comments > Settings > Styling > Custom CSS Textarea. Save it, delete all caches and do Ctrl+F5 on front-end.

Reply
Posts: 10
Topic starter
(@powcom)
Active Member
Joined: 6 years ago

That's a great solution! Many thanks.

Reply
Share:
Scroll to top