custom READ MORE in Wordpress


/ Published in: PHP
Save to your folder(s)

use 'custom_more' as custom field


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.