/ Published in: PHP

use 'custom_more' as custom field
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $custommore = get_post_meta($post->ID, 'custom_more', true); ?> <?php if (!$custommore) { $custommore = 'Read More »'; } ?> <?php the_content($custommore); ?>
Comments
