• Resolved csahab

    (@csahab)


    I am new in this and put jetpack related code wrongly.

    function jetpackme_more_related_posts( $options ) {
    $options[‘size’] = 6;
    return $options;
    }
    add_filter( ‘jetpack_relatedposts_filter_options’, ‘jetpackme_more_related_posts’ );

    afetr that my website is not working. can you help me restoring my website.
    After so much googleing get into Cpanel. can you tell which file i have to replace or edit ? Thanks

    https://www.ads-software.com/plugins/functionality/

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Once you have access to your website’s filesystem, you need to navigate to the wp-content/plugins directory and remove or rename the functions.php file.

    When you login to the WordPress admin after doing this, WordPress will notice the plugin is ‘missing’ and deactivate it. Now you should be able to edit the file and fix the error.

Viewing 1 replies (of 1 total)
  • The topic ‘messed up my functions.php file and can't access my site.’ is closed to new replies.