Support » Fixing WordPress » Help! I altered PHP and now my domain won't load.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can’t you just change it back, or did you edit the file in the built in WordPress editor. If you did, you’ll need to access your site via SSH or FTP to fix your mistake.

    Once you’ve done that, learn the lesson of never, ever live editing a site again.

    Your mistake looks to be the > at the start of your code. should be <?php echo wp_get_attachment_image( $id, $img_size, array('class' => 'slide', 'alt' => $alt ) ); ?>

    BTW, use the little ‘Code’ button to post code, as it works better for everyone 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help! I altered PHP and now my domain won't load.’ is closed to new replies.