The Taliban in Pakistan has threatened the lives of both Mr Yousafzai and Malala, since the shooting.
The Pakistani government, in a statement, said: "Mr Ziauddin Yousafzai has been appointed as education attache in the Consulate of Pakistan, in Birmingham. The Government of Pakistan has been pleased to appoint Mr Ziauddin Yousafzai, father of Malala Yousafzai, as attache.
"The tenure of his office shall be initially for three years extendable for a further period of two years. The tenure will start from the date he assumes the charge. Mr Ziauddin Yousafzai will function as head of the education section under head of the mission."
In December the president of Pakistan Asif Ali Zardari visited Malala in hospital and assured Mr Yousafzai his government would meet all the expenses of Malala's treatment and all the needs of the family while in the UK.
The statement continued: "The president had also directed high commissioner Mr Wajid Shamsul Hasan to look after all the needs of Malala, and discuss with Mr Yousafzai a mode for financial sustenance and accommodation of the family. In light of that, the present appointment has been made." The Pakistani government has been paying for the "treatment and maintenance" of Malala's family since she arrived in the UK.