• SOS
    I tried adding the following to my functions.php of my custom theme in hopes of moving the position of my primary menu to the top of my webpage:

    <?php
    //* Do NOT include the opening php tag

    //* Reposition the primary navigation menu
    remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
    add_action( ‘genesis_before_header’, ‘genesis_do_nav’ );

    After I added it, my whole wordpress just disappeared! All I see is a white webpage!

    I am still new to custom coding (clearly) and have no idea how to undo my mistake HELP!

Viewing 5 replies - 1 through 5 (of 5 total)
  • I…have no idea how to undo my mistake…

    Rule #1: Never panic;
    Rule #2: Restore the file to what it had been prior to the crash.

    Thread Starter Wanderlust of Wellness

    (@wanderlust-of-wellness)

    how do i do that? It won’t even give me access to my dashboard

    how do i do that? It won’t even give me access to my dashboard

    Use your FTP client or the file manager located in your hosts control panel.

    Thread Starter Wanderlust of Wellness

    (@wanderlust-of-wellness)

    okay this is what i have done so far
    >went to Bluehost page
    >went to ftp accounts
    >downloaded my FTP Configuration File
    >imported file into Filezilla

    im not sure what exactly i should be looking for in filezilla.
    i use a mac, is it okay to use filezilla as opposed to cyberduck?

    I tried adding the following to my functions.php of my custom theme…

    How did you do that? Using that same method to again access that file, or using either FileZilla or the BlueHost cPanel File Manager, go to what is likely /public_html/wp-content/themes/ and find the folder for whatever theme has the functions.php you had edited and replace that edited file with an original.

    If that does not work, go to what is likely /public_html/wp-content/themes/ and re-name the folder of the theme you had been running to deactivate it and then WordPress should automatically activate a default WordPress Twenty-Something theme if there is one there. After that, you can even delete and replace the entire theme you had been running by re-uploading it or any other theme right there into what is likely /public_html/wp-content/themes/ and WordPress will show it available at your Dashboard after your next browser refresh there.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help Where Is My WordPress?’ is closed to new replies.