Full blog post content and formatting

Home Forums All Other Themes Full blog post content and formatting

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31556
    NancyNancy
    Participant
    • Topics: 4
    • Replies: 0
    • Total: 4
    Member since: March 1, 2016

    Hi, I am hoping you can help me figure this out… SKT IT CONSULTANT theme.
    When I click on my blog from my home page the posts do not have any formatting! If i click on Read More it shows the full post with my formatting.
    How can I change it so that from the home page the blog shows full content of each post WITH the formatting I used when writing the post?

    Site is http://soulletters.org
    I cannot give you my admin details so this needs to be resolved on my end not yours.
    Thanks for your help

    #31603
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31028
    • Total: 31028
    Member since: August 16, 2013

    Hi Nancy,

    Kindly go to content.php and find this code

    <p><?php echo wp_trim_words( get_the_content(), of_get_option('blogpostpagecontent'), '...' ); ?></p>
                <p class="read-more"><a href="<?php the_permalink(); ?>"><?php echo of_get_option('readmoretext'); ?> &rarr;</a></p>

    And replace it with this code:

    <?php the_content(); ?>

    Regards,
    Brad

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.