Skip to Content
मेन्यू
This question has been flagged

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
2
जन॰ 24
3442
1
मई 23
2078
2
अप्रैल 23
3127
2
फ़र॰ 24
4782
1
अप्रैल 24
2292