最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

rest api - Reuse a custom WordPress menu on another WordPress website

programmeradmin2浏览0评论

My WordPress website consists of two separate WordPress installs (one lives in a subdirectory). From a visitor's perspective it feels like one single website. To achieve this I had to manually replicate the navigation menu of install A in install B.

Since we have a lot of changes on our website, we are looking for a solution that reads the custom menu from install A (preferrably over the REST API) and displays it as a custom menu in install B. Is there a way to achieve this easily?

发布评论

评论列表(0)

  1. 暂无评论