trim quotes on why-i-left template
This commit is contained in:
parent
d516cfa6d7
commit
7d05742213
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ get_header();
|
|||
// answer
|
||||
$the_answers .= '<div class="answer answer-' . $userid . '">';
|
||||
$the_answers .= '<blockquote>';
|
||||
$the_answers .= wp_kses_post( get_field( 'why_i_left', 'user_' . $userid ) );
|
||||
$the_answers .= wp_trim_words( get_field( 'why_i_left', 'user_' . $userid ), 120, '…' );
|
||||
$the_answers .= '</blockquote>';
|
||||
|
||||
// user attribution - photo and name and link (only if they want to be listed in directory)
|
||||
|
|
Loading…
Reference in a new issue