Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1811 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jan. 24
3448
1
mai. 23
2082
2
abr. 23
3128
2
fev. 24
4787
1
abr. 24
2297