Formatting Problem with Show All Posts in a Category Page (3 posts)

  1. SandyMcDonald
    Posted 3 years ago #

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


    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.


    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.

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    your currently used theme does use the_excerpt() to show archive posts;

    change that to the_content() in loop.php


  3. SandyMcDonald
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic