PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 5.4.2
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v5.4.2
8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 All 533 releases
← All changes | templates/template-horizontal/shortcode.php +98 -101 8.6.65.4.2 View file →
@@ -1,102 +1,99 @@
1 -<div id="wp-chatbot-shortcode-template-container"
2 - class="<?php
3 -if (!defined('ABSPATH')) exit; // Exit if accessed directly
4 -echo esc_attr($wp_chatbot_enable_rtl);?> wp-chatbot-shortcode-template-container template-vertical">
5 - <div class="wp-chatbot-product-container">
6 - <div class="wp-chatbot-product-details">
7 - <div class="wp-chatbot-product-image-col">
8 - <div id="wp-chatbot-product-image"></div>
9 - </div>
10 -
11 - <!--wp-chatbot-product-image-col-->
12 - <div class="wp-chatbot-product-info-col">
13 - <div id="wp-chatbot-product-title" class="wp-chatbot-product-title"></div>
14 - <div id="wp-chatbot-product-price" class="wp-chatbot-product-price"></div>
15 - <div id="wp-chatbot-product-description" class="wp-chatbot-product-description"></div>
16 - <div id="wp-chatbot-product-quantity" class="wp-chatbot-product-quantity"></div>
17 - <div id="wp-chatbot-product-variable" class="wp-chatbot-product-variable"></div>
18 - <div id="wp-chatbot-product-cart-button" class="wp-chatbot-product-cart-button"></div>
19 - </div>
20 - <!--wp-chatbot-product-info-col-->
21 - <a class="wp-chatbot-product-close"></a>
22 - </div>
23 - <!-- wp-chatbot-product-details-->
24 - </div>
25 - <div class="chatbot-shortcode-row">
26 - <div class="chatbot-sidebar chatbot-left-sidebar">
27 - <div class="wp-chatbot-widget wp-chatbot-product-shortcode-container">
28 -
29 - </div>
30 - <!--wp-chatbot-widget-->
31 - </div>
32 -
33 - <div class="wpbot-saas-live-chat">
34 -
35 - </div>
36 - <!--wp-chatbot-sidebar-->
37 - <div class="wp-chatbot-container">
38 - <div class="wp-chatbot-header">
39 -
40 - <h3> <?php if (get_option('qlcd_wp_chatbot_host') != '') {
41 - $welcomes = qcld_wpb_randmom_message_handle(qcld_wpbot()->helper->qcld_wb_chatbot_str_replace(maybe_unserialize(get_option('qlcd_wp_chatbot_welcome'))));
42 - $host = qcld_wpb_randmom_message_handle(qcld_wpbot()->helper->qcld_wb_chatbot_str_replace(maybe_unserialize(get_option('qlcd_wp_chatbot_host'))));
43 -
44 - echo esc_html( $welcomes . ' ' . $host );
45 - } ?></h3>
46 - <?php
47 - if( function_exists( 'qcld_wpbotml' ) && count( qcld_wpbotml()->languages ) > 1){
48 - do_action('ml_render_lan_dropdown');
49 - }
50 - ?>
51 - </div>
52 - <!--wp-chatbot-header-->
53 - <div class="wp-chatbot-ball-inner wp-chatbot-content">
54 - <div class="wp-chatbot-messages-wrapper">
55 - <ul id="wp-chatbot-messages-container" class="wp-chatbot-messages-container">
56 - </ul>
57 - </div>
58 - <?php do_action('wpbot_voice_record_wrapper'); ?>
59 - <!--wp-chatbot-messages-wrapper-->
60 - </div>
61 - <!--wp-chatbot-ball-inner-->
62 - <div class="wp-chatbot-footer">
63 - <div id="wp-chatbot-editor-area" class="wp-chatbot-editor-area">
64 -
65 - <input id="wp-chatbot-editor" class="wp-chatbot-editor" required="" placeholder="<?php echo esc_attr( qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'))) ); ?>"
66 - >
67 - <?php do_action('wpbot_voice_icon'); ?>
68 - <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><i class="dashicons dashicons-email" aria-hidden="true"></i></button>
69 - </div>
70 - <!--wp-chatbot-editor-container-->
71 - </div>
72 - <!--wp-chatbot-footer-->
73 - </div>
74 - <!--wp-chatbot-container-->
75 - <div class="chatbot-sidebar chatbot-left-sidebar">
76 - <div class="wp-chatbot-widget">
77 - <div class="chatbot-agent">
78 - <?php
79 - if (get_option('wp_chatbot_icon') == "custom.png") {
80 - $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
81 - } else if (get_option('wp_chatbot_icon') != "custom.png") {
82 - $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . get_option('wp_chatbot_icon');
83 - } else {
84 - $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png';
85 - }
86 - ?>
87 - <img src="<?php echo esc_url( $wp_chatbot_custom_icon_path ); ?>" alt="Agent Image">
88 - <h3 class="chatbot-agent-name"><?php echo esc_html( qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_agent'))) ); ?></h3>
89 - </div>
90 - <!--chatbot-agent-->
91 - </div>
92 - <!--wp-chatbot-widget-->
93 - <div class="wp-chatbot-widget wp-chatbot-cart-shortcode-container">
94 -
95 - </div>
96 - <!--wp-chatbot-widget-->
97 - </div>
98 - <!--wp-chatbot-sidebar-->
99 - </div>
100 - <!-- .chatbot-shortcode-row-->
101 -</div>
1 +<div id="wp-chatbot-shortcode-template-container"
2 + class="<?php echo esc_attr($wp_chatbot_enable_rtl);?> wp-chatbot-shortcode-template-container template-vertical">
3 + <div class="wp-chatbot-product-container">
4 + <div class="wp-chatbot-product-details">
5 + <div class="wp-chatbot-product-image-col">
6 + <div id="wp-chatbot-product-image"></div>
7 + </div>
8 +
9 + <!--wp-chatbot-product-image-col-->
10 + <div class="wp-chatbot-product-info-col">
11 + <div id="wp-chatbot-product-title" class="wp-chatbot-product-title"></div>
12 + <div id="wp-chatbot-product-price" class="wp-chatbot-product-price"></div>
13 + <div id="wp-chatbot-product-description" class="wp-chatbot-product-description"></div>
14 + <div id="wp-chatbot-product-quantity" class="wp-chatbot-product-quantity"></div>
15 + <div id="wp-chatbot-product-variable" class="wp-chatbot-product-variable"></div>
16 + <div id="wp-chatbot-product-cart-button" class="wp-chatbot-product-cart-button"></div>
17 + </div>
18 + <!--wp-chatbot-product-info-col-->
19 + <a class="wp-chatbot-product-close"></a>
20 + </div>
21 + <!-- wp-chatbot-product-details-->
22 + </div>
23 + <div class="chatbot-shortcode-row">
24 + <div class="chatbot-sidebar chatbot-left-sidebar">
25 + <div class="wp-chatbot-widget wp-chatbot-product-shortcode-container">
26 +
27 + </div>
28 + <!--wp-chatbot-widget-->
29 + </div>
30 +
31 + <div class="wpbot-saas-live-chat">
32 +
33 + </div>
34 + <!--wp-chatbot-sidebar-->
35 + <div class="wp-chatbot-container">
36 + <div class="wp-chatbot-header">
37 +
38 + <h3> <?php if (get_option('qlcd_wp_chatbot_host') != '') {
39 + $welcomes = qcld_wpb_randmom_message_handle(qcld_wpbot()->helper->qcld_wb_chatbot_str_replace(maybe_unserialize(get_option('qlcd_wp_chatbot_welcome'))));
40 + $host = qcld_wpb_randmom_message_handle(qcld_wpbot()->helper->qcld_wb_chatbot_str_replace(maybe_unserialize(get_option('qlcd_wp_chatbot_host'))));
41 +
42 + echo esc_html( $welcomes . ' ' . $host );
43 + } ?></h3>
44 + <?php
45 + if( function_exists( 'qcld_wpbotml' ) && count( qcld_wpbotml()->languages ) > 1){
46 + do_action('ml_render_lan_dropdown');
47 + }
48 + ?>
49 + </div>
50 + <!--wp-chatbot-header-->
51 + <div class="wp-chatbot-ball-inner wp-chatbot-content">
52 + <div class="wp-chatbot-messages-wrapper">
53 + <ul id="wp-chatbot-messages-container" class="wp-chatbot-messages-container">
54 + </ul>
55 + </div>
56 + <?php do_action('wpbot_voice_record_wrapper'); ?>
57 + <!--wp-chatbot-messages-wrapper-->
58 + </div>
59 + <!--wp-chatbot-ball-inner-->
60 + <div class="wp-chatbot-footer">
61 + <div id="wp-chatbot-editor-area" class="wp-chatbot-editor-area">
62 + <input id="wp-chatbot-editor" class="wp-chatbot-editor" required="" placeholder="<?php echo esc_attr( qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'))) ); ?>"
63 + >
64 + <?php do_action('wpbot_voice_icon'); ?>
65 + <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><i class="fa fa-paper-plane" aria-hidden="true"></i></button>
66 + </div>
67 + <!--wp-chatbot-editor-container-->
68 + </div>
69 + <!--wp-chatbot-footer-->
70 + </div>
71 + <!--wp-chatbot-container-->
72 + <div class="chatbot-sidebar chatbot-left-sidebar">
73 + <div class="wp-chatbot-widget">
74 + <div class="chatbot-agent">
75 + <?php
76 + if (get_option('wp_chatbot_icon') == "custom.png") {
77 + $wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path');
78 + } else if (get_option('wp_chatbot_icon') != "custom.png") {
79 + $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . get_option('wp_chatbot_icon');
80 + } else {
81 + $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png';
82 + }
83 + ?>
84 + <img src="<?php echo esc_url( $wp_chatbot_custom_icon_path ); ?>" alt="Agent Image">
85 + <h3 class="chatbot-agent-name"><?php echo esc_html( qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_agent'))) ); ?></h3>
86 + </div>
87 + <!--chatbot-agent-->
88 + </div>
89 + <!--wp-chatbot-widget-->
90 + <div class="wp-chatbot-widget wp-chatbot-cart-shortcode-container">
91 +
92 + </div>
93 + <!--wp-chatbot-widget-->
94 + </div>
95 + <!--wp-chatbot-sidebar-->
96 + </div>
97 + <!-- .chatbot-shortcode-row-->
98 +</div>
102 99 <!--wp-chatbot-ball-container-->