Mobile app version of vmapp.org
Login or Join
Alves908

: Is it possible to use a common menu across two websites by importing it from the first to the second? We pay a service to host both our website and our blog. The blog is on the WordPress

@Alves908

Posted in: #Copyright #Menu #Php

We pay a service to host both our website and our blog. The blog is on the WordPress platform. Both sites are designed to look similar (as best we could) since they are our company websites. The web developer of our main portfolio site has done a wonderful job. I would like the menu from our main site to appear exactly the same on our WP site so that everything appears continuous. Both are hosted on the same server, but I don't think they are in the same location. Is there a way to capture the menu from our main site and display that on our WP blog?

Do I need to get the style sheet and code for the menu? Is it possible to have it automatically take those parts from our main site so that if we update the menu on our main site, it automatically changes on the blog? Keep in mind, they are technically separate domains (from what I understand).

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

1 Comments

Sorted by latest first Latest Oldest Best

 

@Odierno851

You can use external stylesheet to inherit same design, on multiple website.

<LINK href="/path/menu-style.css" rel="stylesheet" type="text/css">



Copy your menu-style design into one css file, and named it menu-style.css.
Host menu-style.css file in your server ex. domain.com/path/menu-style.css
Add external style sheet link (Above code), to wordpress head section.
Change WordPress menu class name to external stylesheet class name.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme