Support » Plugins » Custom field for each post

  • I am looking for aplugin that allows me to have a custom tekst on the <!-more->-tag. Not just change it, but have the possibility to set the text for each post.

    Anyone know of a plugin that allows me to do that?

Viewing 1 replies (of 1 total)
  • Well if you don’t find a plugin you could use this in your theme’s apppropriate template file:

    $moretext = get_post_meta($post->ID, 'more_text', true);
    if ( ! $moretext ) {
    $moretext = 'Read the rest of this entry &raquo;';

    Just create a custom field called more_text on the posts where you want a specific “more”. If there is no custom field call “more_text” then the code will cause 'Read the rest of this entry &raquo;'; to be used.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom field for each post’ is closed to new replies.