add description in questions

Solved5.79K viewsIssues
0

add brief description of the question:

1

SOLUTION ADD LINE:

<span class=”myExcerptClass”><?php the_excerpt() ?></span>

commented on answer

which file is this?

plugins\anspress-question-answer\theme\default\content-list.php

You have a code that limit words? this puts the entire question in the excerpt

With this code test:

$excerpt = get_the_excerpt();
$excerpt = substr( $excerpt , 0, 100);
echo $excerpt;

or  search “php the_excerpt() limit” in google

Sorry, my inglish is very bad! xD
regards!

You are viewing 1 out of 2 answers, click here to view all answers.