Posted By

screamwork on 07/20/10


Tagged

wordpress


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

athanassiadis
laurentzziu


custom READ MORE in Wordpress


 / Published in: PHP
 

use 'custom_more' as custom field

  1. <?php $custommore = get_post_meta($post->ID, 'custom_more', true); ?>
  2. <?php if (!$custommore) { $custommore = 'Read More &raquo;'; } ?>
  3. <?php the_content($custommore); ?>

Report this snippet  

You need to login to post a comment.