This topic has 4 replies, 2 voices, and was last updated 8 years by chrisjones87.
-
Author
-
February 1, 2016 at 23:07 #101648chrisjones87Participant
Hey how you all doing 🙂 ?
i am having some difficulty with this post grid in visual composer. it seems to take up all the description in the grid,
is their a way i can shorten this or something, looks great im sure the description can be shorten to a maximum words.
please see. attached
Thank you for your kind help and continued support on this forum, really inspiring keep up the great works 🙂
Attachments:
You must be logged in to view attached files.February 1, 2016 at 23:14 #101653chrisjones87Participanthey i found this on another forum would this work ?
add_filter(‘avf_postgrid_excerpt_length’,’avf_postgrid_excerpt_length_mod’, 10, 1);
function avf_postgrid_excerpt_length_mod($length)
{
$length = 20;
return $length;
}http://www.kriesi.at/support/topic/excerpt-length-for-custom-excerpt-on-post-grid-post-slider/
February 2, 2016 at 15:17 #101712sharmstrModeratorThere’s nothing special. Use the standard WP way of control excerpt length.
COPY CODEfunction custom_excerpt_length( $length ) { return 20; } add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 2, 2016 at 15:17 #101713sharmstrModeratorMoving this topic because its not a bug.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.