### Navigation

- index
- next |
- previous |
- MathJax v1.0 documentation »

# Using MathJax in popular web platforms

Most web-based content-management systems include a theme or template layer that determines how the pages look, and that loads information common to all pages. Such theme files provide one popular way to include MathJax in your web templates in the absense of MathJax-specific plugins for the system you are using. To take advantage of this approach, you will need access to your theme files, which probably means you need to be an administrator for the site; if you are not, you may need to have an administrator do these steps for you.

To enable MathJax in your web platform, add the line:

    <script type="text/javascript" src="path-to-MathJax/MathJax.js"></script>

(where `path-to-MathJax` is the web-address of the main MathJax directory for your server) either just before the `</head>` tag in your theme file, or at the end of the file if it contains no `</head>`.

The theme files for various popular platforms are:

> WordPress
>   `wp-content/themes/[current_theme]/header.php`
> Movable Type
>   `[current_theme_templates]/html_head.mhtml`
> Drupal
>   `themes/[current_theme]/page.tpl.php`
> Joomla
>   `templates/[current_theme]/index.php`
> MediaWiki
>   `skins/[current_skin].php`
> TiddlyWiki
>   `*.php` (Whatever you call your TiddlyWiki php file)
> Moodle
>   `theme/[current_theme]/header.html`

Keep in mind that this will enable MathJax for your current theme/template only. If you change themes or update your theme, you will have to repeat these steps.

## Insructions for Specific Platforms

Some programs, such as WordPress and Moveable Type, allow you to edit template files from inside their administrator interfaces. Specific instructions for these are given via the links below.

- Wordpress
- Movable Type

### Navigation

- index
- next |
- previous |
- MathJax v1.0 documentation »