WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Content doubles on archives and pages

[Resolved] Content doubles on archives and pages

  • I’m running WP 2.1.3, and the fluidity3c theme. Posts show up just fine on the index page, but in the archives, and on their own pages, the content is doubled. Example URLs are:

    http://blogs.tattooeddad.com

    and

    http://blogs.tattooeddad.com/?p=39

    I know this much from troubleshooting over the last couple of days:

    It does not happen in other themes.
    It does not happen in a fresh copy of Fluidity3c.
    It must be something I’ve done.

    But using every trick I know, I can’t isolate it!

    Can anyone tell me what I should be looking for?
    All the code seems right…

    My head hurts.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Got it! After much “comment it out, and see what happens” hacking,
    I found this line to be the problem:

    <!-- code for just the titles -->
     <?php
    if ($single) {
    the_content();
    }
    else {//no content, nothing.
    }
    ?>
    <!-- end title code -->

    Now, I have no idea why, but it fixed the problem.

    Hi,

    could you tell me where to put this code?

    I have the same problem and it drives me nuts!
    If i create a new page its gone and out of nothing it doubles , quaters the content…..????

    Thanks so much for your help!!!

    I beleive those lines are in index.php (inside of your theme) and need to be removed, or simply commented out. Put <!-- at the beginning, and --> at the end. See if that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Content doubles on archives and pages’ is closed to new replies.
Skip to toolbar