Location of removal code for the Service widget


Which one of files should I put this code in the child theme? function.php?

Also, how can I show the whole sentence in the Service widget?


Hello @surfer,

Did you try to use this plugin?

Kind Regards, Roman.

Hi Roman,

I was wondering if there is a way to insert that code in the child so I could keep my plugin list minimum and simple.

Anyway, I just installed the plugin, it’s very simple and it works fine.

Now, my short service descriptions are cut short. How can I show them under the Service titles?


I found this post,

will let you know how it goes.

Hi Surfer,

I have the same issue. I would like to show the full content in the service widget, but still no results.
I’m curious how you solved the problem!


I’m actually trying to show the entire text under the header in the Service and followed these posts,

I created those folders and copied the front-service.php into the astrid-child/inc/framework/widgets. Does this code remove the whole text instead of showing? The whole text disappeared,
<?php get_the_content(); ?>

Right now I inserted this code to show it but every time I write more I have to increase the limit,
<?php echo wp_trim_words( get_the_content(), 200); ?>

Is there a piece of code without the limit?

Hello @surfer,

You can try to replace 200 with something like 99999 in order to make the limit very large, so it won’t be reached.

Kind Regards, Roman.

Thank you for your help, I will do it.

You are welcome @surfer!

Kind Regards, Roman.