Adding Custom or Third Party Code

The WideRange Galleries admin control panel enables you to add custom or third-party code to your pages via several different methods. Most clients won't need to use any of this, but there are a few you who may want to add code to insert third party tools or customize certain aspects of your pages. This page will explain the various ways to do so, along with some important guidelines and caveats.

  • NO SUPPORT CAN BE PROVIDED for any code you enter into the code fields.
  • Future compatibility cannot be guaranteed.
  • Bad code can potentially break your website or degrade its performance.
  • If your code messes up your site, go back and remove what you added.

There are various ways to add custom code to your site. The main difference is the scope of where the code is inserted.

You can insert head code site-wide (included on all pages) or on individual pages. You can also insert scripts or HTML code directly into the text areas of any page.

It is important to understand a few basic best practices to use when creating and inserting custom code, whether that's CSS, HTML, or Javascript.

It is worth explaining that the WideRange admin software is primarily built for non-programmers – for photographers who want to spend more time out shooting photos than sitting at the computer tinkering with their website. The code input tools described above should therefore be considered a supplementary feature to be used occasionally for specific purposes, not necessarily a comprehensive core feature for building custom pages from the ground up or for significantly redesigning what we've already built for you.

If you find yourself trying to implement major changes to your site via these custom code inputs, it would probably be best to contact me to discuss possibly better strategies.