Support » Fixing WordPress » Broke website trying to exclude pages – help?

  • Resolved vonhayek


    I tried to not have 600 pages showing up in tabs (an absolutely silly thing to not include in the software imo) and I was following this guidance:

    Now, my website is completely down and non-functional and I cannot get it back up. Indeed, if I were to log out now I wouldn’t even be able to get back to even attempt to fix it.

    I just won’t close the editor page until this is figured out I guess.
    Here is where I made the change and what it looks like now:

    Theme Functions (functions.php)
    $menu .= str_replace( array( “\r”, “\n”, “\t” ), ”, $options[‘top_category_menu’]? wp_list_categories($list_args) : wp_list_pages($list_args));

    if ( $menu )
    $menu = ‘<div class=”‘ . esc_attr($args[‘menu_class’]) . ‘”>’ . ‘

      ‘ . $menu . ‘

    ‘ . ‘</div>’;

    As far as I can tell it has been put back to exactly how it was before I tried changing it. But clearly something got messed up.

    Please help me I’m desperate here!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Broke website trying to exclude pages – help?’ is closed to new replies.