Dynamic title in fancy header – The7 theme

The7 multi purpose theme have beautiful fancy header that can configure for each page/post. And the same can configure for Woocommerce category pages which is not editable from the backend buy applying facnyheader for woocommece Terms and conditions page. But the problem is it will only return the title you have configured, will not change the title according to category pages and here is a work around to deal with it !