• Resolved ashleyliu31

    (@ashleyliu31)


    Hello,
    The custom field entries, when shown as excerpts or search results, don’t have breaks or space in between and are awkwardly connected immediately. In the screenshot below, you can see in the search results the 2 custom fields (“School” and “Department”) are connected without any space or line break.
    How can I add a line break between custom field entries? Thanks
    Screenshot link:
    https://ibb.co/jUSpdQ
    screenshot

    • This topic was modified 7 years, 5 months ago by ashleyliu31.
Viewing 1 replies (of 1 total)
  • Thread Starter ashleyliu31

    (@ashleyliu31)

    if anyone is interested, i solved the issue by customizing the search.php and content.php files into displaying search results’ content rather than excerpt. the problem is caused by my theme (and most theme)’s default setting to display search results’ excerpt. when you change it to display content, the line breaks are normal like how it displays in the post

Viewing 1 replies (of 1 total)
  • The topic ‘Custom field entries are not separated with breaks’ is closed to new replies.