Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WORDPRESS: Excerpt used for Latest Posts but does not show up on browser…

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #42791
    asiek
    Participant

    I am using a code to display Latest Posts on my static home page. The title and date work perfectly but when I try and add the_excerpt nothing appears…

    HTML// [http://cdpn.io/KdqAD](http://cdpn.io/KdqADhttp://cdpn.io/KdqAD”)

    Am I missing something?

    #124922
    chrisburton
    Participant

    @Keilowe Where is your foreach?

    Edit: Nevermind, I overlooked it. Where are you posting this excerpt?

    #124930
    asiek
    Participant

    @chrisburton I am posting it inside of a file named main.php (Static Page).

    #124945
    chrisburton
    Participant

    @Keilowe Do me a favor, instead of using `the_excerpt()`, replace that with `the_content()`. Does that work?

    #125026
    asiek
    Participant

    No :( I thought of that too, no luck.

    #125037
    chrisburton
    Participant

    That’s weird. I don’t see how you can get the titles and other dynamic content except the excerpt.

    #125622
    asiek
    Participant

    @mcjohnst Wonderful! Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Back End’ is closed to new topics and replies.