Using reStructuredText with WordPress

by gldnspud on December 15, 2006

I just converted most of my posts to use reStructuredText, using the same plugin my old "webrog" blog used. Because I haven't seen any recent posts that make mention of this, I thought I'd post here about it in case anyone else looks for the same thing.

The only thing I had to do was edit my wp-content/themes/default/index.php file to change the text "Read the rest of this entry" in the call to the_content on line 14 to this instead:

<?php the_content('(more...)'); ?>

Alternatively, you could edit the plugin itself to better handle "more" tags within entries.

Happy reST+WordPress blogging!

Update 2007-09-08: This plugin is now a Launchpad project (see the announcement). The link above has been updated accordingly. If you are looking for a way to download the latest rest.php file containing the plugin, view the files for the project, then click the Download link on the right-hand side of the rest.php row.

{ 4 trackbacks }

Pupeno's web site
January 16, 2007 at 10:23 pm
James Gardner » Using reStructuredText with Wordpress
September 1, 2007 at 7:55 am
ROTR » reStructuredText for WordPress is now a Launchpad project
September 8, 2007 at 10:29 pm
Los, nach China! » Blog Archive » New Blog powered by WordPress & reST
January 29, 2008 at 3:32 pm

{ 2 comments }

Christof Hoeke December 19, 2006 at 1:58 pm

Great to know, I definitely try this out on my blog!

simon January 17, 2010 at 10:22 am

Hi,

Is there an advantage of using reST as compared with markdown?

Comments on this entry are closed.

Previous post:

Next post: