• hdemirocak

    (@hdemirocak)


    Hello, everyone,
    I am in the process of migrating an existing WordPress website to a new environment. I have copied the theme folder and all used plugins to the new environment. Pages, posts and menus are created identically. Currently I still have a problem that the header menu (created in the backend under Appearance>Menus) somehow doesn’t show up in the frontend. In the frontend the header menu shows ALL existing pages instead. On the production environment the menu created in the backend works as desired. Does anyone have an idea what this might be due to? I already made sure there aren’t any cache issues and ticked the checkbox that assigns the menu to the menu area. Theme is whiteboard framework
    Thank you and best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Joy

    (@joyously)

    When you copy the php files, you get the software, but the content and options are located in the database. The menu is part of the posts table.
    Themes often use the WP core menu fallback of a Page list, when there is no menu assigned.

    Matias Mann

    (@developress)

    Wordpress shows by default your pages as menu when no menu is created or when no menu is assigned to the menu location.

    You probably did not assign the menu to its location.
    1) Go to wp admin.
    2) Go to Appearence > Menus.
    3) Click on “Manage Locations” tab.
    4) Set your menu to the location you want.
    5) Save.

    Thread Starter hdemirocak

    (@hdemirocak)

    Thanks for your answers @joyously and @developress.
    @joyously doesn’t wordpress however write to the database when you manually create a menu in the backend?
    @developress I already made sure to assign the menu to its location.

    Matias Mann

    (@developress)

    Try activating the default theme.
    If the menu appears in the location it is a theme related issue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom Menu Header showing all pages’ is closed to new replies.