It's very unlikely that single episode of infection causing lack of appetite for so long.
Is deworming syrup given to him?
Next Steps
If not give bandy 10 ml now one dose and repeat the dose two weeks later
you can continue aptivate.
if appetite is not improving consult pediatrician
Health Tips
include dry fruits, green leafy vegetables, fruits and vegetables,nonvegetarian in his diet