PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Code for the function.php broke my site

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

I just tried to implement following code into my function.php:

2
3
4
5
6
7
8
9
10
11
12
13
<?php if (isset($_GET['swoof'])): ?>
    <script>
        jQuery(function ($) {
            setTimeout(function () {
                $('html, body').animate({
                    scrollTop: $(".woof_products_top_panel_content").offset().top - 100
                }, 777);
            }, 333);
        });
    </script>
<?php endif; ?>

After it made no difference, I deleted it again.

Than an error appaered and Im not able to log into my site anymore.

Anythink a can do ??

Hello

It means that you incorrectly inserted and incorrectly deleted this code.

In this case, you need to go to this file using FTP and check the code. Better ask someone who has experience in programming