• My post contains a bulleted list. The formatting displays correctly when clicking the ‘More’ button.

    post

    However, when I click on the category ‘Service & Maintenance’, the content displayed under the title of the post does not have the correct formatting. It displays the entire content, just without the formatting.

    category

    Once again, when I click on the ‘More’ button, the post is formatted correctly.

    How do I correct the formatting?

    Also, I would like the content displayed under the title of each post to be a portion of the post as it appears on the front page as in the first link above. How do I make that happen?

    Thank you in advance for any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • your currently used theme does use the_excerpt() to show archive posts;

    change that to the_content() in loop.php

    https://codex.www.ads-software.com/Function_Reference/the_excerpt

    Thread Starter SandyMcDonald

    (@sandymcdonald)

    Thank you for the article reference. It was very informative. I’ve read several other articles on the site on the_content() and the_excerpt() functions, but this was the first that indicated that all formatting was lost when using the_excerpt().

    When I made the change, the post image appeared twice. Once as the downsized thumbnail image and again next to that as the full size image. I’m not sure if that is an Andrina theme issue or default WP.

    As a work around, I kept the_excerpt(), but made sure to place a More link in each post and page where I want the display to cut off. I think this works alright because almost always there is a short paragraph explanation prior to any formatted lists.

    Once again, Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formatting Problem with Show All Posts in a Category Page’ is closed to new replies.