JS in a WordPress post

[ad_1]

I posted already before about needing some JS code which I got but I’m having trouble inserting it into my post. It needs to be in a specific place in just one of my posts and so far I couldn’t make it work. Whenever I insert the code in my text editor it doesn’t show up on the actual post. I’m not really knowledgeable about stuff like this so if anyone could tell me what to do about it I’d hugely appreciate it.

[ad_2]
2 Comments
  1. Don’t try to put script code directly into the code editor. There is a plugin called XYZ WP insert code snippet. Use that!

  2. Use the plain text editor for code to ‘work’ otherwise it’ll be highlighted as code as if you’re posting an example.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer