Custumize plugin question?

Hello, i downloaded whatsup plugin from WhatsApp Button - Oweb Studio.
In the installation instructions it writes:

Usage

You can use sample basic snippet of plugin:

<?php snippet('whatsapp-button') ?>

Where should i put this snippet for plugin to work?
Thx in advance

Put <?php snippet('whatsapp-button') ?> code into /site/snippets/footer.php and setup your phone number from config.php like that:

<?php

// /site/config/config.php
return [
    'owebstudio.whatsapp-button' => [
        'phone' => '4912345678',
    ]
];

Thx that was quick it works :grinning:

apparently it doesnt work as specified, it breaks my theme.

What’s exactly the issue? Maybe I can help…

The problem is that my template which is clicktonext/firma template doesnt have footer.php file in site folder, and when i create such file the template breaks the design. So i dont know where should i put code <?php snippet('whatsapp-button') ?> to work as intended.

Hmm, you can add the code into /site/plugins/clicktonext/extensions/kirby-theme-core/snippets/footer.php.

Yes, that will do the trick, the theme has its own files & now everything is working. Thnx