ampforwp_is_blog() is giving fatal errors, so had to do this way
ampforwp_is_blog() is giving fatal errors, so had to do this way

ahmedkaludi/Accelerated-Mobile-Pages,ahmedkaludi/Accelerated-Mobile-Pages