• Resolved ellebea20

    (@ellebea20)


    Help! My website is ieltsforuae.com

    Tonight I was under my dashboard copying and pasting a code I was given in order to add a header widget. Once I entered the code, I hit update and instead of reloading the screen just remained white. Now, when I try to access my website, either just on it’s own or as wp-admin, I just get a white screen with nothing on it. I tried relogging in to WordPress, but it would not accept my password all of the sudden. I reset my password, but when I login now there is no information, it’s as if I were starting all over again. I am very very worried about this!

    Below is the code I added to the functions.php file, as directed to do by the WP support forum, and it was when I added this that all the problems started.

    <?php
    /**
    * Register our sidebars and widgetized areas.
    *
    */
    function arphabet_widgets_init() {

    register_sidebar( array(
    ‘name’ => ‘Home right sidebar’,
    ‘id’ => ‘home_right_1’,
    ‘before_widget’ => ‘<div>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”rounded”>’,
    ‘after_title’ => ‘</h2>’,
    ) );

    }
    add_action( ‘widgets_init’, ‘arphabet_widgets_init’ );
    ?>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello ellebea20,
    In order to access your website, can you try to login to your CPanel Account, Open the File Manager and navigate to:

    wp-content –> themes –> [your active theme name] –> and edit the functions.php file and remove code you have added (posted above)?

    After that, you should be able to browse your site again.

    Regards,

    Thread Starter ellebea20

    (@ellebea20)

    Thank you lopwalj!! I was very worried, but all is good now. Thanks again!

    Thread Starter ellebea20

    (@ellebea20)

    Another question lopwaj,

    The code I had entered above was to add a new widget area (a header widget) to my page. After I used your solution, I did a bit more research and found a different code to try to add a widget area and the same problem happened again. Do you know why this may be happening?

    You should ask the developer of your theme about this – as these forums have no info about commercial themes so can’t really answer theme-specific questions.

    https://codex.www.ads-software.com/Forum_Welcome#Commercial_Products

    Thread Starter ellebea20

    (@ellebea20)

    Will do, thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not able to access website!’ is closed to new replies.