• Resolved No

    (@radioman10)


    Hi.

    I have researched this issue extensively. I can’t seem to come up with a solution.

    Here is a link to my website I’m trying to establish… https://www.rzweather.com/

    Basically, I want all the posts to display on the homepage. The entire post.. Not just the words as it is now.

    I have tried to change all of the

    <p><?php echo wp_trim_words( get_the_excerpt(), 22, '...' ); ?></p>

    in the code on the homepage and index templates to this…

    <p><?php echo wp_trim_words( get_the_content(), 9999, '...' ); ?></p>

    That didn’t seem to help. Any ideas and thoughts as to what to do next would be greatly appreciated. I am trying to build a website dedicated to local weather across Alabama.

    Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • have you tried to replace the whole line:

    <p><?php echo wp_trim_words( get_the_excerpt(), 22, '...' ); ?></p>

    with:

    <?php the_content(); ?>

    Thread Starter No

    (@radioman10)

    Michael,

    Thank you for your prompt reply. I changed the code to what you suggested and that worked! Perfect.

    I greatly appreciate you taking the time to reply. Thanks again.

    Have a great day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display Entire Post on Homepage’ is closed to new replies.