Return to Snippet

Revision: 21996
at December 28, 2009 11:34 by mdrisser

Initial Code
// Edit index.php, replace the_content("Read more"); with the following code
<?php $custommore = get_post_meta($post->ID, 'custom_more', true); ?>
<?php if (!$custommore) { $custommore = 'Read More &raquo;'; } ?>
<?php the_content($custommore); ?>

Initial URL

Initial Description
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"

Initial Title
Wordpress - Custom “Read More” Links for Your Posts

Initial Tags

Initial Language