How to place a script in <head> for a single page ONLY
-
Hi there,
This is my WordPress site that I’m working on: http://www.windowdepotva.com/site
I get the following pop-up error when I try to access my site:
“Out of memory at line 198”
It refers to a <script> in the <head> of my site. The script is for a calculator that I use on the following page:
http://windowdepotva.com/site/?page_id=73
I had to place the <script> in my <head> of my header.php file, because it was required to be in the <head>. Although now the <script> is on every page even though I only need it to be on page_id=73.
Is there a way to control that this script is ONLY in the <head> of page_id=73? I don’t know if removing the script from other pages will elimate the “Out of memory at line 198” error or not?
Please help me understand this… THANKS
-
Afraid you’re in the wrong forum and need to be at WordPress.org. See this:
https://en.forums.wordpress.com/topic/please-read-me-first-before-posting?replies=1
- The topic ‘How to place a script in <head> for a single page ONLY’ is closed to new replies.