Support » Fixing WordPress » Website not working

  • katielockwood

    (@katielockwood)


    Hi,

    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.

    Cheers,

    Katie

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

    (@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.

    katielockwood

    (@katielockwood)

    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.

    WPyogi

    (@wpyogi)

    See:

    http://codex.wordpress.org/FTP_Clients

    Where is your site hosted.

    jclark5093

    (@jclark5093)

    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.