fix output pagination on category page
improve post format and tags page