• Resolved DAZDOREY

    (@dazdorey)


    SOME ONE PLEASE SAVE ME!

    I got this code from this forum:
    https://www.ads-software.com/support/topic/custom-menu-in-twentyten-footer-horizontally?replies=4

    My website www,thewowshowcase.com
    I opened the “function.php” and placed in this code

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    / This theme uses wp_nav_menu() in one location.
    	register_nav_menus( array(
    		'primary' => __( 'Primary Navigation', 'twentyten' ),
    		'secondary' => __( 'Secondary Navigation', 'twentyten'),
    	) );

    and my entire website is blank.
    OMG Please help me!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Log into your host and use their supplied FTP program (or download and use FileZilla).

    Download functions.php to your computer.

    Edit with Notepad++ to remove the changes you made.

    Upload the file back to your site.

    When you make these kinds of changes with the WordPress editor, you better be comfortable getting yourself out of trouble. I rarely use that editor. I would always recommend making a backup of the file you are messing with in case you have a problem.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Also it looks like you’ve not created a child theme, just copied over the files to wp-content/themes/twentyten-child and that’s not really good…

    Try following the instructions in this link.

    https://codex.www.ads-software.com/Child_Themes

    It’s a little more work, but at the end you’ll have a supportable WordPress installation. Right now that’s probably a mess.

    Thread Starter DAZDOREY

    (@dazdorey)

    THANK YOU SOOOOO MUCH.

    Blue Host also helped me!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HELP!!! Entire Website has vanished’ is closed to new replies.