title: wordpress PHP theme function switch brought whole site down
body: <p>2 lines of code switched broght my whole site down. All i wanted to do was switch the excerpt length for the blog. So i switched out two lines of code inbetwen a function but then lost those lines of code on accident! This is a total disaster. I can login to wp-admin and some of the links on the site do not work.</p>
  
  <p>here are the lines of code i switched:</p>
  
  <pre><code>function avada_excerpt_length( $length ) {
  
  (this used to be two lines of short code, i remember the code $length was   somewhere in it)
  
  }
  </code></pre>
  
  <p>This is what I replaced it with</p>
  
  <pre><code>function avada_excerpt_length( $length ) {
  
  return: 55;
  
  }
  </code></pre>