skip to Main Content

WordPress: How to include JavaScript as block element

What is the correct way to add JavaScript in a block to WordPress? I have the following JavaScript, which I want to add into a specific position of a WordPress page: <script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script><br> <script id="widget_id_2082" type="text/javascript" src="https://11076.wundercoach.net/api/v1/jsonp/full_filterable_list/b93c78f1-77b9-4096-ba1a-adb1d7fdbb2e.js?locale=de/b93c78f1-77b9-4096-ba1a-adb1d7fdbb2e.js" async="true"></script>…

VIEW QUESTION
Back To Top
Search