İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1804 Görünümler

Hello,


As in the subject - I know how to add custom script to theme, but how to add such script to single page onle?


regards

Tomasz

Avatar
Vazgeç
En İyi Yanıt

A simple way, without modifying existing code, is to use the 'embed code' snippet in the website editor. Next, add the code required, or an import for e.g., a library.


Above example will output 'home page' in the console in the home page, but not in the other pages.

I hope this helps!

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Oca 24
3443
1
May 23
2079
2
Nis 23
3127
2
Şub 24
4785
1
Nis 24
2293