Plugin Directory

Changeset 3040251


Ignore:
Timestamp:
02/23/2024 01:12:26 PM (2 years ago)
Author:
marketinganaimo
Message:

minor changes

Location:
anaimo-ai-chat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anaimo-ai-chat/trunk/anaimoai-chat.php

    r3040147 r3040251  
    3434    $svg_content = file_get_contents(plugin_dir_path(__FILE__) . 'css/img/help-chat-negro.svg');
    3535
    36     $svg_content = str_replace('%ICON_COLOR%', esc_attr($icon_color), $svg_content);
     36    $svg_content = str_replace('%ICON_COLOR%', $icon_color, $svg_content);
    3737
    3838    // Use the stored values for usca, clie, and hash
     
    4747        <div class="anaimoai-chat-btn-container_<?php echo esc_html($selected_option_1) ?>">
    4848            <div onclick="anaimoai_toggleChat()">
    49                 <?php echo $svg_content; ?>
     49                <?php echo esc_html($svg_content); ?>
    5050            </div>
    5151        </div>
  • anaimo-ai-chat/trunk/readme.txt

    r3040147 r3040251  
    1919
    2020== Usage ==
    21 Use the [anaimoai_chat] shortcode to display the chat interface on your site.
     21Use the [anaimoai_chat] shortcode to display the chat interface on your site. Parameters usca (usecase id), clie (client), hash (hash code of the usecase)
     22Example:[anaimoai_chat usca="37" clie="1" hash="Yum0bTO9uoGyHwKLxWJIU8GelhhTl2Z8o8PMgKZU0QxSlqthnV"]
    2223
    2324== Changelog ==
Note: See TracChangeset for help on using the changeset viewer.