• Resolved itsmebeccalee

    (@itsmebeccalee)


    Help! I am locked out of WordPress. I was working on Moving the Nav Bar to Underneath Header.

    I added this code in PHP file:

    /*move the nav bar below the header*/ remove_action(‘thesis_hook_before_header’, ‘thesis_nav_menu’);" add_action(‘thesis_hook_after_header’, ‘thesis_nav_menu’);
    /*move the nav bar below the header*/ remove_action(‘thesis_hook_before_header’, ‘thesis_nav_menu’);" add_action(‘thesis_hook_after_header’, ‘thesis_nav_menu’);

    Then immediately received an error code”Fatal error: Call to undefined function a€¨remove_action() in /home/rebber9/rebeccaberggren.com/newsite/wp-content/themes/thesis_185/custom/custom_functions.phpon line 12

Viewing 2 replies - 1 through 2 (of 2 total)
  • it is very easy to solve this i suppose

    just open ur hosts control panel

    go to file manager
    then go to /home/rebber9/rebeccaberggren.com/newsite/wp-content/themes/thesis_185/custom/custom_functions.php

    then delete 12th and 13th line(i.ethe code which u added)

    Thread Starter itsmebeccalee

    (@itsmebeccalee)

    WOW! You are awesome. Such an easy fix – and it worked!!!!! I am very appreciative of your support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Locked out of WP after changing PHP file’ is closed to new replies.