Pages are all displaying the recently created Page instead of its own content (1 post)

  1. abbinshaieg
    Posted 4 years ago #


    For my website (not blog) all my pages and posts are displaying only the content of the recently created page rather than it's own content. For example: if I click on "Our Story" I see the content for "Contact Us" (which was the last page I created). This is also affecting posts - the content from the lastly created page is displaying where the post's content should be displaying.

    Keep in mind the Title of each page and post is displaying properly -- it's just the content that's not displaying.

    Here is the code from my page.php and single.php file:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Any help is appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic