Sha256: a357e3b26dd52f34783881d6b083b69e58285771b41a2e7e47f7c19b131396eb

Contents?: true

Size: 1.5 KB

Versions: 18

Compression:

Stored size: 1.5 KB

Contents

.. _platform-wordpress:

===============================
Installing MathJax in WordPress
===============================

These instructions assume you already have placed the MathJax files on
your server (see :ref:`Installing MathJax <installation>`).

1. Open the WordPress admin interface.

2. In the administration menu on the left, open up the `Appearance`
   menu and click on the `Editor` submenu option.
 
     .. image:: ../images/wp_menu.png
 
   When you click on the editor option, WordPress should open up the
   first stylesheet in the current theme.
 
3. In the template list on the right side of the page, click on the
   header file (it should be ``header.php``).
 
     .. image:: ../images/wp_templates.png
 
   This part depends slightly on how your current theme is written.
   In the ``header.php`` file, look for the end-of-head tag,
   ``</head>``. If you find it, insert

   .. code-block:: html

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

   just before that.  Otherwise, insert the same code at the very
   bottom of the file.  Here, ``path-to-MathJax`` should be replaced
   by the web-address of the main MathJax directory on your server,
   e.g., ``src="/mathjax/MathJax.js"``.
 
4. Save the file.  This should enable MathJax, so you should be able to
   start adding mathematical content to your pages.  Use the
   ``config/MathJas.js`` file in the MathJax directory to configure
   MathJax to your needs (see :ref:`Configuring MathJax
   <configuration>` for details).

Version data entries

18 entries across 9 versions & 3 rubygems

Version Path
amiba-1.0.2 lib/amiba/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
amiba-1.0.2 lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt
amiba-1.0.1 lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt
amiba-1.0.1 lib/amiba/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
amiba-1.0.0 lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt
amiba-1.0.0 lib/amiba/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
amiba-0.0.9 lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt
amiba-0.0.9 lib/amiba/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
gollum-1.3.1 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt
gollum-1.3.1 lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
jugyo-gollum-1.3.1 lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
jugyo-gollum-1.3.1 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt
gollum-1.2.1 lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
gollum-1.2.1 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt
gollum-1.3.0 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt
gollum-1.3.0 lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
gollum-1.2.0 lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst
gollum-1.2.0 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt