We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

how add Custom code to all pages | Forum

Topic location: Forum home » Support » General Questions
zilan
zilan Dec 25 '11
how add Custom code to all pages such custom stats code?
Oxwall Germany Club
Oxwall Germany Dec 25 '11
We will release such a plugin in the future, but you can also edit the html file of your theme.
Honsa
Honsa Dec 25 '11
may you can use the advertisement plugin and enter your content instead the ad slots
Michael I.
Michael I. Dec 26 '11
You can add custom code via http://yoursite.com/admin/settings/page if that is what you need.
zilan
zilan Dec 27 '11
thanks 4 all!
i used aka_le_Mulder's advice and not need anything
Michael Leader
Michael Jan 5 '12
If I needed code to be implemented across all the pages, I created a custom html widget and placed it in the sidebar.  As the sidebar is visible on all pages the code will be executed all the time.
This protected my custom code from having to edit any pages after an oxeall update as it may overwrite any hard coded changes I made.
Michael I.
Michael I. Jan 11 '12
Thanks for update, Michael. 

Bottom line: when you need to add some custom code to the <head> tag of every page on your site, the best way is to add it 

via http://yoursite.com/admin/settings/page 

When you need to add some custom code to a certain page, the best way to achieve it is following Michael's advice.