• Resolved rozard

    (@rozard)


    Hi Support Team,
    I’m using NewsPress Lite Theme and I’m having some trouble with the front page and category page. I have a category “Poetry”, Users posting poetry to the “Poetry” category, it looks fine on that blog page. However, that post also is shown on my front page and category page the same as other categories. Problem is that poetry shows as a paragraph in category page and front-page, instead of formatted as shown on the blog page. For example, there is poetry, 5 words written on one line and 5 next lines so on, but category and the front page won’t show those lines separate it shows a whole paragraph which users won’t understand that it is a poem or just paragraph. How shows the text in the category and front page same as the blog? I’m including the links for all pages that might help. I really appreciate your help. Thank you

    Frontpage: https://www.balochpedia.com/
    Category Page: https://www.balochpedia.com/category/poetry/
    Blog Page: https://www.balochpedia.com/poetry/bidar-tao-share-wati-inana-tahir-rehman/

    Note: I have reached out to the Theme support and I got the following response.

    We are sorry but the Excerpt Formatting is generated and controlled by WordPress Core, not from the Themes. There is no direct way to do this. But it is still possible with Manual Coding.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Generated excerpts strip all the HTML tags, so that the words can be counted, and trimmed. But you can use manual excerpts, which can contain HTML tags.
    Or you can make a child theme and add a little code that treats the poetry category differently, by not stripping the tags for the excerpts.

    Thread Starter rozard

    (@rozard)

    I’m not comfortable with child theme so I installed excerpts plugin and it works. Thank you so much for your help. You have great night and stay safe. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘unformatted text in front page and Category page’ is closed to new replies.