Support

Account

Home Forums General Issues Related posts with custom text Reply To: Related posts with custom text

  • 
    setup_postdata($post);
    $post_type = get_post_type($post->ID);
    switch ($post_type) {
      case 'interview':
        echo 'Read our interview';
        break;
      case 'report':
        echo 'read our report':
        break;
      // etc...
    }