WordPress.org

Forums

Lost access to dashboard (4 posts)

  1. pmjones
    Member
    Posted 3 years ago #

    I was adjusting the code in the theme funstions php file trying to remove a duplicate home page on navigation bar.
    I removed something i shouldn't of and now have no access to my website or dashboard to rectify :(

    the code i removed is:
    /**
    * Fallback for main menu
    */
    if ( ! function_exists( 'sprachkonstrukt_menu' ) ):
    function sprachkonstrukt_menu() {

    echo '<nav>

    </nav>';
    }
    endif;

    HELP PLEASE

  2. JoyceD6
    Member
    Posted 3 years ago #

    Since you know what code you removed, you can find that file through your server (through file management on cpanel or whatever way you access it) and edit the code directly there.

    I hope that helps.

  3. pmjones
    Member
    Posted 3 years ago #

    Thank you get stressed when it goes wrong and dont think straight should of thought about the hosting access.

    I am struggling to remove the extra home button on the nav bar any suggestions in the code above?

  4. pmjones
    Member
    Posted 3 years ago #

    I've done it - perseverence paid out!!!!

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.