Corrected template category not linked, image to be displayed in post only when avaliable, and categories color boxes