• Hi,
    Currently we have a Gallery Page with all our 7k product SKUs by a local 3rd party company (they can accept API’s). In addition to that, we are developing our official website with www.remarpro.com : (not published yet).
    We are trying to figure how can we link the 2 websites headers & footers to be the same with backlinks to link back to our WordPress website. Is there an API that we could use that will link our WordPress Headers/Menu with our gallery page? It would be easier because if we want to add new product menus/change/replace, we would have to manually change it on the Gallery Page.
    Our goal : To link the headers/menu from our wordpress website to our Gallery page so that any changes in the WordPress website headers/menu can be automatically changed on our Gallery Page.

    • This topic was modified 4 years, 11 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The WP API only serves content from the DB. You can thus get current menu data through the API in the form of JSON data. There will be no formatting or styling though, it’s just the data. Similar for other header content like site title, etc. The formatting and styling would need to be recreated.

    Is the gallery page under the same domain as WP? You could embed the gallery page on a WP page as an iframe if it doesn’t have its own header and footer. You’ll run into CSP issues that need to be resolved if the domains are different. Even better would be to convert the current gallery’s code into a WP page template, then serve the gallery from within WP as its own WP page.

Viewing 1 replies (of 1 total)
  • The topic ‘Header/Footer API for secondary Website’ is closed to new replies.