"; if (!ttw_getopt('ttw_head_opts')) ttw_setopt('ttw_head_opts', $headText); ?>

Advanced Options

Advanced Options - Insert your own code or snippets

The fields on this page allow you to save pieces of HTML code required by third-party plugins and widgets. You can also use them to save Google Maps/Analytics/AdSense javascript snippets. You will need to understand a bit of HTML coding to used these fields effectively.

The values you put here are saved in the Wordpress database, and will survive theme upgrades and other changes.

PLEASE NOTE: NO validation is made on the field values, so be careful not to paste invalid code. Invalid code is usually harmless, but it can make your site display incorrectlly. If your site looks broken after you add stuff here, please double check that what you entered uses valid HTML commands. Also note that backslashes will be stripped.



Code entered in this box is included right before </HEAD> tag in your site. You can add custom CSS here to further enhance the look of your site. There are examples of some custom CSS in the Help section. Another use is for <META> tags for description or bot search terms. (This field is also useful for entering links to javascript files or anything else that belongs in the <HEAD>, but this use will be uncommon - usually you can find a WP Plugin to do what you need.)



This code will be inserted into the site footer area, right before the before the "Powered by" credits, but after any Footer widgets. This could include extra information, visit counters, etc. You can use HTML here (including WP shortcodes - see next section), so include style tags if you want!



This must be HTML markup code (including WP shortcodes), and will be inserted into the #branding div header area right above where the standard site header image goes. You can use it for logos, better site name text - whatever. When used in combination with hiding the site title, header image, and the menu, you can design a completely custom header. Note that this code will be after or before the default menu depending on the move menu setting. You can completely replace the default menu (hide it), but you will have to hard-wire the links to pages in your replacement menu. If you hide the title, image, and header, no other code is generated in the #branding div, so this code can be a complete header replacement. You will almost certainly need to add some CSS style, too. (We've added a class called ttw-center which you can use to div-wrap your insert code to center it: <div class="ttw-center">[shortcode]</div>) You can also override #branding, create a new div, or use in-line styling. You can also use WP shortcodes to embed plugins, including rotating image slideshows such as Meteor Slides.

> If you check this box, then this Header code will be used only when the front page is displayed. Other pages will be displayed using normal header settings. Checking this will also automatically hide the standard header image on the front page so you can use a slide show on the front page, and standard header images on other pages.


This code is inserted right before the closing </body> tag. This is the best place for your Google analytics code and other final code that is not usually displayed.



The entries in this field are usually generated by some of the example themes provided with Twenty Ten Weaver. You can fiddle with them, but it is generally better to use the regular HEAD overrides. (Note: this code is included before the standard HEAD section code above.)