• Resolved mohn40x

    (@mohn40x)


    Hi,

    Im using storefront theme for my website. Everything was working great, but after using editor in WP to add a line code to a function (where I should add under child them, but did not) the WP dashboard and preview website gone white. with no error shown.
    Even if I refresh the browser still no error just a blank page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mohn40x

    (@mohn40x)

    this is the code:
    if(function_exists(‘mtr_print’)) mtr_print($Id);

    WPyogi

    (@wpyogi)

    Download a new copy of your theme and then using FTP or Cpanel (ask your hosts how to use those if you don’t know) replace the file you messed up.

    Thread Starter mohn40x

    (@mohn40x)

    after struggling and using cPanel I did manage to fix it,
    I went to the function and delete the code that I added. it worked and solved my problem.
    Thanks for the reply by the way.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘dashboard and website gone blank after adding a code’ is closed to new replies.