WordPress.org

Ready to get started?Download WordPress

Forums

After Hack Posts & Pages Don't Display, Despite Intact Data In Admin & Database? (4 posts)

  1. Mike Shupp
    Member
    Posted 3 years ago #

    WordPress 3.1.3
    Thesis Theme 1.8.1

    My site was recently hacked by some Indonesia BlackHat Team according to the splash page they installed.

    After identifying and fixing a tampered-with file (an index.php within the Thesis theme folder) and having the hosting provider restore the database (which had become inaccessible after the hack), and reinstalling WP once, the site appeared to be back up, working correctly -- all data in the WP dashboard admin appeared to be present and correct, and phpmyadmin displayed the database with all data, posts, pages, appearing to be intact.

    However, when the website displays live, all posts and pages appear to be truncated at around roughly 200 or so characters, with no images, links or shortcodes being rendered... just those initial text characters. Sidebars, Headers, Footers, Widgets seem unaffected and displaying properly.

    Any ideas what is causing this? Thanks for any insights -Mike

  2. stvwlf
    Member
    Posted 3 years ago #

    That sounds like your templates are displaying post and page excerpts rather than full content. Excerpts strip out images links and shortcodes.

    Check your Thesis settings page to see if you have it set to only display summary content. If so change to full content.

    And also check the custom_functions.php file to see if any function is overriding the inclusion of full content.

  3. Mike Shupp
    Member
    Posted 3 years ago #

    Well, I checked the Thesis theme settings for excerpts vs. full content display, and they were set correctly as preferred to full content... I also tried removing the contents of the custom_functions.php file, but to no avail, the behavior of posts and pages not displaying correctly still persists...

  4. stvwlf
    Member
    Posted 3 years ago #

    You may want to download and reinstall the Thesis theme again, in case any corruption took place. Assume you now have full backups so just overwrite. Do keep a copy of custom.css and custom_functions.php before you overwrite the rest of the files.

Topic Closed

This topic has been closed to new replies.

About this Topic