WordPress.org

Support

Support » How-To and Troubleshooting » WordPress is truncating my posts

WordPress is truncating my posts

  • blackpresence

    @blackpresence

    I noticed a problem the other dray after getting a message from a few of my subscribers. they told me that wp was not letting them post their articles.

    I took a look and althouh it was letting me make new posts of aa few lines…if the post had say more than 10 lines of txt it was truncating it.

    Only a small portion of the post would appear. even though it was all there in the editor.

    Furthermore when trying to edit the files the posts woouldn’t update taking me to wp-admin/post.php and just showing a blank page…and no update to the blog.

    I have disabled all plugins and reinstalled wp…but its still the same?????

    Ideas on a postcard?

Viewing 15 replies - 1 through 15 (of 27 total)
  • Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Are you using the_excerpt() instead of the_content() in your theme?

    blackpresence

    @blackpresence

    hmm dunno otto..where would I look to know?

    Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Well, since I did say “in your theme”, then I would expect you start there.

    The theme controls what your page looks like and what the output of it is. You have to go to the theme’s code to control what’s on the page.

    It might also help people if you gave more information. Like, what’s your web site’s URL, or what is the theme that you are using? Things like that make a difference.

    blackpresence

    @blackpresence

    Yeah you did..but I cant see anything.

    http://www.blackpresence.co.uk

    I deleted all wordpress files and then uploaded again. all the back end is there but the homepage has disappeared now. Just tried making a post through the dash board truncation seems to be fixed…but how do i get my homepage back.

    Theme is called Simplex.

    Thanks

    esmi

    @esmi

    Forum Moderator

    There’s absolutely nothing being displayed on your site at the moment. Perhaps you didn’t upload all of the WordPress files? Assuming that you have Admin access, have you tried switching to the default theme?

    blackpresence

    @blackpresence

    yeah i have ….for some reason the themes section in the dashboard seems broken. should i reupload?

    blackpresence

    @blackpresence

    the dashboard is working fine though apart from plugins and thems

    blackpresence

    @blackpresence

    Ok I have gotten the site working again..but the posts are still truncating!! Someone must have some kind of idea….However I just dont know how to ask for specific help because I don’t know where to look.

    All I can tell you is that it was letting me make new posts of a few lines…if the post had say more than 10 lines of txt it was truncating it.

    Only a small portion of the post would appear. even though it was all there in the editor.

    Furthermore when trying to edit the files the posts wouldn’t update..it was taking me to wp-admin/post.php and just showing a blank page…and when i refreshed…no update to the blog.

    Moderator Mark Ratledge

    @songdogtech

    Forum Moderator

    I don’t know why you’re getting a blank page when you edit and refesh, but clear your cache to begin with.

    To fix the truncated posts on your site, edit index.php in WP admin/appearance/editor. Replace the_excerpt() with the_content()

    esmi

    @esmi

    Forum Moderator

    With regard to the truncated posts, can you place a copy of your theme’s index.php file into the WordPress pastebin and post the pastebin link here?

    The blank page when editing is probably unrelated and could be theme-specific or caused by a plugin. You could try:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-related problems.

    blackpresence

    @blackpresence

    Ok I did that…something weird going n for sure

    I copy and pasted a whoole article and posted it using the default theme…it worked fine..all plugins disabled. then i did the same using simplex theme…same theme i have always used…and it truncates.

    here is the php pastebin file.
    http://wordpress.pastebin.ca/1586483

    Thanks for your help on this guys

    As otto42 already suggested, you are using the_excerpt not the_content.

    blackpresence

    @blackpresence

    sorry but I still dont know what you mean..can you spell it out as though you were talking to a child please…I am new to this and dont know which commant to put where

    blackpresence

    @blackpresence

    ahhh Gotcha now..sorry to be so dumb…how did this happen then? I certainly didnt make any changes…Weird. thanks.

    blackpresence

    @blackpresence

    Ok it just got weirder…..here is the problem.

    If I write a post into the text box it shows it fine….I can write very large posts using copy and past…
    eg http://www.blackpresence.co.uk/2009/09/blah/

    however if I copy and past even one paragraph from a word document into the text box it will not update …it times out.

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘WordPress is truncating my posts’ is closed to new replies.