badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: TH: Card/Block Posts widget exlude most recent post

#90533

Hi David Humphreys,

The Recent Post itself denotes as the latest post that you create. so it has not option to control the post to show. But we can provide you the Custom CSS code to hide some of the post from that widget.

please go to ‘Appearance > Customize > Additional CSS’ and paste the below custom CSS code.

1- if you want same changes for all the TH-Recent Post Widgets that you use on your entire Site then paste Below code.

.newscard-widget-recent-posts .post-col:nth-child(1),
.newscard-widget-recent-posts .post-col:nth-child(2) {
	display: none;
}

2- if you want changes only on TH-Recent Post Widgets that you mention and works normally for same widgets on other section then paste below code.

#newscard_recent_posts-6.newscard-widget-recent-posts .post-col:nth-child(1),
#newscard_recent_posts-6.newscard-widget-recent-posts .post-col:nth-child(2) {
	display: none;
}

Note: We have provided code just to hide the first 2 post from latest posts. You can increase or decrease the number of post to hide the respective posts following the same line of code format followed by ‘nth-child(3), nth-child(4), so on. Make sure you give comma sign (,) at the end of every line of code except the last line of code. Comma sign (,) is not needed if you make only single line of code.

Thanks