changed navbar for custom posts