Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7735

Register footer menus as theme locations

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Should have Should have
    • 3.1.1
    • 3
    • Admin Panel, Navigation

      Summary

      Currently, the menus in the footer (Footer Primary, Footer Secondary, Social) are only defined by naming convention. That doesn't work for multilingual setups because menu names are unique and menus that work with the master theme can not be created in more than one language at a time. Registering the menu as theme locations enabled the use of WordPress admin to select what menus to show in the footer, independent of menu names.

      Requirements

      • Register footer menus so they are available as positions in WordPress admin.
      • If no menu is set for the location, the old naming convention is still in use to ensure backwards compatibility.

      Resources

            contributor Community Contributor
            nroussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: