Title: Bio (html missing)
Last modified: January 11, 2018

---

# Bio (html missing)

 *  Resolved [bcmans](https://wordpress.org/support/users/bcmans/)
 * (@bcmans)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/bio-html-missing/)
 * hi,
 * [https://wordpress.org/support/plugin/simple-staff-list/](https://wordpress.org/support/plugin/simple-staff-list/)
   
   Wondering why the html (like the ul) is not showing up when I use:
 *     ```
       // First we get fields from our staff member custom post type into variables
   
       global $post;
       $custom     = get_post_custom();
       $t_name         = get_the_title();
       $name_slug  = basename(get_permalink());
       $title      = $custom["_staff_member_title"][0];
       $email      = $custom["_staff_member_email"][0];
       $phone      = $custom["_staff_member_phone"][0];
       $fax        = $custom["_staff_member_fax"][0];
       $bio        = $custom["_staff_member_bio"][0];
       $prof       = $custom["_staff_member_prof"][0];
       $fb_url     = $custom["_staff_member_fb"][0];
   
       if(has_post_thumbnail()){
   
       $t_photo_url = wp_get_attachment_url( get_post_thumbnail_id() );
       $t_photo = '<img src="'.$t_photo_url.'" alt="'.$title.'" />';
       }else{
       $t_photo_url = '';
       $t_photo = '';
       }
       $email_mailto = '<a href="mailto:'.antispambot( $email ).'" title="Email '.$name.'">'.antispambot( $email ).'</a>';
       ?>   
       <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
       <header class="entry-header">
   
   
       <?php /* The loop */ ?>
       <?php while ( have_posts() ) : the_post(); ?>
   
       <h2><?php the_title(); ?></h2> <!-- This is the Standard page title -->
   
       <h3><?=$title?></h3> <!-- This is the Staff Memeber Title -->
   
       <?=$t_photo?> <!-- This is the Staff Memeber Photo -->
   
       <?=$bio?>  <!-- This is the Staff Memeber Bio --> 
   
       <?php the_content();?>
   
       <?php endwhile; ?>    
       ```
   
 * _[Moderator note: code fixed. Please wrap code in the backtick character or [use the code button](https://make.wordpress.org/support/handbook/forum-welcome/#post-code-safely).]_
 * can someone give me some direction how to solve this?
 * btw create work!
    -  This topic was modified 8 years, 3 months ago by [bcmans](https://wordpress.org/support/users/bcmans/).
    -  This topic was modified 8 years, 3 months ago by [bcmans](https://wordpress.org/support/users/bcmans/).
    -  This topic was modified 8 years, 3 months ago by [bdbrown](https://wordpress.org/support/users/bdbrown/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * (@brettshumaker)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/bio-html-missing/#post-9853571)
 * Hi [@bcmans](https://wordpress.org/support/users/bcmans/) –
    Do you have a URL
   where you’re having the issue? I would also like to know if you’re trying to 
   use that code on a single staff member page.
 * Thanks!
 *  Thread Starter [bcmans](https://wordpress.org/support/users/bcmans/)
 * (@bcmans)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/bio-html-missing/#post-9853672)
 * Thanks Brett!
 * The page is on a single staff member page
    [https://www.nelsonwaldorf.org/staff-3/](https://www.nelsonwaldorf.org/staff-3/)
 * just click on bio
 * [https://wordpress.org/support/plugin/simple-staff-list/](https://wordpress.org/support/plugin/simple-staff-list/)
 *  Thread Starter [bcmans](https://wordpress.org/support/users/bcmans/)
 * (@bcmans)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/bio-html-missing/#post-9855552)
 * I just checked again, i see that I made a mistake with not defining css for ul.
 * thanks!
 * [https://wordpress.org/support/plugin/simple-staff-list/](https://wordpress.org/support/plugin/simple-staff-list/)
 *  Thread Starter [bcmans](https://wordpress.org/support/users/bcmans/)
 * (@bcmans)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/bio-html-missing/#post-9855635)
 * working perfectly!
 * thanks
    -  This reply was modified 8 years, 3 months ago by [bcmans](https://wordpress.org/support/users/bcmans/).
 *  Plugin Author [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * (@brettshumaker)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/bio-html-missing/#post-9860022)
 * Glad you got this working!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Bio (html missing)’ is closed to new replies.

 * ![](https://ps.w.org/simple-staff-list/assets/icon-256x256.png?rev=2718196)
 * [Simple Staff List](https://wordpress.org/plugins/simple-staff-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-staff-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-staff-list/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-staff-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-staff-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-staff-list/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/bio-html-missing/#post-9860022)
 * Status: resolved