Website not working (5 posts)

  1. katielockwood
    Posted 1 year ago #


    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.



  2. WPyogi
    Forum Moderator
    Posted 1 year ago #

    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.

  3. katielockwood
    Posted 1 year ago #

    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.

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #



    Where is your site hosted.

  5. jclark5093
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic