Web Development


javascript code showing all over page, when using Header and Footers plugin

By spencer1621515293 ·
Hi, when I put my javascript snippet into the wordpress Headers and Footers plugin, the code shows up all over the page, instead of the clock.
I have emptied the cache browsing data, but this still happens.
Thread display: Collapse - | Expand +

All Answers

Collapse -

Can be in some cache or another coding error.

by rproffitt Moderator In reply to javascript code showing a ...

1. When I see this I pull up the site on another PC so I know it's a clean fetch.
2. To see if I have messed up code I use the following tools:
a. https://validator.w3.org/
b. https://jigsaw.w3.org/css-validator/

Collapse -

Re: Wordpress

by Kees_B Moderator In reply to javascript code showing a ...

Even in the context of your other (rather confusing) Wordpress and Javascript posts this is totally ununderstandable.
Your question about a clock (did you see my answer from a few hours ago) mentions a clock, but doesn't seem to have any relationship with Wordpress or plugins.
In this post It seems to me that that plugin isn't the way to put Javascript in the way you do.

Maybe better hire a freelancer with experience in Wordpress, plugins and Javascript for help on the job? Or start with simple examples from simple tutorials in stead of doing things that seem to be above your head.

Related Discussions

Related Forums