Load custom script on a single template
Multiple issues, fixing one or more of which should resolve the issue: If it’s not already, that code should go in functions.php and not a template file. Registering the scripts does not actually load them. For that you need wp_enqueue_script. If you change your wp_register_scripts to wp_enqueue_scripts, that should work. If you need jquery, you … Read more