WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. SandyMcDonald
    Member
    Posted 1 year ago #

    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.

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

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

    change that to the_content() in loop.php

    http://codex.wordpress.org/Function_Reference/the_excerpt

  3. SandyMcDonald
    Member
    Posted 1 year 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