How to add code to all pages?
Autor: MD Kamrul Hassan
Visited 2321,
Followers 1,
Udostępniony 0
Greeting sir?
hope all active users on the forum are fine :)
I need a help, I need to use code (html or any ) in all my page. but it will be so time consuming I have to select all pages then go to it's properties then add that code.
so, I tried to add that code to template Header and/or footer page..
but the problem is:
if I add to footer then the code is added in all page before </body> tag..
if I add to header then the code is added in all page after <body> tag
but for example, I need to add code to all pages before </head> tag ..
any way to do this without do it manually on all pages?
please leave a reply asap
thanks in advance
best regards
Posted on the
you mean this?
http://answers.websitex5.com/post/47412
Autor
thanks for your reply sir, but nope that not what i need.. i already checked that before post this :(
thanks again for your reply
best regards
I don't know what kind of code you mention. But if you use a text field and set it to html. This way the code will not be visible, but will be there. Tou need to copy it ones to all pages using copy paste after that you can edit it on the source file and all the pages are updated.
Hope this helps,
BR A
Autor
dear sir, that not wha i want :(
i want to palce a code in before end of head tag </head> and it needs to be copied to all pages (all exsingn and all new page in future)..so, the best way i thik is to add that html code in header (in edit tempate part)
but the problem is if i add in header .. it add that html code after starting of body tag <body> not before closing head tag..
am i clear now? i hope so..
best regards
Ok, sorry, this you can do in the general page (first page in x5 when starting a project. Goto expert tab and use field website HEAD.
Autor
you mean home page? but if i add to home page that only added to home page only :(
however thanks a lot as you keep reply me to help me out
best regards
No, I think Andre means Step 1 - General Settings when he talks about the 'first page in X5'
Custome code added using the Expert tab will be effective on ALL pages throughout your site
Best regards...