The present study deals with the two dimensional steady laminar forced MHD Hiemenz flow past a flat plate in a porous medium. The effects of thermal radiation and partial slips on the flow field have been investigated under the variable wall temperature condition of the plate. The governing equations have been transformed into a set of coupled non-linear ordinary differential equations (ODEs) by using suitable similarity transformations. These equations have been solved analytically by using homotopy analysis method (HAM). The effects of Prandtl number, suction/blowing parameter, permeability parameter, velocity slip parameter, radiation parameter, magnetic parameter, wall temperature exponent and thermal slip on velocity and temperature profiles have also been studied graphically. Our results have been validated with the help of results that have already been published.