php truncate_post


I have made alot of changes to a theme I bought, but I know almost no php. At the moment my page has just text from a post with the php truncate_post() method. It is just text with out the possibility to formating it.

At first I just put the correct HTML formated text in the entry.php, but I need to make the page multilingual so I cant use that method. I also tried to define the HTML to be a string, so I could translate it in WPML string translator, but it didn’t work.

What would be the easyest way for me to achieve what I’m looking for(probably just an eazy php method I just dont know)

my page is

Thank you in advance! :slight_smile:

The easiest way to achieve the formatting you are looking for is to use a plugin like Advanced Custom Fields (ACF). ACF allows you to create custom fields with specific formatting, such as bold, italic, and more. You can then use these fields to add formatting to your content in the post editor. This way, you can easily make your content multilingual.

Sponsor our Newsletter | Privacy Policy | Terms of Service