Home › Forums › Support › adding style sheet in hooks This topic has 3 replies, 3 voices, and was last updated 6 years, 1 month ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 14, 2018 at 5:31 am #519569 Sharif Hi, I want to add these two to GP theme. <p> <link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css” integrity=”sha384-TEMocfGvRuD1rIAacqrknm5BQZ7W7uWitoih+jMNFXQIbNl16bO8OZmylH/Vi/Ei” crossorigin=”anonymous”> </p> <p> <script src=”https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js” integrity=”sha384-jmxIlussZWB7qCuB+PgKG1uLjjxbVVIayPJwi6cG6Zb4YKq0JIw+OMnkkEC7kYCq” crossorigin=”anonymous”></script> </p> Can I add them to hooks or is there any other way to add them? March 14, 2018 at 7:15 am #519624 LeoStaff Customer Support Hi there, Try wp_head hook. Let me know if this helps. March 14, 2018 at 7:29 am #519634 Sharif Hi Leo, It did not work. These are some style and js files for math equations rendering. I added them to wp_head but equations are not rendered. March 14, 2018 at 9:59 am #519879 TomLead Developer Lead Developer wp_head is the correct hook to use. However, simply adding the scripts won’t make what you’re doing work automatically. There’s usually some sort of config you have to set up with javascript. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In