Support » Fixing WordPress » Only Post Titles show up after switching from MT

  • Resolved turbanhead


    Just made the switch from MT and imported my MT psost to WP 1.5. I did a one click install using dreamhost and everything seems to be working well until i changed to the Blix template.

    All my posts only show up with a title on my main page:

    If you click on the title of the post, it takes you to the post page and the full post appears. What can I do to fix this?

    Since i am new here, please go gentle with me when you answer my question

Viewing 5 replies - 1 through 5 (of 5 total)
  • Sounds like you may need to change the_excerpt() to the_content() in your index file.

    Do all your posts have “–” as the excerpt?

    Yes. I’m looking at all my archived posts and only the Title of the post shows up.

    what code do i change?

    I could be wrong, but it looks like all the posts imported have a “–” in the excerpt. The problem is, on your archive page you will probably want an excerpt and not the full post.

    For now you can look in whatever pages your theme uses (usually index.php and archive.php) and change “the_excerpt()” to “the_content()”.

    A permanent solution would be to clear all your excerpts in mysql, assuming my hunch about the problem is correct (that errant “–” was placed in all your post excerpts).

    Thanks. How does one “clear all the excerpts in mysql”? (That is how do i edit that file?

    Well, assuming what I surmise is correct:
    1. back up your database
    2. back up your database
    3. back up your database
    4. In phpMyAdmin run something like this:
    update wp_posts set post_excerpt = replace(post_excerpt,’text-to replace’,’replace-with=this’)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Only Post Titles show up after switching from MT’ is closed to new replies.