WordPress.org

Ready to get started?Download WordPress

Forums

Simple Staff List
Bio information won't update (3 posts)

  1. sengelhorn
    Member
    Posted 10 months ago #

    I'm trying to update a Bio and nothing happens. I even deleted it completely and it still showed up on the website.

    alpenglowvets.com -> Hospital Staff -> Matt Booth.

    http://wordpress.org/plugins/simple-staff-list/

  2. lothsun
    Member
    Posted 10 months ago #

    The bio is shown. What is your question?

  3. sengelhorn
    Member
    Posted 10 months ago #

    It wasn't that the bio wasn't showing - it was that I could not update it. I had converted regular posts over to staff members - so they still had information in the 'content' area. I had to go into the theme functions.php and check for the custom bio field.

    [ Moderator note: please wrap code in backticks or use the code button. ]

    if (!function_exists('weaverii_the_contnt')) {
    function weaverii_the_contnt($m='') {
      $custom = get_post_custom();
    $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];
    $bio 	= $custom["_staff_member_bio"][0];
        if ((weaverii_is_checked_page_opt('wvr_raw_html') && !weaverii_sc_getopt('showposts')) || weaverii_is_checked_post_opt('wvr_raw_html')) {
            echo do_shortcode(get_the_content($m));
        } else {
    		if ($bio) {
    		   echo $bio ;
    		} else {
    	        the_content($m);
    	    }
        }
    }
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.