Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2538

Joomla! 4.x Coding • Re: How to add scripts that only target specific Pages?

$
0
0
<script>
console.log('Contact Page Script ONLY')
</script>
Hi. The easiest way (if you have JS skills), using JS to include a script to the Head or Body, depending on the condition. For example, depending on the URL or on the page class.

Statistics: Posted by Pavel-ww — Wed Jan 17, 2024 9:20 am



Viewing all articles
Browse latest Browse all 2538

Trending Articles