MathJax-LaTeX
This plugin enables MathJax (http://www.mathjax.org) functionality for WordPress (http://www.wordpress.org).
Safe pick
Yes — MathJax-LaTeX is a safe, well-maintained plugin to use in 2026. It runs on 10K+ sites, is rated 4.4/5 and was last updated 4 weeks ago, and scores 83/100 on our health check.
- Proven at scale on 10K+ active sites
- Actively developed — last update 4 weeks ago
- Tested with the latest WordPress (7.1)
- Momentum — downloads up 259.9% vs the previous 30 days
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where MathJax-LaTeX stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| latex | #1 |
| mathematics | #1 |
| MathJaX | #1 |
| mathml | #2 |
| science | #2 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.4 from 11 reviews
About MathJax-LaTeX
From the official readme · v1.4.1Description
MathJax enables enables rendering of embedded LaTeX or MathML in HTML pages. This plugin adds this functionality to WordPress. The MathJax JavaScript is inject on-demand only to those pages which require it. This ensures that MathJax is not loaded for all pages, which will otherwise slow loading down.
The MathJax JavaScript can be delivered from your own server, or you can use the jsDelivr Content Distribution Network (CDN), which is the preferred mechanism as it offers increased speed and stability over hosting the JavaScript and configuring the library yourself.
You may embed latex using a variety of different syntaxes. The shortcode (https://codex.wordpress.org/Shortcode_API) syntax is preferred. So [latex]E=mc^2[/latex] will work out of the box. This also forces loading of MathJax.
Additionally, you can use native MathJax syntax — $$E=mc^2$$ or \(E=mc^2\). However, if this is the only syntax used, the plugin must be explicitly told to load MathJax for the current page. This can be achieved by adding a [mathjax] shortcode anywhere in the post. For posts with both [latex]x[/latex] and $$x$$ syntaxes this is unnecessary.
You can use wp-latex syntax, $latex E=mc^2$. Parameters can be specified as with wp-latex but will be ignored. This means that MathJax-LaTeX should be a drop-in replacement for wp-latex. Because this conflicts with wp-latex, this behaviour is blocked when wp-latex is present, and must be explicitly enabled in the settings.
You can also specify [nomathjax] — this will block mathjax on the current page, regardless of other tags.
MathJax-LaTeX is developed on GitHub.
Copyright
This plugin is copyright Phillip Lord, Newcastle University and is licensed under GPLv2.
Installation
- Unzip the downloaded .zip archive to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Changelog
Security update: fixes a stored XSS (CVE-2026-116754). Upgrades to MathJax 4. If you host MathJax yourself, install MathJax 4 and update the custom location. If you use the mathjax_config filter, update it to MathJax 4 configuration.
1.4
- Security: load MathJax’s Safe extension wherever MathJax runs, so TeX in comments can’t create javascript: links (CVE-2026-116754). Only site code using the mathjax_config filter can loosen Safe mode’s settings.
- Use MathJax 4.1.3, loaded asynchronously from jsDelivr.
- The MathJax Configuration setting now selects a MathJax 4 component; MathJax 2 settings are mapped automatically.
- The custom location setting is now the URL of a MathJax 4 directory or component file. Self-hosted copies load fonts from the @mathjax directory next to it, as installed by npm, instead of jsDelivr.
- The mathjax_config filter now takes MathJax 4 configuration (window.MathJax); see the FAQ for examples.
- Block direct file access and fix Plugin Check issues.
1.3.13
- PHP code style fixes
1.3.12
- Use version 2.7.9 of MathJax JS
- Add code comments to all variables, functions and parameters.
1.3.11
- Use version 2.7.5 of MathJax JS
1.3.10
- Rename class files, per PHPCS
- Gracefully handle null values in filter_br_tags_on_math. Thanks to Yang Liu.
1.3.9
- Code style changes, per PHPCS 3.3.0 and WPCS 0.14.1
- Use PHP 7 short array syntax
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best MathJax-LaTeX alternatives
All latex plugins →FAQ
MathJax-LaTeX: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is MathJax-LaTeX free?
Yes. MathJax-LaTeX is free to download and use from the official WordPress.org plugin directory.
Is MathJax-LaTeX safe to use in 2026?
Yes — MathJax-LaTeX is a safe, well-maintained plugin to use in 2026. It runs on 10K+ sites, is rated 4.4/5 and was last updated 4 weeks ago, and scores 83/100 on our health check.
How many websites use MathJax-LaTeX?
MathJax-LaTeX is active on 10K+ WordPress websites and has been downloaded 192,783 times since it launched in October 2010. It was downloaded 7,746 times in the last 30 days.
Does MathJax-LaTeX work with WordPress 7.1?
Yes. The developer has tested MathJax-LaTeX up to WordPress 7.1.5, the latest release. It requires WordPress 6.3 or newer.
What PHP version does MathJax-LaTeX need?
MathJax-LaTeX requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was MathJax-LaTeX last updated?
The latest version, 1.4.1, was released on November 3, 2026 (4 weeks ago).
Who makes MathJax-LaTeX?
MathJax-LaTeX is developed and maintained by knowledgeblog.
What are the best alternatives to MathJax-LaTeX?
The most popular alternatives to MathJax-LaTeX are WP QuickLaTeX (4K+ installs), Simple Mathjax (4K+ installs) and KaTeX (2K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
