Home > Movable Type How to create printer-friendly entries in Movable Type in 6 easy steps

How to create printer-friendly entries in Movable Type in 6 easy steps

March 10, 2010Mike0 comments

This quick tutorial explains how to create printer-friendly entries and pages in Movable Type using Readability.

Step 1: Insert the following JavaScript into your template headers:

Step 2: Insert the following PHP code into your template headers (you must be publishing your pages as PHP files):

Step 3: Add the following Movable Type template markup to the headers:

Step 4: Add regex_replace="$rep","$rer" to each template tag that you want to reference the printer-friendly archives. For example, <$mt:EntryPermalink regex_replace="$rep","$rer"$>

Step 5: Create a .htaccess file if you don't have one already in the main folder of your blog and add the following lines to it:

Step 6: Republish.

  1. No comments yet.