WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Same post is displayed no matter what URL is showing (2 posts)

  1. berchman
    Member
    Posted 7 years ago #

    Hi,
    Using WP 2.0.3 and implementing my own template. In the process of doing this I've stumbled upon the blog showing a single post (id="post-15") no matter what URL is displayed in the address bar.

    For example, in the address bar it will show—http://...?p=2

    and the post is p=15.

    This is occuring for not only every post but for every page as well.

    If I change the template from my own creation to the default things run perfectly.

    Not sure where to look within my templates. BTW, they are based off of the default template.

    Thanks

  2. berchman
    Member
    Posted 7 years ago #

    I went back through and re-did the template changing the source order.

    The call for sidebar <?php get_sidebar(); ?> needs to happen after the content.

    I was trying to place it directly after the call to the header and before the content. Apparently when this is done it wreaks havoc on the "Loop."

    So for what its worth that's the deal.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags