WordPress.org

Ready to get started?Download WordPress

Forums

Website not working (5 posts)

  1. katielockwood
    Member
    Posted 9 months ago #

    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

  2. WPyogi
    Volunteer Moderator
    Posted 9 months 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
    Member
    Posted 9 months 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
    Volunteer Moderator
    Posted 9 months ago #

    See:

    http://codex.wordpress.org/FTP_Clients

    Where is your site hosted.

  5. jclark5093
    Member
    Posted 9 months 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.

Reply

You must log in to post.

About this Topic