Football Association of Slovenia
On 24 October 2011, Stojanović became the new manager of the Slovenia national team after the Football Association of Slovenia had had the contract with Matjaž Kek terminated by mutual agreement earlier that day. On 9 December 2012, he resigned as the manager of the Slovenia national team.