Notifications
Clear all

wpForo 1.x.x [Solved] On Home Page forum list > "Last Post Info" > How to remove time like "7 months ago"?

8 Posts
3 Users
2 Reactions
1,242 Views
Posts: 126
Topic starter
(@mplusplus)
Reputable Member
Joined: 5 years ago

Hi there

On Home Page forum list > "Last Post Info" > How to remove time like "7 months ago"?
Screenshot attached with a red circle.

Thank you.

Topic Tags
7 Replies
4 Replies
Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1455
Posted by: @mplusplus

Hi there

On Home Page forum list > "Last Post Info" > How to remove time like "7 months ago"?
Screenshot attached with a red circle.

try

add this to custom css

#wpforo #wpforo-wrap .wpfl-2 .wpforo-last-post-info {visibility: hidden;}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-last-post-info a {visibility: visible;}
 
Dashboard > Forums > Settings > Style (custom css)
(@mplusplus)
Joined: 5 years ago

Reputable Member
Posts: 126

@tutrix That worked nicely and removed those timestamps from the home page!

Do you know how can I remove those timestamps from the forum pages, as those pages still have these timestamps "7 months ago" or "2 months ago" etc.? 

Thanks so much.

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1455

@mplusplus

Topic start date

#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-start-info {visibility: hidden;}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-start-info a {visibility: visible;}

Topic last post

#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-lastpost {visibility: hidden;}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-lastpost a {visibility: visible;}
(@mplusplus)
Joined: 5 years ago

Reputable Member
Posts: 126

@tutrix You are a champion! 

Thanks.

Alvina
Posts: 1862
Moderator
(@alvina)
Member
Joined: 5 years ago

Hi @mplusplus,

I'm sorry but there is no way to do this.

Posts: 126
Topic starter
(@mplusplus)
Reputable Member
Joined: 5 years ago

Can I just show forum titles and not the rest of the info, then? Where exactly, please?

Thank you.

1 Reply
Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1862

@mplusplus,

If you want to completely hide the following field(in the screenshot), you should use this CSS code:

#wpforo #wpforo-wrap .wpfl-2 .cat-lastpostinfo, #wpforo #wpforo-wrap .wpfl-2 .wpforo-last-post, #wpforo #wpforo-wrap .wpfl-2 .wpforo-last-post-avatar{
display:none;
}

The CSS code should be added in the Dashboard > Forums > Settings > Styles admin page, "Custom CSS Code" textarea.

In any case please don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.