• Resolved missmikado

    (@missmikado)


    Hi!

    Is there a way to have line breaks and formatting in the post excerpts of the grid? I tried to format the text with <strong>…</strong> and <br>, but nothing is happening. Would be very useful for me.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YMC

    (@wssoffice21)

    Hello! You can create a custom layout and display the necessary information inside each post, including an excerpt from the text. Example:

    add_filter('ymc_post_custom_layout_545_1', 'my_custom_post_layout', 10, 5);

    Refer to the plugin documentation

    https://github.com/YMC-22/smart-filter

    • This reply was modified 1 year, 2 months ago by YMC.
    • This reply was modified 1 year, 2 months ago by YMC.
    Thread Starter missmikado

    (@missmikado)

    Hi!

    thanks for your answer. I understand, that I can arrange the parts of the grid like i need it. But the excerpt is still unformatted. Line breaks and bold font weights are still not shown.

    I know, that WordPress doesn’t necessary have the option of formatted excerpts, but it can be achieved by a plugin or filter code. But both options don’t work with the excerpt in your plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Line break in excerpt’ is closed to new replies.