Support » Fixing WordPress » Help! Post content has disappeared

  • Resolved jabecker

    (@jabecker)


    I’m not sure what I did. It must have been something stupid.
    Everything appears to be working, but the post content text no longer appears. All I get is a [br /] tag. It doesn’t matter if I’m on the main page or one of the archive pages. No text.
    What I changed today:
    I have had the cg-amazon plugin installed and activated for a long time. Last week I installed and activated the rp-plugin-recent-links plugin. Today I wanted to add an amazon link, but when I logged in to the admin page the link to the cg-amazon admin page was gone. So I deactivated the plugin and reactivated it, thinking that would fix things.
    Instead, my post content went bye-bye.
    The text is there in the database. I can edit the post and see the text. It just doesn’t appear on any page.
    HELP! Both of my readers are probably disappointed that they can’t see my scintillating and witty text. 😉
    oh, yeah… site: http://www.persistentillusion.com
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • In your index.php, are you sure the following is there:
    <?php the_content() ?>
    Also, is it properly located in the Loop?

    Thanks for answering.
    Yes, it’s there and it’s in the loop. I didn’t make any changes to index.php.
    It’s true that my index.php is a bit hacked up, so to test it I uploaded a standard WP index.php. The post text still doesn’t show.
    I tried uploading all of WP again to a different directory in my site. The post text shows there. You can see it at:
    http://www.persistentillusion.com/testbed/index.php
    It has to be something besides index.php but I can’t find anything that changed today.
    How is the post text pulled in to the page? Maybe I need to look at replacing those functions. I don’t want to do a wholesale replace everything because I have a lot of customized stuff.
    Thanks again!

    Alternative to grab post
    http://wiki.wordpress.org/get_posts

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.