Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1810 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 24
3448
1
may 23
2082
2
abr 23
3128
2
feb 24
4787
1
abr 24
2297