DEV Community

Discussion on: Setup Menu Navigation - Guide to Gatsby WordPress Starter Advanced with Previews, i18n and more

Collapse
 
arielnt1993 profile image
Ariel Navarro

Hi, first of all thanks for this series (I had no idea I could fetch the pages and post in a recursive way). Right now I have 2 menus PRIMARY and PRIMARY__ES (the translated version) how can I fetch that? do I have to create two files menu.js and menuEs.js? or I can do that from the same file? I also have two footers, and I guess it would the same process as with the menu. thanks in advance!!!