Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Installing WordPress
    In reply to: Parse error
    Thread Starter TiffanyNeill

    (@tiffanyneill)

    Hi Alex and Anthony,

    I backed up the original version of my blog prior to the upgrade. And did the wp-config.php update. I was able to get my blog to show up again by restoring the original version, and now it’s showing a bunch of code at the top. The code looks like this:

    users’) ) return true; } return false; } ?> or closed * @param int $post_id Post ID * @return bool $open */ function _close_comments_for_old_post( $open, $post_id ) { if ( ! $open ) return $open; if ( !get_option(‘close_comments_for_old_posts’) ) return $open; $days_old = (int) get_option(‘close_comments_days_old’); if ( !$days_old ) return $open; $post = get_post($post_id); if ( time() – strtotime( $post->post_date_gmt ) > ( $days_old * 24 * 60 * 60 ) ) return false; return $open; } ?> “; } add_action(‘admin_head’, ‘dolly_css’); ?>

    How do I make that code up top go away?

    PS Thanks for responding and offering to fix the code for me!

Viewing 1 replies (of 1 total)