If you do this with pages, you will either have to make two pages, or you can put it in the same page and only show the content of restaurant B when you click a button or link (for instance). This can be done with jQuery, for example. In the latter case you will have the same URL for the page.
There are many ways to go at this. You could also make parent pages “Restaurant A” and “Restaurant B” and have different sets of child pages with the same name. That way you will have a URL like:
/restaurant-a/salads
and
/restaurant-b/salads
Related Posts:
- wp_nav_menu: show menu only if one exists, otherwise show nothing
- How to get IDs for objects in menu branch?
- Add child pages automatically to nav menu
- Automatically remove trashed pages from nav menu
- Directing a page to a default subpage
- Can you have different menus and theme on a per-page basis?
- List children of second level sub page
- How to make pages metabox display all hierarchy in menu admin?
- How to get current page menu item name instead of full menu item list
- Hide pages depending on role
- Get parent page/menu id of current post
- How to retrieve depth of menu into template
- Change menu items URL
- Different side menu on each page
- Output menu navigation in php file
- Remove Page Name From WordPress Menu
- Hiding Menu From Specific Pages
- Getting post content within wp_nav_walker
- wp_list_pages sort order is different for different languages [closed]
- list pages only from master parent
- wp_list_pages: only show subpages on the parent page?
- Does loading of sub pages in menu cause load to the server?
- WordPress menu permalink redirects to wrong page
- Link to Homepage in Menu
- Schedule Page to Menu [duplicate]
- wp_list_pages() but only show children on the branch you are on
- Check if Page Already Exists in Menu
- Programmatically add existing pages and subpages to Appearance Menu
- How to retrieve parent menu item name of current submenu item
- two different separate sections on the same site
- How to make the Primary Menu stay the same in the PC and mobile versions of the Twenty Sixteen theme
- Ad custom admin page like WordPress customizer [closed]
- Change submenu markup
- How to modify wp-includes without messing my wordpress installation?
- Displaying different page links on different pages
- Create custom page and add it in nav menu by code
- Does is_child() exist in wp 3.5.1?
- WordPress template – How to add class to li tag if submenu exist
- wp_list_pages sort order by custom nav menu order
- How to highlight 1st level menu item based on actual page
- How can template identify what page it’s being used on?
- Prevent menu from loading in a page template [duplicate]
- Add a submenu to wp_nav_menu
- How to create a menu item which is not a page
- How can I make a menu link visible only to admins (without plugins)?
- How to add a page to header that is outside of WordPress?
- How to Structure Pages and Subpages
- Highlighting top level link when viewing one of it’s sub-pages, which are not linked in the menu
- Three menus – parent / child / sibling
- Automatically going to the first page in a hierarchy?
- Add (grand)child pages automatically to nav menu
- how avoid the link of the current post in the menu in the sidebar?
- Disable parent in wp_list_pages – WordPress
- Page appears after de registering from menu
- Get parents child pages
- How to add search to menu?
- Dynamic menu wp_list_pages displaying only current branch including: current page, his siblings and its childs
- wp_nav_menu without menu or theme_location specified
- I can’t add more pages to menu – menu delete pages
- wp_list_pages Hierarchical Help
- Parent Page > Child Page Menu
- Making pages in a menu appear conditionally
- Add pages content to startpage through custom menu
- add_menu_page does not render the expected result
- Main menu navigation links and new pages
- Page header menu links change
- Catagorized hierarchy menu for PAGES!
- How to show pages in menu without link
- Add a menu metabox to post edit page
- Setting or plugin for showing submenus horizontally under the main menu, and keep them after selection
- Page dependent sub-menu?
- How can I remove the navigation menu from a Page that is not on the menu?
- Add prefix to url, but products not showing in page SHOP
- adding pages in underscores.me theme
- Is it all right to put the whole tag into template_part file?
- How to get the Page Name of the current page?
- Create link/button to create new post using specific template
- Add CSS Class to WordPress Menu Item Dependent on the Page the User is Visiting
- How can I order these pages in this navigation bar on this old wordpress theme?
- WP pages content is missing in frontend
- Unable to remove page from primary menu
- how to create pages and link them to a menu
- How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?
- Any simple way to show 10 previous pages by id to current page in links as a menu
- How to add class and span to
- Specific Page that convert Hyperlink to anchor in nav menu
- WordPress – Apperance > Menu
- Two pages named the same thing, on a different level but conflicting url paths in menus and direct links
- wp_nav_menu doesn’t show on index page
- Setting up menus before making a template live
- Site with all content on the front page
- Adding Pages to Menus – No Page Hierarchy in Backend [duplicate]
- Some informations about the use of statics pages in WordPress
- How can I make this process automatic?
- my theme automatically adds new pages to menu
- how can i get the page_ID in nav li [closed]
- How does WP knows which template to use for a page
- Problems with draft website pages
- Add a page to a subscribers account
- Control page access based on User Meta data?