I have recently decided to try a live chat feature for our company website. This requires that we add a script to every page, just before </head>.
Is there a way I can do this within wordpress to include the script on all blog posts?
Thanks!
Adding Scripts to Blog Header
-
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Re: Adding Scripts to Blog Header
If you want to include it in Wordpress, you have to ask in a Wordpress forum.
Re: Adding Scripts to Blog Header
Sorry, I am not using Wordpress... I am using Serendipity. I have WordPress on a separate blog!
-
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Re: Adding Scripts to Blog Header
there is an event plugin: page nugget (or somethimg like that)
Re: Adding Scripts to Blog Header
I found the HTML Nugget, but that holds a nugget of HTML in the sidebar... is that what I need?
I am looking to hide a <script> right before the </head>.
Please advise. And thanks for your help, kleinerChemiker.
I am looking to hide a <script> right before the </head>.
Please advise. And thanks for your help, kleinerChemiker.
Re: Adding Scripts to Blog Header
The HTML - Head - Nugget is what I am using... but I can't get it to hide the HTML... it shows it at the top of the page!
I obviously don't want it visibile!
I obviously don't want it visibile!
- Attachments
-
- HTML Head Nugget View
- HTML-Head-Nugget-View.png (11.19 KiB) Viewed 4280 times
-
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Re: Adding Scripts to Blog Header
If you use the wysiwyg-editor you have to switch to the html-modus or turn the wysiwyg-editor off.
Re: Adding Scripts to Blog Header
I opened the "HTML-Code inside head (HTML-Head Nugget)" plugin. It brought up the Content / WYSIWYG editor. I toggled to the HTML Source to Text Mode, and entered my script. However, this did not save the script, or include it on the pages.
Do I just give up?
Do I just give up?
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Adding Scripts to Blog Header
Not sure why it is not working. Try this: go to "Personal Settings" and turn off the wysiwyg editor.... Then try again.
=Don=
Re: Adding Scripts to Blog Header
THAT DID IT! Thanks Don!Don Chambers wrote:Not sure why it is not working. Try this: go to "Personal Settings" and turn off the wysiwyg editor.... Then try again.
kleinerChemiker - I appreciate all of your help. You at least got me going in the right direction.
Thank you both so much.