2
0

Wording change "BLS cal"

This commit is contained in:
2024-08-09 16:18:09 +02:00
parent 732cfd353a
commit b8c4c5b1e7
199 changed files with 508 additions and 508 deletions

View File

@@ -2,8 +2,8 @@ Embedded booking pages right into your wordpress page.
#### FEATURES
- Add Cal.com booking calendar to any WordPress page/post with a simple shortcode.
- Display your Cal.com booking calendar inline or in a popup.
- Add BLS cal booking calendar to any WordPress page/post with a simple shortcode.
- Display your BLS cal booking calendar inline or in a popup.
- Customize your booking button to suit you.
#### SHORTCODE

View File

@@ -7,7 +7,7 @@
"url": "https://github.com/calcom/wp-plugin",
"variant": "other",
"categories": ["other"],
"publisher": "Cal.com, Inc.",
"publisher": "BLS cal, Inc.",
"email": "support@cal.com",
"description": "Embedded booking pages right into your wordpress page",
"__createdUsingCli": true,

View File

@@ -1,10 +1,10 @@
<?php
/**
* Plugin Name: Cal.com
* Plugin Name: BLS cal
* Plugin URI: https://cal.com/apps/wordpress
* Description: Embed your Cal.com in Wordpress
* Description: Embed your BLS cal in Wordpress
* Version: 0.1
* Author: Cal.com, Inc.
* Author: BLS cal, Inc.
* Author URI: https://cal.com
* License: AGPLv3
* License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
@@ -15,7 +15,7 @@ function cal_shortcode( $atts, $content = null) {
global $post;extract(shortcode_atts(array(
'for' => $post->post_title,
), $atts));
if(empty($content)) $content='Embed Cal.com';
if(empty($content)) $content='Embed BLS cal';
// TODO: How to reuse embed-snippet export here?
return '<script>(function (C, A, L){let p=function (a, ar){a.q.push(ar);}; let d=C.document; C.Cal=C.Cal || function (){let cal=C.Cal; let ar=arguments; if (!cal.loaded){cal.ns={}; cal.q=cal.q || []; d.head.appendChild(d.createElement("script")).src=A; cal.loaded=true;}if (ar[0]===L){const api=function (){p(api, arguments);}; const namespace=ar[1]; api.q=api.q || []; typeof namespace==="string" ? (cal.ns[namespace]=api) && p(api, ar) : p(cal, ar); return;}p(cal, ar);};})(window, "https://cal.com/embed.js", "init"); Cal("init") </script> <script>Cal("inline",{calLink: '.$content.'});</script>';
}