Employee content no line break

Hello there !

I’m finalizing a website based on your Astrid theme (great one by the way, thanks) and I can’t seem to force a line break in the content section of the employee. In the employee section, you basically have the employee title then the content, but when I try to format the text so that the content is on multiple lines, it just writes it all on one line.

Here’s a link to what I’m talking about : http://imgur.com/a/a9GaC
The numbers are written below the PROMOTION text in the visual editor, but no matter what it’ll always show it like that.

Thank you in advance.


You can try to replace <?php echo wp_trim_words( get_the_content(), 12 ); ?> string with <?php echo the_content(); ?> string in inc/framework/widgets/front-employees.php file.

However, please note that you have to override modified .php files in a child theme in order to avoid losing your modifications after theme update. Or, as an option, you can redo your changes after every theme update.

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

Kind Regards, Roman.

Thanks a lot Roman, always of great help.

Solved !

You are welcome!

And have a nice day :slight_smile:

Kind Regards, Roman.