SpiceThemes Support Forum
Home news section excerpt Length
By some reason the exverpt lengt is not the same in the Home news section. Any way I can controle this?
Screenshot 2020-08-26 at 10.17.29.png
2380 x 1574
edited August 27
Thanks for contacting to us. Actually this is happening bz word size is different .
Any way I trying to manage this case, Follow the given below instruction.
file located in your theme folder >> inc folder >> home-section
folder >> find the file.
Open it and find the below line of code on line no 49.
And replace the code of it with the code of below line.
$my_string = get_the_content();;
echo implode(' ', array_slice(explode(' ', $my_string), 0,
Change word length value
as your need.
Let me know for any confusion.
Did the above solution work for you ?