public static function getCustomTemplate($baseTemplateName, $postType)
    {
        //fix post type name
        if(strstr($postType, '_')) {
            $explodePostTypeName = explode('_', $postType);
            $postType = $explodePostTypeName[1];
        }

        $postTypeFileName = $baseTemplateName.ucfirst($postType).".vue";
        if(file_exists($_SERVER['DOCUMENT_ROOT'].'/../resources/assets/js/components/posts/'.$postTypeFileName)) {
            return $baseTemplateName.ucfirst($postType);
        }
        return $baseTemplateName;
    }