• Resolved thecreativeblock

    (@thecreativeblock)


    We use the free version of Team Builder. We had html code in the small description for each team member (line breaks, phone number links, email links) and it worked fine. After recently updating to 1.5.8, all the html code disappeared. Not only is it not visible when the page is displayed, but the code is missing in the back end. Do you no longer allow html in the description?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @thecreativeblock

    Please follow the instruction below:

    Step 1: Go to plugin > plugin editor in the top right corner select the team builder from the “select plugin to edit” dropdown

    Step 2: Then go to ink > admin > data-post > team-save-data.php

    line no. 14

    the replace this,

    $mb_desc = stripslashes(wp_kses_post($_POST['mb_desc'][$i]));

    by this,

    $mb_desc = stripslashes($_POST['mb_desc'][$i]);

    Step 3: Then go to the template and then the design you use go to their index.php file

    line no. 82

    And replace this,

    <?php if($mb_desc!="") { ?><p class="wpsm_team_2_b_desc"> <?php echo wp_kses_post($mb_desc); ?> </p> <?php } ?>
    by this,
    <?php if($mb_desc!="") { ?><p class="wpsm_team_2_b_desc"> <?php echo $mb_desc; ?> </p> <?php } ?>

    if it works let us know

    Thank you

Viewing 1 replies (of 1 total)

The topic ‘Lost HTML code’ is closed to new replies.