Archived topic
prism.js
1 reply · Started by BILAL on May 3, 2019
Viewing posts 1–2 of 2
How to add prism.js in generate press?
I am adding both prims.css and prism.js but they are not working
Hi there,
You would want to use wp_enqueue_script and wp_enqueue_style:
https://developer.wordpress.org/reference/functions/wp_enqueue_style/
https://developer.wordpress.org/reference/functions/wp_enqueue_script/
Those functions would go in your child theme, which is where you'd need to add the files as well.
This archived topic is closed to new replies.