add description in questions

Solved5.87K 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!

0

Do number 1 http://smallenvelop.com/limit-post-excerpt-length-in-wordpress/
then add the echo code

commented on answer

i noticed urls don’t link btw