Support » Fixing WordPress » Website not working

  • katielockwood



    My website is no longer working. I cannot access the back end either.

    I spoke to the Visual Composer plugin support team and put in the following code into the custome-functions.php file:

    function custom_excerpt_length( $length ) {
    return 10; /* Words count */
    add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );

    After this the website was not working and I could no longer access the admin panel.

    What can I do to fix this?

    Please help.



Viewing 4 replies - 1 through 4 (of 4 total)
  • WPyogi


    custome-functions.php file:

    Where is that file? You’ll need to use FTP or Cpanel to access your site files on the server and remove that code.



    What is FTP or Cpanel?

    The file is in the admin panel, the back end, of the website.

    I cannot access it to remove the code.




    Where is your site hosted.



    you need to go through your host’s control panel (many use CPanel, some use V-Deck, there are others.)

    If you don’t use a control panel, use an FTP client to remotely access the files on your hosted server.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Website not working’ is closed to new replies.