This topic has 2 replies, 2 voices, and was last updated 9 years by Norman.

  • Author
  • #64432
     Norman
    Participant

    @sharmstr

    Dear Sharmstr maybe you remember that I tried to install CometChat in my Kleo Child theme.

    I used the backend under Kleo Child- General settings-I add the CometChat code in JavaScript code.
    This will make CometChat visible. I thought that would be enough.
    BUT now I found out that this makes CometChat slow, or CometChat can be much faster if I add the Cometchat code on the right position.
    This is what CometChat writes me:

    Hello,
    Please move the CometChat footer code from its current place to just below the <head> tag of your site template file.

    This is the code they are referring to, but I really don’t know where to put that in the KLEO CHILD THEME. Please help.

    COPY CODE
    <link type="text/css" href="/cometchat/cometchatcss.php" rel="stylesheet" charset="utf-8">
    <script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
    #64449
     sharmstr
    Moderator

    You dont need to edit kleo files. Just use WP standard functions https://codex.wordpress.org/Function_Reference/wp_enqueue_script

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #64506
     Norman
    Participant

    @sharmstr Thaaaanks !

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?