Show full text under services

Hi there,

At the moment, the text under each service only shows a snippet of text. How can I change this to show the full text?

Also, is this easier to do in the Pro version of the theme?

Hello @oneaegis,

I don’t think that it’s easier to modify with Astrid Pro. Please try to do the following. Go to your public_html/wp-content/themes/astrid/inc/framework/widgets folder via SFTP or cPanel, open front-services.php file with a text editor and replace this string on 132nd row:

<?php echo wp_trim_words( get_the_content(), 12 ); ?>

…with this:

<?php echo get_the_content(); ?>

Please note that you have to override modified .php file in a child theme in order to avoid losing your modification after theme update. You can do it just by copying front-services.php file into your child theme folder using the same path. So you should get something like public_html/wp-content/themes/astrid-child/inc/framework/widgets/front-services.php. Just replace astrid-child with your own child theme slug.

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Cool, thank you!

You are welcome @oneaegis! :slight_smile:

Kind Regards, Roman.