The Bluebirds' hopes of a top-six finish this season suffered a setback at Derby on Saturday when Leon Osman headed a last-minute equaliser for the Rams.
City remain five points off the play-off places but manager Lennie Lawrence knows his side would only be one point behind sixth-placed Sunderland had they beaten Derby and lowly Nottingham Forest seven days earlier.
The Bluebirds were hoping to bag maximum points against the two floundering East Midlands clubs before entering a testing spell which sees them take on three of the First Division's promotion contenders - West Bromwich Albion, Sunderland and West Ham.
"We are still play-off contenders. It's premature to write us off now," warned City striker Earnshaw. "There are still three months of the season left. All we need is a good run and then we'll be near the top of the table."
The Bluebirds ace yesterday visited Tir-y-Berth Primary School, near Caerphilly, along with Wales coach Eric Harrison.
The pair gave pupils a coaching session before presenting the school with an award for passing the McDonald's/FAW Trust Accreditation Scheme.